/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    overflow-x: hidden;
}

/* CSS Variables for Colors */
:root {
    --navy-blue: #1e3a8a;
    --light-navy: #3b82f6;
    --pearl-gray: #f1f5f9;
    --white: #ffffff;
    --dark-gray: #374151;
    --light-gray: #9ca3af;
    --accent-gold: #f59e0b;
    --success-green: #10b981;
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #f1f5f9 0%, #ffffff 100%);
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Dynamic theme colors - will be updated by JavaScript */
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --primary-gradient: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --secondary-gradient: linear-gradient(135deg, #f1f5f9 0%, #ffffff 100%);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Language Toggle */
.language-toggle {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1002;
    display: flex;
    gap: 6px;
}

.lang-btn {
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.9);
    color: var(--navy-blue);
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 11px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 35px;
}

.lang-btn.active {
    background: var(--navy-blue);
    color: var(--white);
    border-color: var(--navy-blue);
    box-shadow: 0 2px 10px rgba(30, 58, 138, 0.3);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.lang-btn.active:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--primary-gradient);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(30, 58, 138, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    background: linear-gradient(45deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.nav-link:hover {
    color: #e2e8f0;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffffff 0%, #e2e8f0 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-secondary);
    padding: 140px 20px 80px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-yacht-image {
    width: 400px;
    height: 300px;
    border-radius: 20px;
    box-shadow: var(--shadow-heavy);
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-yacht-image:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-heavy), 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.btn-secondary {
    background: transparent;
    color: var(--navy-blue);
    border-color: var(--navy-blue);
}

.btn-secondary:hover {
    background: var(--navy-blue);
    color: var(--white);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--navy-blue);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--light-gray);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--pearl-gray);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--navy-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Gallery Section */
.gallery {
    background: var(--pearl-gray);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease;
}

/* NEW: Make images fill the gallery tile */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
}

.gallery-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.gallery-placeholder p {
    font-weight: 500;
}

/* About Section */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    padding-right: 2rem;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature i {
    font-size: 2rem;
    color: var(--navy-blue);
    width: 50px;
}

.feature h4 {
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature p {
    color: var(--light-gray);
    margin: 0;
    font-size: 0.9rem;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-placeholder {
    width: 300px;
    height: 400px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    box-shadow: var(--shadow-heavy);
}

.about-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.about-placeholder p {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials {
    background: var(--pearl-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.stars i {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.stars i.empty {
    color: #ddd;
}

.testimonial-card p {
    font-style: italic;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    border-top: 1px solid var(--pearl-gray);
    padding-top: 1rem;
}

.testimonial-author strong {
    color: var(--navy-blue);
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.6rem;
    color: var(--navy-blue);
    margin-top: 0.25rem;
    width: 35px;
    text-shadow: 0 1px 3px rgba(30, 58, 138, 0.2);
}

.contact-item h4 {
    color: #1a202c;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.contact-item p {
    color: #1a202c !important;
    margin: 0;
    line-height: 1.6;
    font-weight: 600;
    font-size: 1rem;
}

.contact-item p a {
    color: #1a202c !important;
    text-decoration: underline;
    transition: color 0.3s ease;
    font-weight: 600;
}

.contact-item p a:hover {
    color: var(--navy-blue) !important;
    text-decoration: underline;
}

.contact-item a {
    color: #1a202c !important;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--navy-blue) !important;
    text-decoration: underline;
}

/* Map Section */
.map-container {
    margin: 2rem 0;
    text-align: center;
}

.map-container h4 {
    color: var(--navy-blue);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.map-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    background: var(--white);
    padding: 10px;
}

.map-wrapper iframe {
    border-radius: 10px;
    width: 100%;
    height: 300px;
    transition: transform 0.3s ease;
}

.map-wrapper:hover iframe {
    transform: scale(1.02);
}

.map-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.directions-btn {
    background: var(--navy-blue);
    color: var(--white);
    padding: 10px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.directions-btn:hover {
    background: var(--light-navy);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
}

.directions-btn i {
    font-size: 1rem;
}

/* Contact Form */
.contact-form {
    background: var(--gradient-primary);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid;
    border-image: var(--gradient-primary) 1;
    border-radius: 10px;
    background: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
    resize: vertical;
    position: relative;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-image: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%) 1;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--light-gray);
    transition: all 0.3s ease;
    pointer-events: none;
    background: var(--white);
    padding: 0 0.5rem;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group select:focus + label,
.form-group select:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    color: var(--navy-blue);
}

.form-group select {
    cursor: pointer;
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--navy-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 500;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-section ul li a:hover {
    color: var(--white);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Contact Info Specific Styling */
.contact-info p {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info p i {
    color: #60a5fa;
    font-size: 1.1rem;
    width: 20px;
}

.contact-info a {
    color: var(--white) !important;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
}

.contact-info a:hover {
    color: #60a5fa !important;
    text-decoration-color: #60a5fa;
    text-shadow: 0 0 8px rgba(96, 165, 250, 0.5);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    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: all 0.3s ease;
}

.social-links a:hover {
    background: var(--white);
    color: var(--navy-blue);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: var(--pearl-gray);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: var(--shadow-heavy);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128c7e;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .language-toggle {
        top: 8px;
        right: 70px; /* Mover a la izquierda para no interferir con hamburger */
        gap: 4px;
        z-index: 1001; /* Mismo nivel que hamburger */
    }
    
    .lang-btn {
        padding: 4px 8px;
        font-size: 10px;
        min-width: 28px;
        border-radius: 15px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--gradient-primary); /* Aplicar gradiente del banner */
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-medium);
        padding: 2rem 0;
        backdrop-filter: blur(10px);
    }
    
    .nav-menu .nav-link {
        color: var(--white);
        font-size: 1.1rem;
        padding: 0.8rem 0;
        display: block;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu .nav-link:hover {
        color: #e2e8f0;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        margin: 0 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001; /* Asegurar que esté por encima de los botones de idioma */
        position: relative;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .navbar {
        padding: 1rem 0;
    }
    
    .nav-logo h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 20px 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .hero-yacht-image {
        width: 300px;
        height: 200px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text {
        padding-right: 0;
    }
    
    .about-text .section-title {
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Map responsive styles */
    .map-container {
        margin: 1.5rem 0;
    }
    
    .map-container h4 {
        font-size: 1.1rem;
    }
    
    .map-wrapper {
        padding: 8px;
    }
    
    .map-wrapper iframe {
        height: 250px;
    }
    
    .map-overlay {
        top: 15px;
        right: 15px;
    }
    
    .directions-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
        gap: 6px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid,
    .gallery-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* Smooth Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success Message */
.success-message {
    background: var(--success-green);
    color: var(--white);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    text-align: center;
    display: none;
}

.success-message.show {
    display: block;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--navy-blue);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    color: var(--accent-gold);
    transform: scale(1.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Gallery Overlay Styles */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1rem 1rem;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.gallery-overlay p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Admin Panel Styles */
.admin-panel {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    padding: 2rem;
    margin: 2rem 0;
}

.admin-panel h3 {
    color: var(--navy-blue);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.admin-form {
    display: grid;
    gap: 1.5rem;
}

.admin-form .form-group {
    position: relative;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--pearl-gray);
    border-radius: 10px;
    background: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
    outline: none;
    border-color: var(--navy-blue);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.admin-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.btn-danger {
    background: #ef4444;
    color: var(--white);
    border: none;
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.dynamic-content {
    transition: all 0.3s ease;
}

.dynamic-content.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Navigation Active States */
.nav-link.active {
    color: var(--navy-blue) !important;
}

.nav-link.active::after {
    width: 100% !important;
}

/* Error Messages */
.error-message {
    background: #ef4444;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    text-align: center;
    display: none;
}

.error-message.show {
    display: block;
    animation: slideIn 0.3s ease;
}

/* Enhanced Scroll to Top Hover */
.scroll-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}