/* Reset and base styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6B4423;
    /* Earthy brown */
    --secondary-color: #A67B5B;
    /* Lighter brown */
    --accent-color: #E6B17E;
    /* Warm beige */
    --text-color: #2C1810;
    /* Dark brown */
    --light-bg: #FFF5E6;
    /* Cream */
    --white: #FFFFFF;
    --black: #000000;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --spacing-unit: 2rem;
}

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}


/* Header styles */

.header {
    background-color: var(--light-bg);
    padding: 1rem var(--spacing-unit);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    background: linear-gradient(135deg, rgba(232, 3, 252, 0.05), rgba(232, 3, 252, 0.1));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(232, 3, 252, 0.1);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23e803fc' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: -1;
}

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

.nav-logo {
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e803fc, transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-logo:hover::after {
    transform: scaleX(1);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e803fc;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-links a:hover {
    color: #e803fc;
}

.nav-links a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}


/* Hero section */

.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/banner2.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    padding: 2rem;
    color: var(--white);
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.8rem;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-image {
    height: 100%;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Featured Section */

.featured {
    padding: 6rem 2rem;
}

.featured h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
}

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

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--white);
    transform: translateY(100%);
    transition: var(--transition);
}

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

.featured-item:hover img {
    transform: scale(1.1);
}


/* Gallery Section */

.gallery {
    padding: 6rem 2rem;
    background-color: var(--light-bg);
}

.gallery-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.category-btn {
    min-width: 140px;
    padding: 0.8rem 1.5rem;
    border: 2px solid #e803fc;
    background: transparent;
    color: var(--text-color);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    background-color: #e803fc;
    color: var(--white);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.load-more {
    display: block;
    margin: 4rem auto 0;
    padding: 1rem 3rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.load-more:hover {
    background-color: var(--secondary-color);
}


/* About Section */

.about {
    padding: 6rem 2rem;
}

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

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
}

.feature i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}


/* Contact Section */

.contact {
    padding: 6rem 2rem;
    background: linear-gradient(45deg, rgba(232, 3, 252, 0.05), rgba(255, 255, 255, 0.1));
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(232, 3, 252, 0.1);
    backdrop-filter: blur(4px);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid rgba(232, 3, 252, 0.2);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e803fc;
    box-shadow: 0 0 0 4px rgba(232, 3, 252, 0.1);
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1.2rem;
    padding: 0 0.5rem;
    color: #666;
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
    background: transparent;
}

.form-group input:focus~label,
.form-group input:valid~label,
.form-group textarea:focus~label,
.form-group textarea:valid~label {
    top: -0.5rem;
    left: 0.8rem;
    font-size: 0.8rem;
    color: #e803fc;
    background: white;
}

.contact-form button[type="submit"] {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    background: linear-gradient(45deg, #e803fc, #9c03fc);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(232, 3, 252, 0.2);
}

.contact-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 3, 252, 0.3);
    background: linear-gradient(45deg, #f003fc, #b303fc);
}

.contact-form button[type="submit"]:active {
    transform: translateY(0);
}

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

.social-link {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-link:hover {
    color: var(--secondary-color);
}


/* Footer */

.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
}

.footer-logo img {
    height: 80px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.footer-social a {
    color: var(--white);
    font-size: 1.5rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}


/* Responsive design */

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    .nav-toggle {
        display: block;
    }
    .featured-grid {
        grid-template-columns: 1fr;
    }
    .contact-container {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-social {
        justify-content: center;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-content p {
        font-size: 1.4rem;
    }
    .gallery-categories {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
        max-width: 100%;
    }
    .category-btn {
        width: 100%;
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    .contact-form {
        padding: 1.5rem;
    }
    .contact-form button[type="submit"] {
        padding: 1rem;
        font-size: 1.1rem;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 50px;
    width: auto;
}


/* For mobile devices */

@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }
}


/* WhatsApp Float Button */

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    padding: 0;
    margin: 0;
    transform: translateZ(0);
    will-change: transform;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 2px 4px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-text {
    display: none;
}


/* Show text only on desktop */

@media (min-width: 769px) {
    .whatsapp-float {
        width: auto;
        height: auto;
        padding: 12px 20px;
        border-radius: 50px;
    }
    .whatsapp-text {
        display: inline;
        font-size: 16px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 500;
        margin-left: 8px;
    }
}


/* Mobile Navigation Styles */

.nav-toggle {
    display: none;
    /* Hidden by default on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 40px;
    height: 34px;
    position: relative;
    z-index: 1002;
}

.nav-toggle span {
    display: block;
    width: 24px;
    /* Make lines slightly shorter */
    height: 2px;
    background-color: #e803fc;
    margin: 6px auto;
    /* Center the lines */
    transition: transform 0.3s ease-in-out;
}


/* Mobile styles */

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        /* Show on mobile */
    }
    .nav-links {
        position: fixed;
        top: 0;
        left: 100%;
        /* Change from right to left for better performance */
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: transform 0.3s ease-in-out;
        /* Change transition property */
        z-index: 1001;
    }
    .nav-links.active {
        transform: translateX(-100%);
        /* Use transform instead of right/left */
    }
    .nav-links a {
        font-size: 1.2rem;
        /* Larger text for mobile */
        padding: 1rem 2rem;
        width: 100%;
        text-align: center;
    }
    /* Hamburger animation */
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}