:root {
    --primary: #8B4513;
    --secondary: #F5DEB3;
    --accent: #A52A2A;
    --dark: #3C2A21;
    --gold: #D4AF37;
    --gold-light: #FFD700;
    --gold-dark: #B8860B;
    --cream: #000000;
    --dark-brown: #2A1A12;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) #000000;
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #000000;
    border: 3px solid var(--gold);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border: 2px solid var(--gold);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

html, body {
    font-family: 'Poppins', sans-serif;
    background-color: #000;
    overflow-x: hidden;
    color: var(--gold);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--gold);
}

p, span, label, .text-light, .lead {
    color: var(--gold);
}

a {
    color: var(--gold);
    transition: color 0.3s ease;
    text-decoration: none;
}

a:hover {
    color: var(--gold-light);
}

.gold-gradient-text {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--dark-brown);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    height: 80px;
}

.header-container.scrolled {
    height: 70px;
    background: rgba(42, 26, 18, 0.95);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 15px;
}

.logo-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 60px;
    margin-right: 15px;
    border-radius: 8px;
}

.brand-name {
    font-size: 1.8rem;
    color: var(--gold);
    line-height: 1.2;
}

.brand-name-link {
    text-decoration: none;
}

.main-nav {
    display: flex;
}

.nav-links {
    display: flex;
    list-style: none;
    padding: 0;
}

.nav-links li {
    margin: 0;
}

.nav-link {
    color: var(--gold);
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    display: block;
}

.nav-link:hover {
    color: var(--gold-light);
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    color: var(--gold-light);
    background-color: rgba(212, 175, 55, 0.2);
    border-bottom: 2px solid var(--gold);
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1003;
    background: transparent;
    border: none;
}

.hamburger-line {
    width: 30px;
    height: 3px;
    background-color: var(--gold);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background-color: var(--gold-light);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background-color: var(--gold-light);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: -80px;
    isolation: isolate;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    z-index: 3;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    width: 100%;
    padding: 0 20px;
    opacity: 1;
    will-change: transform;
    pointer-events: none;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    color: var(--gold-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-weight: 800;
    opacity: 1;
    will-change: opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    pointer-events: none;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    opacity: 1;
    will-change: opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    pointer-events: none;
}

.hero-buttons {
    pointer-events: auto;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgb(0 0 0 / 30%);
    color: #000000;
    text-decoration: none;
    display: inline-block;
    pointer-events: auto;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgb(0 0 0 / 40%);
    color: #000000;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    position: relative;
    margin-bottom: 50px;
    text-align: center;
    font-size: 2.5rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--gold), var(--gold-light));
}

.section-blue, .section-orange {
    background-color: rgb(0 0 0 / 5%);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-top: 3px solid var(--gold);
}

.menu-category {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgb(0 0 0 / 5%);
    border-radius: 10px;
    border: 2px solid var(--gold);
    transition: all 0.3s ease;
}

.menu-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: var(--gold-light);
}

.menu-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold);
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 5px;
}

.menu-item span:last-child {
    font-weight: bold;
    margin-left: 1rem;
}

.content-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--gold);
    backdrop-filter: blur(10px);
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.proprietor-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    display: block;
    border: 5px solid var(--gold);
}

.gallery-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.gallery-slider {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--gold);
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.gallery-slide.active {
    opacity: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding: 0 20px;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--gold);
}

.quote-section {
    background: url('https://thecoalfarmhouseandbbq.pages.dev/image/BBQ.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.quote-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 40px;
    background: rgba(42, 26, 18, 0.8);
    border-radius: 15px;
    border: 2px solid var(--gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.quote-text {
    font-size: 2.2rem;
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.quote-author {
    font-weight: 500;
    font-size: 1.2rem;
}

#my-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#my-form label {
    font-weight: 500;
    margin-bottom: 5px;
}

#my-form input, #my-form textarea {
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--gold);
}

#my-form input::placeholder, #my-form textarea::placeholder {
    color: rgba(212, 175, 55, 0.7);
}

#my-form input:focus, #my-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

#my-form textarea {
    min-height: 150px;
    resize: vertical;
}

.footer-contact-section {
    background: linear-gradient(rgba(42, 26, 18, 0.9), rgba(42, 26, 18, 0.95));
    padding: 60px 0 40px;
    text-align: center;
}

.footer-contact-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid var(--gold);
}

.footer-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: var(--gold-light);
}

.footer-contact-card i {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.quick-links-section {
    background-color: #2a2a2a;
    padding: 20px 0;
}

.quick-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.quick-link {
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.quick-link:hover {
    color: var(--gold-light);
}

.social-section {
    background-color: transparent;
    padding: 40px 0;
}

.social-section h3 {
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 600;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-link {
    font-size: 1.8rem;
    transition: all 0.3s ease;
    display: inline-block;
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    border-radius: 50%;
    background: #000000;
    border: 3px solid #000000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    color: var(--gold-light);
    border-color: var(--gold);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.copyright-section {
    background-color: #1a1a1a;
    padding: 20px 0;
    text-align: center;
}

.copyright-section p {
    margin-bottom: 0;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25d366, #128C7E);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background: linear-gradient(135deg, #128C7E, #25d366);
    transform: scale(1.1);
}

.checkmark {
    font-size: 5rem;
    margin-bottom: 20px;
}

.error-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)), 
                url('assets/image/slider2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.error-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(42, 26, 18, 0.7), rgba(0, 0, 0, 0.8));
    z-index: -1;
}

.error-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    background: rgba(42, 26, 18, 0.9);
    border-radius: 20px;
    border: 3px solid var(--gold);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.error-number {
    font-size: 12rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    line-height: 1;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.error-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--gold-light);
    font-family: 'Playfair Display', serif;
}

.error-message {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 30px;
    color: var(--gold);
    animation: float 3s ease-in-out infinite;
}

.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.error-btn {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border: none;
    padding: 15px 35px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    color: #d4af37;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
}

.error-btn:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    color: #cca32b;
}

.error-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.error-btn-secondary {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

.error-btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-light);
    color: var(--gold-light);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@media (max-width: 991px) {
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--dark-brown);
        z-index: 1002;
        transition: left 0.4s ease;
        box-shadow: 2px 0 15px rgba(0, 0, 0, 0.3);
        display: flex;
        flex-direction: column;
        padding: 100px 20px 20px;
        overflow-y: auto;
    }

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

    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-link {
        margin: 0;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link:hover {
        transform: translateX(10px);
    }

    .nav-link.active {
        border-left: 3px solid var(--gold);
        border-bottom: none;
    }

    .nav-links li:last-child .nav-link {
        border-bottom: none;
    }

    .hamburger-menu {
        display: flex;
    }
}

@media (max-width: 768px) {
    ::-webkit-scrollbar { width: 8px; }
    ::-webkit-scrollbar-track { border: 2px solid var(--gold); }
    ::-webkit-scrollbar-thumb { border: 2px solid var(--gold); }
    
    body { padding-top: 70px; }
    .header-container { height: 70px; }
    .header-container.scrolled { height: 60px; }
    .hero-slider { height: 100vh; margin-top: -70px; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1.2rem; }
    .section-padding { padding: 60px 0; }
    .section-title { font-size: 2rem; }
    .gallery-slider { height: 50vh; min-height: 400px; border: 2px solid var(--gold); }
    .quote-section { padding: 80px 0; }
    .quote-content { padding: 40px 30px; }
    .quote-text { font-size: 1.8rem; }
    .logo-img { height: 50px; }
    .brand-name { font-size: 1.4rem; }
    .social-link { width: 60px; height: 60px; line-height: 60px; font-size: 1.6rem; }
    .error-section { padding: 40px 0; }
    .error-content { padding: 40px 20px; margin: 20px; }
    .error-number { font-size: 8rem; }
    .error-title { font-size: 2.2rem; }
    .error-message { font-size: 1.1rem; }
    .error-icon { font-size: 3rem; }
    .error-actions { gap: 15px; }
    .error-btn { padding: 12px 25px; min-width: 150px; font-size: 0.9rem; }
}

@media (max-width: 576px) {
    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 1rem; }
    .section-title { font-size: 1.8rem; }
    .gallery-slider { height: 40vh; min-height: 300px; }
    .menu-category { padding: 1rem; }
    .footer-contact-card { padding: 20px; }
    .quick-links { flex-direction: column; gap: 10px; }
    .social-link { width: 55px; height: 55px; line-height: 55px; font-size: 1.4rem; }
    .social-icons { gap: 15px; }
    .whatsapp-float { bottom: 20px; right: 20px; }
    .btn-primary { padding: 10px 25px; font-size: 0.9rem; }
    .quote-section { padding: 60px 0; }
    .quote-content { padding: 30px 20px; }
    .quote-text { font-size: 1.5rem; }
    .error-number { font-size: 6rem; }
    .error-title { font-size: 1.8rem; }
    .error-message { font-size: 1rem; }
    .error-content { padding: 30px 15px; }
    .error-actions { flex-direction: column; align-items: center; }
    .error-btn { width: 100%; max-width: 250px; }
}

@media (max-width: 400px) {
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content p { font-size: 0.9rem; }
    .brand-name { font-size: 1.2rem; }
    .logo-img { height: 40px; margin-right: 8px; }
    .social-link { width: 50px; height: 50px; line-height: 50px; font-size: 1.3rem; }
    .quote-text { font-size: 1.3rem; }
}
