/* ===========================
   RESET & BASE STYLES
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-color: #6B4423;
    --secondary-color: #B8933D;
    --accent-color: #8B7355;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;

    /* Fonts */
    --font-primary: 'Montserrat', sans-serif;
    --font-heading: 'Playfair Display', serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-max-width: 1200px;

    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ===========================
   HEADER
   =========================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 0;
    line-height: 1.2;
}

.tagline {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 2px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 5px 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    height: 600px;
    background: linear-gradient(rgba(107, 68, 35, 0.75), rgba(107, 68, 35, 0.75)), url('4.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 70px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    z-index: 2;
}

.hero h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 2px solid var(--secondary-color);
}

.cta-button:hover {
    background: transparent;
    border-color: var(--white);
    transform: translateY(-2px);
}

/* ===========================
   ABOUT SECTION
   =========================== */
.about {
    padding: var(--section-padding);
    background: var(--white);
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.about-content .lead {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

/* ===========================
   SERVICES SECTION
   =========================== */
.services {
    padding: var(--section-padding);
    background: var(--light-bg);
}

.services h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
}

.service-icon svg {
    width: 60px;
    height: 60px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===========================
   GALLERY SECTION
   =========================== */
.gallery {
    padding: var(--section-padding);
    background: var(--white);
}

.gallery h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    aspect-ratio: 4/3;
    cursor: pointer;
}

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

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

/* ===========================
   IMAGE MODAL
   =========================== */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    animation: zoomIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--white);
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10000;
    transition: var(--transition);
    line-height: 1;
}

.modal-close:hover {
    color: var(--secondary-color);
}

@keyframes zoomIn {
    from {
        transform: translateY(-50%) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
}

/* ===========================
   LOCATION SECTION
   =========================== */
.location {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.location h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
}

.location-text {
    text-align: center;
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.location-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.location-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1.05rem;
    backdrop-filter: blur(10px);
}

/* ===========================
   CONTACT SECTION
   =========================== */
.contact {
    padding: var(--section-padding);
    background: var(--light-bg);
}

.contact h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-intro {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.contact-card a {
    color: var(--secondary-color);
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a svg {
    width: 24px;
    height: 24px;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-2px) scale(1.1);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

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

.footer-section ul li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 968px) {
    .hero h2 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .services h2,
    .gallery h2,
    .location h2,
    .contact h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav {
        gap: 20px;
    }

    .hero {
        height: 500px;
        margin-top: 120px;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

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

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-list {
        flex-direction: column;
        align-items: center;
    }

    :root {
        --section-padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .nav a {
        font-size: 0.9rem;
    }

    .logo-img {
        height: 50px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .tagline {
        font-size: 0.75rem;
    }

    .hero {
        height: 400px;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }

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

    .modal-close {
        top: 10px;
        right: 20px;
        font-size: 40px;
    }

    .modal-content {
        max-width: 95%;
        max-height: 80vh;
    }
}

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-content,
.service-card,
.gallery-item,
.contact-card {
    animation: fadeIn 0.6s ease-out;
}

/* ===========================
   UTILITIES
   =========================== */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}
