/* Variables & Color Palette */
:root {
    --primary-color: #5C3A21; /* Warm Brown */
    --accent-color: #D97706; /* Traditional Orange */
    --bg-color: #FAF7F2; /* Cream */
    --text-color: #2B2118; /* Dark Brown */
    --text-light: #5A4E42;
    --white: #FFFFFF;
    
    --heading-font: 'Bebas Neue', sans-serif;
    --body-font: 'Poppins', sans-serif;
    
    --border-radius: 12px;
    --shadow-soft: 0 10px 30px rgba(43, 33, 24, 0.08);
    --shadow-hover: 0 20px 40px rgba(43, 33, 24, 0.15);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.2;
}

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

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

/* Accessibility */
:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--white);
}

.text-center {
    text-align: center;
}

.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.ml-3 { margin-left: 1rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--heading-font);
    font-size: 1.2rem;
    letter-spacing: 1.5px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover, .btn-primary:focus-visible {
    background-color: #B46204;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.3);
}

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

.btn-outline:hover, .btn-outline:focus-visible {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.4rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background-color: rgba(250, 247, 242, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    padding: 16px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--heading-font);
    font-size: 2.2rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.navbar.scrolled .logo {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 4px;
}

.navbar.scrolled .nav-links a {
    color: var(--text-color);
}

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

.nav-links a:hover::after, .nav-links a.active-link::after {
    width: 100%;
}

.nav-links a:hover, .nav-links a.active-link {
    color: var(--accent-color) !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.navbar.scrolled .mobile-menu-btn {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    padding: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(43, 33, 24, 0.7), rgba(43, 33, 24, 0.5));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 850px;
}

.hero h1 {
    font-size: 6rem;
    color: var(--white);
    margin-bottom: 24px;
}

.hero h1 .highlight {
    color: var(--accent-color);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 48px;
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Features */
.features {
    background-color: var(--bg-color);
    margin-top: -80px;
    padding-top: 0;
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--white);
    padding: 48px 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: rgba(217, 119, 6, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 24px;
    transition: var(--transition);
}

.feature-card:hover .icon-wrapper {
    background-color: var(--accent-color);
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.menu-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%; /* Equal height */
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.menu-image {
    height: 250px; /* Fixed height for consistent images */
    overflow: hidden;
    position: relative;
}

.menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.menu-card:hover .menu-image img {
    transform: scale(1.08);
}

.menu-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.menu-content h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.menu-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.menu-content .price {
    font-family: var(--heading-font);
    font-size: 1.6rem;
    color: var(--accent-color);
    letter-spacing: 1px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

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

.stats {
    display: flex;
    gap: 48px;
    margin-top: 40px;
}

.stat-item h4 {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.stat-item span {
    font-weight: 500;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.about-image {
    position: relative;
}

.about-image .image-wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    position: relative;
}

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

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--primary-color);
    color: var(--white);
    padding: 30px;
    border-radius: 50%;
    width: 160px;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-hover);
    border: 6px solid var(--bg-color);
}

.experience-badge .years {
    font-family: var(--heading-font);
    font-size: 2rem;
    line-height: 1.2;
    color: var(--accent-color);
}

.experience-badge .text {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Gallery */
.masonry-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 16px;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    background: #000;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(43, 33, 24, 0);
    transition: var(--transition);
    pointer-events: none;
}

.gallery-item:hover::after {
    background: rgba(43, 33, 24, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.gallery-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
.gallery-item:nth-child(2) { grid-column: 3 / 4; grid-row: 1 / 2; }
.gallery-item:nth-child(3) { grid-column: 4 / 5; grid-row: 1 / 2; }
.gallery-item:nth-child(4) { grid-column: 3 / 5; grid-row: 2 / 3; }

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--white);
    padding: 48px 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%; /* Equal heights */
}

.testimonial-card::before {
    content: '\f10d'; /* Quote icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 32px;
    right: 32px;
    font-size: 2.5rem;
    color: rgba(217, 119, 6, 0.1);
}

.stars {
    color: var(--accent-color);
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.quote {
    font-size: 1.05rem;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 32px;
    flex-grow: 1; /* Pushes author to bottom */
}

.author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(92, 58, 33, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    overflow: hidden;
}

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

.author-info h5 {
    font-family: var(--body-font);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 120px 0;
    text-align: center;
    color: var(--white);
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/hero_dhido_1785041098309.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.cta-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(92, 58, 33, 0.88); /* Deep overlay */
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 4.5rem;
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 1.25rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: stretch;
}

.contact-info .section-title {
    text-align: left;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
}

.info-icon {
    width: 56px;
    height: 56px;
    background: rgba(217, 119, 6, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.info-item:hover .info-icon {
    background: var(--accent-color);
    color: var(--white);
}

.info-item h4 {
    font-family: var(--body-font);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.info-item p {
    color: var(--text-light);
    line-height: 1.5;
}

.contact-map {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    height: 100%;
    min-height: 450px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: #E5E5E5;
    display: block;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 80px;
}

.footer-brand .logo {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.75);
    max-width: 420px;
    font-size: 1.05rem;
}

.footer h4 {
    font-family: var(--heading-font);
    font-size: 2rem;
    margin-bottom: 32px;
    color: var(--white);
}

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

.footer-links ul li {
    margin-bottom: 16px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    display: inline-block;
}

.footer-links ul li a:hover, .footer-links ul li a:focus-visible {
    color: var(--accent-color);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
}

.social-icons a:hover, .social-icons a:focus-visible {
    background: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(217, 119, 6, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUpAnim 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; transition-delay: 0.4s; }

@keyframes fadeUpAnim {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .masonry-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) {
        grid-column: auto;
        grid-row: auto;
        height: 300px;
    }
    .testimonial-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
    .about-grid { gap: 40px; }
}

@media (max-width: 768px) {
    section { padding: 80px 0; }
    .hero h1 { font-size: 4.5rem; }
    .hero p { font-size: 1.15rem; }
    
    .nav-links, .nav-btn { display: none; }
    .mobile-menu-btn { display: block; }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 24px;
        box-shadow: var(--shadow-soft);
        align-items: flex-start;
    }

    .nav-links.active a {
        color: var(--text-color) !important;
        padding: 12px 0;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .features-grid { grid-template-columns: 1fr; gap: 24px; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    
    .experience-badge {
        bottom: 20px;
        left: 20px;
        width: 120px;
        height: 120px;
        padding: 20px;
    }
    .experience-badge .years { font-size: 1.5rem; }
    
    .testimonial-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-map { min-height: 350px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 3.5rem; }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .hero-buttons .btn, .cta-buttons .btn {
        width: 100%;
        margin: 0;
    }
    .cta-buttons { flex-direction: column; }
    .stats { flex-direction: column; gap: 24px; }
    .section-title { font-size: 2.8rem; }
    .cta-content h2 { font-size: 3.5rem; }
}
