/* Global Styles */
html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Added from product.css for consistency */
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #F8F8F8; /* Light grey background - Consistent */
    color: #333333; /* Darker body text - Consistent */
    overflow-x: hidden; /* Added from product.css for consistency */
    width: 100%; /* Added from product.css for consistency */
    margin: 0; /* Added from product.css for consistency */
}

/* Custom Tailwind Utility Classes (Adjusted to reflect product page's black accent) */
.text-accent-yellow {
    color: #FFAA00; /* Retained if you have specific instances where yellow text is desired */
}
/* Removed .bg-accent-yellow, .hover\:bg-darker-yellow, .border-accent-yellow,
   .focus\:border-accent-yellow, .shadow-accent-yellow-focus from original contact CSS
   as they are replaced by black equivalents from product page styling. */

.bg-black { /* Consistent with product page */
    background-color: #000000;
}
.border-black { /* Consistent with product page */
    border-color: #000000;
}
.focus\:border-black:focus { /* Consistent with product page */
    border-color: #000000;
}
.shadow-black-focus:focus { /* Consistent with product page */
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.4);
}
.text-heading {
    color: #1A1A1A; /* Darker headings - Consistent */
}
.text-body-dark {
    color: #333333; /* Consistent */
}
.font-cinzel { /* Added from product.css for Cinzel font usage */
    font-family: 'Cinzel', serif;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.98); /* Consistent */
    border-bottom: 1px solid #EDEDED; /* Consistent */
    backdrop-filter: blur(8px); /* Consistent */
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08); /* Consistent */
    transition: box-shadow 0.3s ease; /* Consistent */
    position: sticky; /* Added from product.css for sticky header */
    top: 0; /* Added from product.css for sticky header */
    z-index: 50; /* Added from product.css for sticky header */
}

.header-logo-text { /* Added from product.css for logo styling */
    font-family: 'Cinzel', serif;
    font-weight: 800;
}

.nav-link {
    position: relative;
    color: #333333; /* Consistent */
    transition: color 0.3s ease; /* Changed: Removed transform from transition to match product.css */
    font-weight: 500; /* Consistent */
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px; /* Changed: From 2.5px to 2px to match product.css */
    bottom: -4px; /* Changed: From -6px to -4px to match product.css */
    left: 50%;
    transform: translateX(-50%);
    background-color: #000000; /* CHANGED: From #FFAA00 (Fire Yellow) to #000000 (Black) */
    transition: width 0.3s ease; /* Changed: Removed left from transition to match product.css */
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
    transform: translateX(0);
}

.nav-link:hover {
    color: #000000; /* CHANGED: From #FFAA00 (Fire Yellow) to #000000 (Black) */
    /* Removed: transform: translateY(-2px); to match product.css */
}

/* Mobile Menu Styles (Aligned with product.css structure and basic styling) */
#mobile-menu {
    display: none;
    padding-bottom: 1rem;
}

#mobile-menu.active {
    display: flex;
}

.nav-link-mobile {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem; /* Changed: From 1.1rem to 1rem to match product.css */
    font-weight: 500;
    color: #333333;
    width: 100%;
    border-radius: 6px; /* Added from product.css */
}

.nav-link-mobile:hover {
    background-color: #F0F0F0; /* Added from product.css */
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
    #nav-list { /* Assuming #nav-list is your desktop navigation container */
        display: flex;
        flex-direction: row;
        position: static;
        background: none;
        border: none;
        padding: 0;
        box-shadow: none;
    }
    #mobile-menu {
        display: none !important;
    }
}

/* Form Elements (Aligned with product page's black accent) */
.form-input, .form-textarea, .form-select {
    background-color: #FFFFFF; /* Consistent */
    border: 1px solid #CCCCCC; /* Consistent */
    color: #333333; /* Consistent */
    padding: 0.85rem 1.5rem; /* Consistent */
    border-radius: 8px; /* Consistent */
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Consistent */
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    border-color: #000000; /* CHANGED: From #FFAA00 (Fire Yellow) to #000000 (Black) */
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.4); /* CHANGED: From rgba(255, 170, 0, 0.3) to rgba(0, 0, 0, 0.4) */
    outline: none; /* Consistent */
}

.submit-button {
    background-color: #000000; /* CHANGED: From #FFAA00 (Fire Yellow) to #000000 (Black) */
    color: #FFFFFF; /* Consistent */
    padding: 0.85rem 2rem; /* Consistent */
    border-radius: 9999px; /* Consistent */
    font-weight: 600; /* Consistent */
    text-decoration: none; /* Consistent */
    display: inline-flex; /* Consistent */
    align-items: center; /* Consistent */
    justify-content: center; /* Consistent */
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease; /* Consistent */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); /* CHANGED: From rgba(255, 170, 0, 0.3) to rgba(0, 0, 0, 0.15) */
}

.submit-button:hover {
    background-color: #1F1F1F; /* CHANGED: From #CC8800 (Darker Yellow) to #1F1F1F (Darker Black) */
    transform: translateY(-3px); /* Consistent */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); /* CHANGED: From rgba(255, 170, 0, 0.4) to rgba(0, 0, 0, 0.25) */
}

/* Contact Section (Kept as is, as product page doesn't have specific styles for this) */
.contact-container {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

/* Footer (Aligned with product page's dark footer) */
footer {
    background-color: #000000; /* CHANGED: From #EEEEEE to #000000 (Black) */
    color: #FFFFFF; /* CHANGED: From #444444 to #FFFFFF (White) */
    border-top: 1px solid #333333; /* CHANGED: From #E0E0E0 to #333333 */
    margin-top: 2rem; /* Consistent with product.css */
}

.footer-link {
    color: #FFFFFF; /* CHANGED: From #444444 to #FFFFFF (White) */
    transition: color 0.3s ease; /* Consistent */
    font-weight: 500; /* Consistent */
}

.footer-link:hover {
    color: #CCCCCC; /* CHANGED: From #FFAA00 (Fire Yellow) to #CCCCCC (Light Grey) */
}

.footer-social-icon {
    color: #FFFFFF; /* CHANGED: From #555555 to #FFFFFF (White) */
    transition: color 0.3s ease, transform 0.2s ease; /* Consistent */
}

.footer-social-icon:hover {
    color: #CCCCCC; /* CHANGED: From #FFAA00 (Fire Yellow) to #CCCCCC (Light Grey) */
    transform: translateY(-3px); /* Consistent */
}

/* Back to Top (Aligned with product page's dark button) */
#back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #000000; /* CHANGED: From #FFAA00 (Fire Yellow) to #000000 (Black) */
    color: #FFFFFF; /* Consistent */
    width: 55px; /* Consistent */
    height: 55px; /* Consistent */
    border-radius: 50%; /* Consistent */
    display: flex; /* Consistent */
    align-items: center; /* Consistent */
    justify-content: center; /* Consistent */
    opacity: 0; /* Consistent */
    visibility: hidden; /* Consistent */
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease; /* Changed: Removed transform from transition */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); /* CHANGED: From rgba(0, 0, 0, 0.15) */
    z-index: 100; /* Consistent */
    cursor: pointer; /* Consistent */
}

#back-to-top.show {
    opacity: 1; /* Consistent */
    visibility: visible; /* Consistent */
    /* Removed: transform: translateY(0); */
}

#back-to-top:hover {
    background-color: #1F1F1F; /* CHANGED: From #CC8800 (Darker Yellow) to #1F1F1F (Darker Black) */
    transform: scale(1.05); /* Added from product.css */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); /* Consistent */
}

/* Responsive Styles */
@media (max-width: 767px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98); /* Consistent */
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        border-top: 1px solid #EDEDED; /* CHANGED: From #E0E0E0 to #EDEDED */
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08); /* Consistent */
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        width: 100%;
        text-align: center;
        padding: 0.5rem 0; /* Changed: From 0.75rem to 0.5rem for mobile list items */
    }

    .nav-list .nav-link {
        display: block;
        padding: 0.5rem 0; /* Consistent */
        font-size: 1rem; /* Changed: From 1.1rem to 1rem for mobile nav links */
    }

    .mobile-menu-icon {
        display: block;
        z-index: 60;
        color: #333333; /* Consistent with header text color */
    }

    /* Form elements on mobile - no specific changes beyond global ones for consistency */
    .form-input, .form-textarea, .form-select {
        width: 100%;
    }

    footer .container { /* Added from product.css for consistent footer padding on mobile */
        padding: 0 1rem;
    }

    .footer-link, .footer-social-icon { /* Added from product.css for consistent font size on mobile footer */
        font-size: 0.9rem;
    }
}