/* Import base styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #e74c3c;
    --secondary: #c0392b;
    --accent: #f39c12;
    --accent-dark: #d68910;
    --oil-gold: #f1c40f;
    --canvas: #fdf9e8;
    --light: #fdf6e3;
    --dark: #2c3e50;
    --gray: #7f8c8d;
    --light-gray: #ecf0f1;
    --white: #ffffff;
    --shadow: 0 8px 25px rgba(231, 76, 60, 0.15);
    --shadow-lg: 0 20px 40px -10px rgba(231, 76, 60, 0.2);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary);
    position: relative;
    text-shadow: 0 2px 4px rgba(231, 76, 60, 0.1);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--oil-gold), var(--accent));
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(241, 196, 15, 0.3);
}

.section-description {
    text-align: center;
    color: var(--gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    gap: 0.5rem;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
    z-index: 1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(231, 76, 60, 0.4);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.btn-outline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    z-index: -1;
    transform: scale(0);
    transition: var(--transition);
}

.btn-outline:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline:hover::after {
    transform: scale(1);
}

.add-to-cart-btn {
    background: linear-gradient(135deg, var(--oil-gold), var(--accent));
    color: var(--dark);
    border: none;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.3);
}

.add-to-cart-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(241, 196, 15, 0.4);
    color: var(--dark);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(231, 76, 60, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    position: relative;
    transition: var(--transition);
}

.nav-logo a:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--oil-gold));
    transition: var(--transition);
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(231, 76, 60, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 28px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Page Hero */
.page-hero {
    position: relative;
    padding: 12rem 0 8rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--oil-gold) 100%);
    color: var(--white);
    text-align: center;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%);
    animation: canvasTexture 20s ease-in-out infinite;
}

@keyframes canvasTexture {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.9; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3.75rem;
    margin-bottom: 1.5rem;
    opacity: 0.98;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: relative;
    animation: fadeInUpLarge 1.2s ease;
    line-height: 1.1;
}

@keyframes fadeInUpLarge {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.92;
    line-height: 1.8;
    animation: fadeInUp 1.2s ease 0.3s both;
}

.hero-breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1rem;
    opacity: 0.85;
    animation: fadeInUp 1.2s ease 0.6s both;
}

.breadcrumb-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-link:hover {
    color: var(--white);
    transform: translateX(5px);
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-current {
    color: var(--oil-gold);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(241, 196, 15, 0.5);
}

/* Philosophy Section */
.philosophy-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--canvas) 0%, #fffaf0 100%);
    position: relative;
    overflow: hidden;
}

.philosophy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.1;
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.philosophy-text {
    padding-right: 2rem;
}

.philosophy-description {
    color: var(--gray);
    margin-bottom: 3rem;
    line-height: 1.8;
    font-size: 1.15rem;
    position: relative;
}

.philosophy-description::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.1;
    font-family: serif;
}

.philosophy-highlights {
    display: grid;
    gap: 2rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(231, 76, 60, 0.1);
    backdrop-filter: blur(10px);
}

.highlight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--oil-gold), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
    border-radius: 1rem 1rem 0 0;
}

.highlight-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.highlight-item:hover::before {
    transform: scaleX(1);
}

.highlight-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-top: 0.25rem;
    flex-shrink: 0;
    text-shadow: 0 2px 8px rgba(231, 76, 60, 0.2);
}

.highlight-item h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    position: relative;
}

.highlight-item p {
    color: var(--gray);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

.philosophy-image {
    position: relative;
}

.philosophy-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--white);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.philosophy-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(231, 76, 60, 0.2);
}

.paint-splatter {
    position: absolute;
    top: 20%;
    right: -10%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--primary) 20%, transparent 70%);
    border-radius: 50%;
    opacity: 0.1;
    transform: rotate(45deg);
    z-index: 0;
    animation: splatterFloat 6s ease-in-out infinite;
}

@keyframes splatterFloat {
    0%, 100% { transform: rotate(45deg) translateY(0px); }
    50% { transform: rotate(45deg) translateY(-10px); }
}

/* Gallery Section */
.gallery-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--white) 0%, #fafafa 100%);
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.gallery-item {
    position: relative;
    background: var(--white);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 600px;
    display: flex;
    flex-direction: column;
}

.gallery-item:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.painting-container {
    position: relative;
    flex-grow: 1;
    background: var(--canvas);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.painting-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0.75rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.gallery-item:hover .painting-image {
    transform: scale(1.05);
}

.canvas-texture {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0,0,0,0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0,0,0,0.01) 0%, transparent 50%),
        linear-gradient(90deg, transparent 48%, rgba(0,0,0,0.01) 50%, transparent 52%);
    background-size: 100px 100px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

.frame {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    pointer-events: none;
    z-index: 3;
}

.frame-top, .frame-bottom, .frame-left, .frame-right {
    position: absolute;
    background: linear-gradient(135deg, #d5d5d5, #f0f0f0);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.frame-top, .frame-bottom {
    height: 20px;
}

.frame-left, .frame-right {
    width: 20px;
}

.frame-top {
    top: 0;
    left: 0;
    right: 0;
    border-radius: 10px 10px 0 0;
}

.frame-bottom {
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 0 0 10px 10px;
}

.frame-left {
    top: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px 0 0 10px;
}

.frame-right {
    top: 0;
    bottom: 0;
    right: 0;
    border-radius: 0 10px 10px 0;
}

.gallery-info {
    padding: 2rem;
    border-top: 1px solid var(--light-gray);
    background: var(--white);
}

.gallery-title {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-medium {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-style: italic;
    font-size: 0.95rem;
}

.gallery-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Process Timeline */
.process-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #fff5f5 0%, #ffeaea 100%);
    position: relative;
}

.process-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--oil-gold), var(--accent));
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.2);
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 5rem;
    position: relative;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.timeline-item.animate {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item.right {
    flex-direction: row-reverse;
}

.timeline-item.left .timeline-content {
    margin-right: 2rem;
}

.timeline-item.right .timeline-content {
    margin-left: 2rem;
    text-align: right;
}

.timeline-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--oil-gold));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
    flex-shrink: 0;
    position: relative;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { 
        box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 12px 35px rgba(231, 76, 60, 0.5);
        transform: scale(1.05);
    }
}

.timeline-content {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    width: 45%;
    position: relative;
    border: 1px solid rgba(231, 76, 60, 0.1);
    transition: var(--transition);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 35px;
    width: 0;
    height: 0;
    border-style: solid;
    z-index: 1;
}

.timeline-item.left .timeline-content::before {
    right: -15px;
    border-width: 15px 0 15px 15px;
    border-color: transparent transparent transparent var(--white);
}

.timeline-item.right .timeline-content::before {
    left: -15px;
    border-width: 15px 15px 15px 0;
    border-color: transparent var(--white) transparent transparent;
}

.timeline-title {
    color: var(--primary);
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
}

.timeline-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--oil-gold);
}

.timeline-description {
    color: var(--gray);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Services Section */
.services-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #fef9e7 0%, #fff8e1 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 1.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(231, 76, 60, 0.1);
    box-shadow: var(--shadow);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--oil-gold), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary), var(--oil-gold));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    box-shadow: 0 12px 35px rgba(231, 76, 60, 0.3);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg) scale(1.1);
}

.service-title {
    color: var(--primary);
    margin-bottom: 1.25rem;
    font-size: 1.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-description {
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--dark);
    font-size: 1rem;
    position: relative;
    border-left: 3px solid transparent;
    padding-left: 1.5rem;
    transition: var(--transition);
}

.service-features li:hover {
    border-left-color: var(--oil-gold);
    transform: translateX(10px);
    padding-left: 2rem;
}

.service-features i {
    color: var(--primary);
    width: 20px;
    flex-shrink: 0;
    font-size: 1.1rem;
}

/* Artists Section */
.artists-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--white) 0%, #fafafa 100%);
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.artist-card {
    background: var(--white);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.artist-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--oil-gold));
    transform: scaleX(0);
    transition: var(--transition);
}

.artist-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.artist-card:hover::before {
    transform: scaleX(1);
}

.artist-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.artist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.artist-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.9) 0%, rgba(243, 156, 18, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.artist-card:hover .artist-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: var(--white);
    transform: translateY(20px);
    transition: var(--transition);
}

.artist-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.overlay-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.artist-bio {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.artist-name {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.artist-title {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.artist-description {
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.7;
    flex-grow: 1;
}

.artist-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.artist-stats span {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--dark);
    font-size: 0.95rem;
}

.artist-stats i {
    color: var(--oil-gold);
    width: 16px;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: canvasTexture 15s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    opacity: 0.98;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
    animation: fadeInUpLarge 1.2s ease;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.92;
    line-height: 1.8;
    animation: fadeInUp 1.2s ease 0.3s both;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease 0.6s both;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    margin: 2% auto;
    width: 95%;
    max-width: 1200px;
    max-height: 90vh;
    background: var(--white);
    border-radius: 1.5rem;
    overflow: hidden;
    animation: modalSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--gray);
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.close-modal:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg) scale(1.1);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 0;
    height: calc(90vh - 60px);
    overflow: hidden;
}

.modal-gallery {
    position: relative;
    overflow: hidden;
    background: var(--canvas);
}

.modal-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    cursor: grab;
}

.modal-image-container:active img {
    cursor: grabbing;
}

.zoom-controls {
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: flex;
    gap: 0.5rem;
    z-index: 5;
}

.zoom-in, .zoom-out {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.zoom-in:hover, .zoom-out:hover {
    background: var(--white);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.modal-details {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background: var(--white);
}

.modal-details h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 700;
}

.modal-details p {
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.modal-specs {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(231, 76, 60, 0.05);
    border-radius: 1rem;
    border: 1px solid rgba(231, 76, 60, 0.1);
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spec-label {
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
}

.spec-value {
    color: var(--dark);
    font-weight: 500;
    font-size: 1.1rem;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 5rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(231, 76, 60, 0.1), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-title {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    color: var(--white);
    font-weight: 700;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--oil-gold);
}

.footer-description {
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.7;
    font-size: 1.05rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    background: var(--oil-gold);
    color: var(--dark);
    transform: translateY(-5px) scale(1.15);
    box-shadow: 0 8px 25px rgba(241, 196, 15, 0.4);
}

.footer-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    opacity: 0.95;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-radius: 0.375rem;
    padding-left: 0.5rem;
}

.footer-links a:hover {
    color: var(--oil-gold);
    background: rgba(241, 196, 15, 0.1);
    transform: translateX(8px);
    padding-left: 1rem;
}

.footer-links a i {
    width: 18px;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links a:hover i {
    opacity: 1;
    transform: scale(1.2);
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0.9;
    font-size: 1rem;
    padding: 0.5rem 0;
    border-radius: 0.375rem;
    transition: var(--transition);
}

.contact-info p:hover {
    background: rgba(255, 255, 255, 0.05);
    padding-left: 1rem;
    transform: translateX(5px);
}

.contact-info i {
    width: 20px;
    color: var(--oil-gold);
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
    font-style: italic;
    position: relative;
    z-index: 1;
    margin-top: 2rem;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .philosophy-content {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    
    .philosophy-text {
        padding-right: 0;
        order: 2;
    }
    
    .philosophy-image {
        order: 1;
    }
    
    .philosophy-image img {
        height: 400px;
    }
    
    .timeline-item, .timeline-item.right {
        flex-direction: column !important;
        text-align: center;
    }
    
    .timeline-content {
        width: 100% !important;
        margin: 2rem 0 0 0 !important;
    }
    
    .timeline-content::before {
        display: none;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .modal-gallery {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: var(--shadow);
        padding: 2.5rem 0;
        gap: 0;
        z-index: 999;
        border-radius: 0 0 2rem 2rem;
        backdrop-filter: blur(20px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        padding: 1.25rem;
        width: 100%;
        display: block;
        border-bottom: 1px solid rgba(231, 76, 60, 0.1);
        font-size: 1.1rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-breadcrumbs {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        font-size: 0.9rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .gallery-grid,
    .services-grid,
    .artists-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gallery-item {
        height: 550px;
    }
    
    .painting-container {
        padding: 1.5rem;
    }
    
    .timeline-item {
        margin-bottom: 3.5rem;
    }
    
    .service-card {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .philosophy-image img {
        height: 300px;
    }
    
    .gallery-item {
        height: 500px;
    }
    
    .painting-container {
        padding: 1rem;
    }
    
    .modal-content {
        width: 98%;
        margin: 5% auto;
        border-radius: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-details {
        padding: 2rem 1.5rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
    
    .gallery-actions {
        flex-direction: column;
    }
    
    .process-timeline::before {
        left: 35px;
    }
    
    .timeline-item .timeline-icon {
        margin: 0 0 1.5rem 35px;
    }
}

/* Painting-specific animations */
@keyframes brushStroke {
    0% { 
        stroke-dashoffset: 1000; 
        transform: rotate(0deg);
    }
    50% { 
        stroke-dashoffset: 500; 
        transform: rotate(180deg);
    }
    100% { 
        stroke-dashoffset: 0; 
        transform: rotate(360deg);
    }
}

.brush-stroke {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: brushStroke 1.5s ease forwards;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Logo Styles */
.nav-logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px; /* Adjust this value to match your logo's desired height */
    width: auto;  /* Maintains aspect ratio */
    max-width: 150px; /* Maximum width to prevent the logo from being too wide */
    transition: var(--transition);
}

.logo-image:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .logo-image {
        height: 35px; /* Slightly smaller on mobile */
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 30px; /* Even smaller on very small screens */
        max-width: 100px;
    }
}