﻿/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #556B2F;
    --primary-dark: #3D4F1F;
    --primary-light: #6B8E23;
    --accent-color: #8FBC8F;
    --accent-gold: #9ACD32;
    --text-dark: #2C3E1F;
    --text-light: #5A6B45;
    --bg-light: #F5F8F3;
    --bg-white: #FFFFFF;
    --bg-wood: #E8F0E3;
    --border-color: #D8E5D0;
    --shadow: 0 4px 6px -1px rgba(61, 79, 31, 0.1), 0 2px 4px -1px rgba(61, 79, 31, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(61, 79, 31, 0.15), 0 10px 10px -5px rgba(61, 79, 31, 0.08);
    --shadow-wood: 0 8px 16px rgba(85, 107, 47, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.3s ease;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 45px;
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1)) hue-rotate(-15deg) saturate(0.8);
    transition: all 0.3s ease;
    border-radius: 12px;
}

.logo-img:hover {
    filter: drop-shadow(2px 2px 8px rgba(85, 107, 47, 0.3)) hue-rotate(-15deg) saturate(0.8);
    transform: scale(1.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand .logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    font-family: 'Playfair Display', serif;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #3d4f1f 0%, #4a5f28 25%, #556B2F 50%, #4a5f28 75%, #3d4f1f 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(139, 147, 116, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(139, 147, 116, 0.08) 0%, transparent 50%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 40px,
            rgba(255, 255, 255, 0.015) 40px,
            rgba(255, 255, 255, 0.015) 80px
        );
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 50% 50%, rgba(85, 107, 47, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-family: 'Playfair Display', serif;
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-logo-container {
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease;
}

.hero-logo-img {
    height: 240px;
    width: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3)) hue-rotate(-15deg) saturate(0.85) brightness(0.98);
    display: block;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.hero-logo-img:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.4)) hue-rotate(-15deg) saturate(0.85) brightness(0.98);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: white;
    color: var(--primary-dark);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    background: rgba(255, 255, 255, 0.95);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.btn-block {
    width: 100%;
}

/* Hero Slideshow */
.hero-slideshow {
    flex: 1;
    max-width: 550px;
    position: relative;
    margin-top: -2rem;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.1));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transform-style: preserve-3d;
    transition: all 0.3s ease;
}

.slideshow-container:hover {
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.slideshow-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.05) 25%,
        transparent 50%,
        transparent 100%
    );
    border-radius: 24px;
    pointer-events: none;
    z-index: 2;
}

.slideshow-container::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        115deg,
        transparent 40%,
        rgba(255, 255, 255, 0.15) 45%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0.15) 55%,
        transparent 60%
    );
    animation: glassShine 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 3;
}

@keyframes glassShine {
    0%, 100% {
        transform: translate(-100%, -100%) rotate(45deg);
        opacity: 0;
    }
    50% {
        transform: translate(100%, 100%) rotate(45deg);
        opacity: 1;
    }
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.slide.active {
    display: block;
    animation: fadeIn 1.2s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 24px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slideshow-dots {
    text-align: center;
    padding: 2rem 0 0;
    position: relative;
    z-index: 4;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 8px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.3);
    box-shadow: 
        0 4px 12px rgba(255, 255, 255, 0.3),
        0 2px 6px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.dot.active {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    width: 36px;
    border-radius: 6px;
    box-shadow: 
        0 4px 16px rgba(255, 255, 255, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Announcements Section */
.announcements {
    padding: 80px 0;
    background: var(--bg-white);
}

.announcements-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.announcement-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--accent-gold);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.announcement-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(139, 69, 19, 0.3);
}

.announcement-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
    font-family: 'Playfair Display', serif;
}

.announcement-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    opacity: 0.95;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--bg-white);
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.service-card.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-color: var(--accent-gold);
}

.service-card.featured .service-icon,
.service-card.featured h3,
.service-card.featured p,
.service-card.featured li {
    color: white;
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-gold);
    color: var(--text-dark);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    font-weight: 500;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: var(--bg-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-wood), var(--primary-light));
    position: relative;
    cursor: pointer;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(85, 107, 47, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.view-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.portfolio-info p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.about-text .lead {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 2px solid var(--border-color);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    color: var(--text-light);
    font-weight: 600;
    margin-top: 0.5rem;
}

.about-image {
    height: 500px;
}

.about-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-lg);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
}

.form-group textarea {
    resize: vertical;
}

.form-group select {
    cursor: pointer;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 3rem;
    border-radius: 12px;
    color: white;
    box-shadow: var(--shadow-lg);
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
}

.contact-features {
    list-style: none;
    margin-bottom: 2rem;
}

.contact-features li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-details {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-details p {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-logo {
    height: 70px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(1.2) contrast(1.1);
    opacity: 1;
    border-radius: 18px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-gold);
    font-weight: 600;
}

.footer-section p {
    color: #B8B0A5;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #B8B0A5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #B8B0A5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow);
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-slideshow {
        max-width: 100%;
        width: 100%;
        margin-top: 0;
    }
    
    .slideshow-container {
        height: 350px;
    }
    
    .hero-logo-container {
        display: flex;
        justify-content: center;
    }
    
    .hero-logo-img {
        height: 180px;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    .announcement-card {
        padding: 1.5rem;
    }

    .announcement-card h3 {
        font-size: 1.25rem;
    }

    .announcement-card p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        height: 300px;
    }

    .about-stats {
        justify-content: space-around;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* Image Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
    touch-action: pan-x pinch-zoom;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    will-change: transform, opacity;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 50px;
    font-weight: bold;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 25px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    width: 60px;
    height: 80px;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.5);
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.lightbox-prev:active,
.lightbox-next:active {
    transform: translateY(-50%) scale(0.95);
}

.lightbox-caption {
    margin: auto;
    display: block;
    max-width: 80%;
    text-align: center;
    color: #ccc;
    padding: 20px;
    font-size: 1.1rem;
}

/* Mobile lightbox adjustments */
@media (max-width: 1024px) {
    .lightbox {
        padding-top: 30px;
    }
    
    .lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 35px;
        width: 45px;
        height: 45px;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(10px);
    }
    
    /* Hide navigation buttons on mobile/tablet - swipe only */
    .lightbox-prev,
    .lightbox-next {
        display: none !important;
    }
    
    .lightbox-content {
        max-width: 95%;
        max-height: 80vh;
        cursor: default;
        touch-action: pan-x pinch-zoom;
    }
    
    .lightbox-caption {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
}

/* Swipe indicator hint (optional subtle animation) */
@media (max-width: 1024px) {
    .lightbox::after {
        content: '👈 Swipe 👉';
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        color: rgba(255, 255, 255, 0.5);
        font-size: 0.9rem;
        pointer-events: none;
        animation: fadeOutHint 3s forwards;
    }
    
    @keyframes fadeOutHint {
        0% { opacity: 1; }
        70% { opacity: 1; }
        100% { opacity: 0; }
    }
}

/* Success & Error Modals */
.success-modal,
.error-modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.success-modal.show,
.error-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-modal-content,
.error-modal-content {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 24px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.success-icon,
.error-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
}

.success-icon svg {
    width: 100%;
    height: 100%;
}

.success-circle {
    stroke: #4CAF50;
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: strokeSuccess 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

@keyframes strokeSuccess {
    100% {
        stroke-dashoffset: 0;
    }
}

.success-check {
    stroke: #4CAF50;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: strokeCheck 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes strokeCheck {
    100% {
        stroke-dashoffset: 0;
    }
}

.error-icon svg {
    width: 100%;
    height: 100%;
}

.error-circle {
    stroke: #f44336;
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: strokeError 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

@keyframes strokeError {
    100% {
        stroke-dashoffset: 0;
    }
}

.error-x {
    stroke: #f44336;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 54;
    stroke-dashoffset: 54;
    animation: strokeX 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes strokeX {
    100% {
        stroke-dashoffset: 0;
    }
}

.success-modal-content h2,
.error-modal-content h2 {
    color: var(--text-dark);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.success-modal-content p,
.error-modal-content p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.success-btn,
.error-btn {
    padding: 0.875rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.success-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.success-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.success-btn:active {
    transform: translateY(0);
}

.error-btn {
    background: linear-gradient(135deg, #f44336, #da190b);
    color: white;
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.3);
}

.error-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 67, 54, 0.4);
}

.error-btn:active {
    transform: translateY(0);
}

/* Mobile adjustments for modals */
@media (max-width: 768px) {
    .success-modal-content,
    .error-modal-content {
        padding: 2rem 1.5rem;
        width: 85%;
    }
    
    .success-icon,
    .error-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }
    
    .success-modal-content h2,
    .error-modal-content h2 {
        font-size: 1.5rem;
    }
    
    .success-modal-content p,
    .error-modal-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .success-btn,
    .error-btn {
        padding: 0.75rem 2rem;
        font-size: 0.9rem;
    }
}
