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

:root {
    --primary-teal: #4ECDC4;
    --primary-light: #7ED7D1;
    --secondary-mint: #A8E6CF;
    --secondary-light: #C7F0DB;
    --accent-pearl: #F8FDFC;
    --accent-lavender: #E6F3FF;
    --text-dark: #2C5F5D;
    --text-medium: #5A8F8A;
    --text-light: #8BB3B1;
    --white: #FFFFFF;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

/* Navigation */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-teal);
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Sections */
.hero {
    padding: 130px 0 80px;
    background: linear-gradient(135deg, var(--accent-pearl) 0%, var(--accent-lavender) 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-mint) 100%);
    color: white;
    border-color: var(--primary-teal);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-teal) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(78, 205, 196, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-teal);
    border-color: var(--primary-teal);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-mint) 100%);
    color: white;
    transform: translateY(-2px);
}

/* WhatsApp Button Specific Styling */
.btn-secondary i.fab.fa-whatsapp {
    color: inherit !important;
}

.btn-secondary:hover i.fab.fa-whatsapp {
    color: white !important;
}

/* Ensure WhatsApp buttons maintain consistent colors on all devices */
.btn-secondary[href*="wa.me"] {
    background: transparent !important;
    color: #4ECDC4 !important;
    border-color: #4ECDC4 !important;
}

.btn-secondary[href*="wa.me"]:hover {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%) !important;
    color: white !important;
    border-color: #4ECDC4 !important;
}

/* Ensure all secondary buttons maintain consistent colors on all devices */
.btn-secondary {
    background: transparent !important;
    color: #4ECDC4 !important;
    border-color: #4ECDC4 !important;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%) !important;
    color: white !important;
    border-color: #4ECDC4 !important;
}

.btn-outline {
    background: transparent;
    color: var(--primary-teal);
    border-color: var(--primary-teal);
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-mint) 100%);
    color: white;
}

/* Headers and Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    max-width: 300px;
}

strong, b, .font-bold {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 3rem;
}

/* Services */
.services {
    padding: 80px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(78, 205, 196, 0.2);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-teal);
    filter: drop-shadow(0 2px 4px rgba(78, 205, 196, 0.3));
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-link {
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--text-dark);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--accent-pearl) 0%, var(--secondary-light) 100%);
}



.testimonial {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.15);
    border-left: 4px solid var(--primary-teal);
}

.testimonial p {
    font-style: italic;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-dark);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-teal) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta .btn-primary {
    background: white;
    color: var(--text-dark);
    border-color: white;
}

.cta .btn-primary:hover {
    background: var(--accent-pearl);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.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(--primary-light);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-teal);
}

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

.social-links a {
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--primary-teal);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-mint);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    color: #999;
}

/* Contact Form Styles */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c5530;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #4a7c59;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* About Image Styles */
.about-image-section {
    padding: 60px 0;
    background: white;
}

.about-image-container {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(78, 205, 196, 0.15);
    background: linear-gradient(135deg, var(--accent-pearl) 0%, var(--accent-lavender) 100%);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(78, 205, 196, 0.2);
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
    box-shadow: 0 10px 30px rgba(44, 95, 93, 0.2);
}

.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.05) 0%, rgba(168, 230, 207, 0.05) 100%);
    border-radius: 15px;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Contact page mobile layout */
    .services .container > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .contact-form {
        order: 2;
    }
    
    .services .container > div > div:first-child {
        order: 1;
    }
    /* Ensure all buttons maintain consistent sizing on mobile */
    .btn {
        width: 100% !important;
        max-width: 300px !important;
        margin: 0.5rem auto !important;
        text-align: center !important;
        justify-content: center !important;
    }
    
    .hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
    }
    
    /* Ensure WhatsApp buttons maintain colors on mobile */
    .btn-secondary[href*="wa.me"] {
        background: transparent !important;
        color: #4ECDC4 !important;
        border-color: #4ECDC4 !important;
    }
    
    .btn-secondary[href*="wa.me"]:hover,
    .btn-secondary[href*="wa.me"]:active,
    .btn-secondary[href*="wa.me"]:focus {
        background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%) !important;
        color: white !important;
        border-color: #4ECDC4 !important;
    }
    
    /* Ensure all secondary buttons maintain colors on mobile */
    .btn-secondary {
        background: transparent !important;
        color: #4ECDC4 !important;
        border-color: #4ECDC4 !important;
    }
    
    .btn-secondary:hover,
    .btn-secondary:active,
    .btn-secondary:focus {
        background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%) !important;
        color: white !important;
        border-color: #4ECDC4 !important;
    }
    
    /* Contact form mobile optimization */
    .contact-form {
        padding: 0 1rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 0.75rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Footer mobile layout */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center !important;
    }
    
    .footer-section {
        text-align: center !important;
    }
    
    .social-links {
        justify-content: center !important;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }
    
    .hero-buttons,
    .cta-buttons,
    .package-buttons {
        display: flex;
        gap: 1rem;
        align-items: center;
        justify-content: center;
    }
    
    .btn-secondary {
        background: #25D366;
        color: white;
        border: 2px solid #25D366;
        transition: all 0.3s ease;
    }
    
    .btn-secondary:hover {
        background: #128C7E;
        border-color: #128C7E;
        transform: translateY(-2px);
    }
    
    .btn-secondary i {
        margin-right: 0.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image-section {
        padding: 40px 0;
    }

    .about-image-container {
        max-width: 95%;
    }

    .about-image-wrapper {
        padding: 15px;
        border-radius: 20px;
    }

    .about-image {
        border-radius: 12px;
    }
}

/* Process Timeline Styles */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.1);
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-mint) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.process-step p {
    color: var(--text-medium);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        padding: 1.5rem;
    }
}

/* Single Package Styles */
.single-package-container {
    max-width: 600px;
    margin: 0 auto;
}

.single-package {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(78, 205, 196, 0.15);
    border: 2px solid var(--primary-teal);
    overflow: hidden;
    position: relative;
}

.package-header {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-mint) 100%);
    color: white;
    padding: 3rem 2rem 2rem;
    text-align: center;
    position: relative;
}

.package-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1) 0%, rgba(168, 230, 207, 0.1) 100%);
}

.package-header * {
    position: relative;
    z-index: 1;
}

.package-header h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.package-price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.package-price span {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.9;
}

.package-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    margin: 0;
}

.package-content {
    padding: 2.5rem;
}

.package-content h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-align: center;
}

.package-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.package-content li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(78, 205, 196, 0.1);
}

.package-content li:last-child {
    border-bottom: none;
}

.package-content li i {
    color: var(--primary-teal);
    margin-right: 1rem;
    width: 20px;
    text-align: center;
}

.package-guarantee {
    background: var(--accent-pearl);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
    border: 1px solid rgba(78, 205, 196, 0.2);
}

.package-guarantee p {
    margin: 0;
    color: var(--text-dark);
    line-height: 1.6;
}

.package-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .single-package-container {
        max-width: 95%;
    }
    
    .package-header {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .package-header h3 {
        font-size: 1.5rem;
    }
    
    .package-price {
        font-size: 2.5rem;
    }
    
    .package-content {
        padding: 2rem 1.5rem;
    }
}

/* Retreat-specific Styles */

.retreat-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-mint);
    margin-bottom: 1rem;
}

/* Single Retreat Package */
.single-retreat-container {
    max-width: 800px;
    margin: 0 auto;
}

.retreat-package {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(78, 205, 196, 0.15);
    border: 2px solid var(--primary-teal);
    overflow: hidden;
}

.retreat-header {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-mint) 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.retreat-dates {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.retreat-pricing-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.pricing-option {
    text-align: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.pricing-option .room-type {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.pricing-option .price {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.retreat-content {
    padding: 2.5rem;
}

.includes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.include-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--accent-pearl);
    border-radius: 10px;
    border: 1px solid rgba(78, 205, 196, 0.1);
}

.include-item i {
    color: var(--primary-teal);
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.retreat-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.retreat-note {
    text-align: center;
    color: var(--text-medium);
    font-style: italic;
    margin: 0;
}





@media (max-width: 768px) {
    .single-retreat-container {
        max-width: 95%;
    }
    
    .retreat-header {
        padding: 2rem 1.5rem;
    }
    
    .retreat-pricing-options {
        gap: 1rem;
    }
    
    .pricing-option {
        padding: 0.75rem 1rem;
    }
    
    .pricing-option .price {
        font-size: 1.5rem;
    }
    
    .retreat-content {
        padding: 2rem 1.5rem;
    }
    
    .includes-grid {
        grid-template-columns: 1fr;
    }
}

/* Retreat Gallery Styles */
.retreat-gallery {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--accent-pearl) 0%, var(--secondary-light) 100%);
}

.gallery-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(78, 205, 196, 0.25);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(44, 95, 93, 0.9));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
    color: white;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .gallery-item {
        border-radius: 12px;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .gallery-overlay {
        padding: 1.5rem 1rem 1rem;
    }
    
    .gallery-overlay h4 {
        font-size: 1.1rem;
    }
    
    .gallery-overlay p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        height: 220px;
    }
    
    /* Contact page small mobile layout */
    .services .container > div[style*="grid-template-columns: 1fr 1fr"] {
        gap: 1.5rem !important;
    }
    
    .contact-form {
        padding: 0 0.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.5rem;
    }
    
    /* Footer small mobile layout */
    .footer-content {
        gap: 1.5rem !important;
    }
    
    .social-links {
        gap: 1.5rem !important;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: -10px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10000;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-caption {
    margin-top: 20px;
    text-align: center;
    color: white;
    max-width: 500px;
}

.lightbox-caption h4 {
    margin: 0 0 10px 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-teal);
}

.lightbox-caption p {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    transform: translateY(-50%);
}

.lightbox-prev,
.lightbox-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    pointer-events: all;
    backdrop-filter: blur(10px);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(78, 205, 196, 0.8);
    transform: scale(1.1);
}

.lightbox-prev {
    margin-left: -80px;
}

.lightbox-next {
    margin-right: -80px;
}

/* Mobile lightbox adjustments */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .lightbox-close {
        top: -30px;
        right: 0;
        font-size: 24px;
    }
    
    .lightbox-caption h4 {
        font-size: 1.2rem;
    }
    
    .lightbox-caption p {
        font-size: 0.9rem;
    }
    
    .lightbox-prev,
    .lightbox-next {
        font-size: 20px;
        padding: 10px 15px;
    }
    
    .lightbox-prev {
        margin-left: -60px;
    }
    
    .lightbox-next {
        margin-right: -60px;
    }
}

/* Why Málaga Section */
.why-malaga {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--soft-cream) 0%, rgba(78, 205, 196, 0.05) 100%);
}

.why-malaga-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.malaga-features {
    margin: 3rem 0;
}

.feature-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    max-width: 450px;
    text-align: left;
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(78, 205, 196, 0.15);
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-mint) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.feature-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.feature-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.malaga-quote {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-mint) 100%);
    border-radius: 25px;
    color: white;
    position: relative;
}

.malaga-quote::before {
    content: '"';
    font-size: 4rem;
    font-family: 'Playfair Display', serif;
    position: absolute;
    top: 1rem;
    left: 2rem;
    opacity: 0.3;
}

.malaga-quote blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Mobile responsive for Why Málaga */
@media (max-width: 768px) {
    .why-malaga {
        padding: 3rem 0;
    }
    
    .lead-text {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .feature-row {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .feature-item {
        padding: 1.5rem;
        max-width: 100%;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .feature-content h4 {
        font-size: 1.1rem;
    }
    
    .malaga-quote {
        margin-top: 2rem;
        padding: 2rem;
    }
    
    .malaga-quote::before {
        font-size: 3rem;
        top: 0.5rem;
        left: 1rem;
    }
    
    .malaga-quote blockquote {
        font-size: 1.1rem;
    }
}

/* Privacy Policy Styles */
.privacy-section {
    margin-bottom: 3rem;
}

.privacy-section h2 {
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-teal);
}

.privacy-section h3 {
    color: var(--primary-teal);
    font-size: 1.25rem;
    margin: 1.5rem 0 1rem 0;
    font-weight: 600;
}

.privacy-section p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.privacy-section ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.privacy-section li {
    line-height: 1.6;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.privacy-section strong {
    color: var(--primary-teal);
}

@media (max-width: 768px) {
    .privacy-section h2 {
        font-size: 1.5rem;
    }
    
    .privacy-section h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .hero-buttons,
    .cta-buttons,
    .package-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-secondary {
        font-size: 0.9rem;
    }

    .service-card,
    .testimonial {
        padding: 1.5rem;
    }
}
