/* Elegant Typography and Base Styling */
:root {
    --primary-color: #c8a97e;
    --secondary-color: #1a1a1a;
    --accent-color: #d4af37;
    --text-light: #ffffff;
    --text-dark: #1a1a1a;
    --background-dark: #0f0f0f;
    --background-light: #f9f9f9;
    --transition: all 0.3s ease;
    --shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

@media (min-width: 1200px) {
    * {
        box-sizing: content-box;
    }
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 70px; /* Matches navbar height */
    width: 100%;
}

/* Elegant Header Styling */
header {
    position: relative;
    height: 60vh;
    min-height: 450px;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(200, 169, 126, 0.2);
    padding: 8rem 0;  /* Added padding for better spacing */
    margin-bottom: 2rem; /* Added margin to separate from content below */
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--background-dark), transparent);
    pointer-events: none;
}

.header-content {
    position: relative;
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;  /* Increased padding */
    z-index: 1;
    margin: 0 auto; /* Center the content */
}

/* Add laptop-specific adjustments */
@media (min-width: 992px) and (max-width: 1200px) {
    header {
        height: 65vh;  /* Slightly increased height for laptops */
    }
    
    .header-content {
        max-width: 900px;
        padding: 2rem 3rem;
    }
}

/* Remove the surrounding container effect */
.logo-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 2rem 2.5rem;
    max-width: 600px;
    width: 100%;
    animation: fadeIn 1.5s ease-in-out;
}

/* Remove the background effect */
.logo-container::before {
    display: none;
}

/* Updated logo styling */
.logo {
    width: 220px; /* Increased from 180px */
    height: auto;
    margin-bottom: 2.5rem;
    filter: drop-shadow(0 0 30px rgba(200, 169, 126, 0.7)); /* Increased shadow size and opacity */
    animation: pulseGlow 2s infinite;
    transition: transform 0.5s ease;
    border-radius: 10px; 
}

/* Update the pulseGlow animation for a bigger effect */
@keyframes pulseGlow {
    0% {
        filter: drop-shadow(0 0 15px rgba(200, 169, 126, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(200, 169, 126, 0.9)); /* Increased maximum glow size */
    }
    100% {
        filter: drop-shadow(0 0 15px rgba(200, 169, 126, 0.5));
    }
}
.header-text {
    text-align: center;
    width: 100%; /* Ensure the text container takes full width */
    max-width: 100%; /* Prevent overflow */
}

/* Updated header text styling */
.header-text h1 {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
    white-space: normal; /* Allow text to wrap if needed */
    margin-left: auto;
    margin-right: auto;
}

.header-text h1 strong {
    font-weight: 600;
}

.header-text h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.header-text p {
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 6px;
    color: var(--text-light);
    margin-top: 1.5rem;
    opacity: 0.9;
    margin-left: auto;
    margin-right: auto;
}

.header-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.1;
    z-index: 0;
}

.header-decoration::before,
.header-decoration::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
}

.header-decoration::before {
    top: -150px;
    right: -150px;
}

.header-decoration::after {
    bottom: -150px;
    left: -150px;
}

@media (max-width: 768px) {
    .header-text h1 {
        font-size: 2.8rem;
        letter-spacing: 5px;
        white-space: normal; /* Allow text to wrap on narrow screens */
        padding: 0 10px;
    }
    
    .header-text p {
        font-size: 1rem;
        letter-spacing: 3px;
        padding: 0 15px;
    }
    
    .logo {
        width: 180px; /* Increased from 150px */
        margin-bottom: 2rem;
    }
    
    header {
        min-height: 400px;
        height: auto;
        padding: 4rem 0;
    }
    
    .logo-container {
        padding: 2rem 1.5rem;
    }
    
    .menu-items {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .category {
        height: 200px;
    }
    
    .categories.minimized {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .menu-container {
        padding: 2rem 1.5rem;
        margin: 0 0.5rem;
    }
    
    .menu-header h2 {
        font-size: 2.2rem;
        letter-spacing: 3px;
    }
    
    .container {
        padding: 3rem 1rem;
    }
    
    /* Improve mobile navigation */
    .nav-menu {
        padding-top: 70px;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
    }
    
    /* Ensure no horizontal overflow */
    .categories, .menu-items {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .nav-logo-img {
        height: 46px; /* Increased from 42px */
    }
}

@media (max-width: 480px) {
    .header-text h1 {
        font-size: 2.2rem;
        letter-spacing: 3px;
        margin-bottom: 0.5rem;
        white-space: normal;
    }
    
    .header-text h1::after {
        width: 60px;
    }
    
    .header-text p {
        font-size: 0.9rem;
        letter-spacing: 2px;
        margin-top: 1rem;
    }
    
    .logo {
        width: 150px; /* Increased from 120px */
        margin-bottom: 1.5rem;
    }
    
    .logo-container {
        width: 95%;
        padding: 1.5rem 1rem;
    }
    
    header {
        min-height: 350px;
        padding: 3rem 0;
    }
    
    .categories.minimized {
        grid-template-columns: 1fr;
    }
    
    .categories.minimized .category {
        height: 60px;
    }
    
    .menu-item-price {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        top: -25px;
        right: 15px;
    }
    
    .menu-item-title {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .menu-item-description {
        font-size: 0.9rem;
    }
    
    .menu-item-info {
        padding: 1.5rem;
    }
    
    .menu-item-image {
        height: 200px;
    }
    
    .menu-header h2 {
        font-size: 1.9rem;
    }
    
    .back-to-top {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
        letter-spacing: 2px;
        margin: 2rem auto 0.5rem;
    }
    
    /* Improve lightbox on mobile */
    .lightbox-content {
        max-width: 95%;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
    
    .lightbox-caption h3 {
        font-size: 1.2rem;
    }
    
    /* Better responsive footer */
    .footer-content {
        padding: 0 1rem;
    }
    
    .social-links {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .social-icon {
        width: 24px;
        height: 24px;
    }
    
    .footer-info p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    /* Fix navbar on very small screens */
    .navbar {
        height: 55px;
    }
    
    body {
        padding-top: 55px;
    }
    
    .nav-logo-img {
        height: 42px; /* Adjusted for smaller screens */
    }
    
    .nav-toggle span {
        width: 24px;
    }
}

@media (max-width: 350px) {
    .header-text h1 {
        font-size: 1.9rem;
        letter-spacing: 2px;
    }
    
    .header-text p {
        font-size: 0.8rem;
        letter-spacing: 1.5px;
    }
    
    .logo {
        width: 130px; /* Increased from 110px */
    }
    
    .menu-container {
        padding: 1.5rem 1rem;
    }
    
    .menu-header h2 {
        font-size: 1.7rem;
        letter-spacing: 2px;
    }
    
    .category-overlay {
        font-size: 1.2rem;
        padding: 1.2rem;
    }
    
    .nav-logo-img {
        height: 40px; /* Adjusted for very small screens */
    }
    
    .navbar {
        height: 50px;
    }
    
    body {
        padding-top: 50px;
    }
}

@media (max-width: 480px) {
    .header-text h1 {
        font-size: 2.4rem;
        letter-spacing: 4px;
    }
    
    .header-text p {
        font-size: 1rem;
        letter-spacing: 3px;
    }
    
    .logo-container {
        width: 95%;
        padding: 2rem;
    }
    
    .categories.minimized {
        grid-template-columns: 1fr;
    }
    
    .menu-header h2 {
        font-size: 2.2rem;
    }
    
    .category-overlay {
        font-size: 1.3rem;
    }
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

/* Luxurious Category Section */
.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.categories.minimized {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.categories.minimized .category {
    height: 80px;
    transform: none;
    border-radius: var(--border-radius);
}

.categories.minimized .category:hover {
    transform: translateY(-5px);
}

.categories.minimized .category-overlay {
    font-size: 1rem;
    padding: 0.8rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5));
}

.category {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
    border: 1px solid rgba(200, 169, 126, 0.2);
}

.category:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(200, 169, 126, 0.25);
}

.category img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
    max-width: 100%;
}

.category:hover img {
    transform: scale(1.12);
    filter: brightness(0.6) contrast(1.1);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.8rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: var(--text-light);
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: var(--transition);
}

.category:hover .category-overlay {
    background: linear-gradient(to top, rgba(200, 169, 126, 0.9), transparent);
    padding-bottom: 2.2rem;
}

/* Elegant Menu Section */
.menu-container {
    background-color: rgba(18, 18, 18, 0.85);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow);
    backdrop-filter: blur(15px);
    border: 1px solid var(--primary-color);
    display: none !important; /* Hide initially with higher specificity */
    position: relative;
    overflow: hidden;
    visibility: hidden; /* Added to ensure it's completely hidden */
    opacity: 0; /* Added for smoother transitions */
}

.menu-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.menu-container.active {
    display: block !important; /* Override with higher specificity */
    visibility: visible; /* Show when active */
    opacity: 1; /* Full opacity when active */
    animation: fadeIn 0.8s ease;
}

.menu-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    display: none; /* Hide by default */
}

.menu-container.active .menu-header {
    display: block; /* Only show in active containers */
}

.menu-header h2 {
    font-size: 2.8rem;
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--primary-color);
    display: inline-block;
    padding-bottom: 1.2rem;
    position: relative;
}

.menu-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.menu-section {
    display: none;
}

.menu-section.active {
    display: block;
    animation: fadeIn 0.8s ease;
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 100%;
    overflow-x: hidden;
}

.menu-item {
    background-color: rgba(10, 10, 10, 0.95);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(200, 169, 126, 0.15);
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(200, 169, 126, 0.2);
    border-color: var(--primary-color);
}

.menu-item-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
    max-width: 100%;
}

.menu-item:hover .menu-item-image {
    transform: scale(1.08);
    filter: brightness(0.8) contrast(1.1);
}

.menu-item-info {
    padding: 2rem;
    position: relative;
}

.menu-item-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.menu-item-price {
    position: absolute;
    top: -30px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--text-dark);
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 11px;
    font-size: 1.1rem;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.menu-item:hover .menu-item-price {
    transform: scale(1.1);
}

.menu-item-description {
    color: #d0d0d0;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
}

/* Elegant Button */
.back-to-top {
    display: none; /* Hide by default instead of block */
    margin: 3rem auto 1rem;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 40px;
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Only show the back-to-top button when its parent menu section is active */
.menu-section.active .back-to-top {
    display: block;
    animation: fadeIn 0.8s ease;
}

.back-to-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

/* Add hover effect to back-to-top button */
.back-to-top:hover {
    color: var(--text-dark);
}

.back-to-top:hover::before {
    width: 100%;
}

/* Floating Back to Top Button */
#floating-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--text-dark);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
    transform: translateY(20px);
}

/* Special handling for desserts and hookah sections */
#desserts-header, #hookah-header {
    margin-top: 0;
    padding-top: 0;
}

/* Remove container from desserts and hookah sections */
#desserts.menu-section, #hookah.menu-section {
    padding-top: 0;
}

/* Adjust spacing between menu-header and menu items for desserts and hookah */
#desserts-header + #desserts .menu-items,
#hookah-header + #hookah .menu-items {
    margin-top: 2rem;
}

/* Floating Back to Top Button */
#floating-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--text-dark);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
    transform: translateY(20px);
}

#floating-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#floating-back-to-top:hover {
    background-color: var(--accent-color);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-5px);
}

#floating-back-to-top svg {
    transition: transform 0.3s ease;
}

#floating-back-to-top:hover svg {
    transform: translateY(-3px);
}

/* Responsive adjustments for floating button */
@media (max-width: 768px) {
    #floating-back-to-top {
        width: 45px;
        height: 45px;
        bottom: 25px;
        right: 25px;
    }
}

@media (max-width: 480px) {
    #floating-back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
}

/* Luxurious Footer */
footer {
    background-color: var(--secondary-color);
    padding: 4rem 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
}
.social-icon {
    width: 40px;
    height: 40px;;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease;
    filter: brightness(0.9) sepia(1) hue-rotate(5deg) saturate(1.2);
    opacity: 0.85;
}

.social-icon:hover {
    transform: translateY(-8px) rotate(15deg);
    filter: brightness(1) sepia(1) hue-rotate(5deg) saturate(1.5);
    opacity: 1;
}

.footer-info p {
    margin-bottom: 1.2rem;
    color: #b0b0b0;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.copyright {
    margin-top: 2.5rem;
    font-size: 0.9rem;
    opacity: 0.7;
    letter-spacing: 1px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 5px rgba(200, 169, 126, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(200, 169, 126, 0.8);
    }
    100% {
        box-shadow: 0 0 5px rgba(200, 169, 126, 0.5);
    }
}

/* Lightbox for large image view */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(8px);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    overflow: hidden;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    max-width: 100%;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
}

.lightbox-close:hover {
    background-color: var(--primary-color);
    color: var(--text-dark);
    transform: rotate(90deg);
}

.lightbox-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: var(--text-light);
    text-align: center;
}

.lightbox-caption h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.lightbox-caption p {
    opacity: 0.8;
    font-size: 1rem;
}

/* Make menu item images clickable */
.menu-item-image-container {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.menu-item-image-container::after {
    content: '👁️';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 2.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease;
    z-index: 1;
    opacity: 0;
}

.menu-item-image-container:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.9;
}
.phone-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.phone-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.phone-link:hover {
    color: var(--accent-color);
}

.phone-link:hover::after {
    width: 100%;
}
.dev-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.dev-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.dev-link:hover {
    color: var(--accent-color);
}

.dev-link:hover::after {
    width: 100%;
}
/* Add this to your existing CSS file */
.map-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.map-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.map-link:hover {
    color: var(--accent-color);
}

.map-link:hover::after {
    width: 100%;
}

/* New Navigation Styling */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(200, 169, 126, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    height: 70px; /* Fixed height to ensure consistency */
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.navbar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

/* Remove the surrounding effect from the navbar logo */
.nav-logo::after {
    display: none;
}

/* Also make the navbar logo bigger */
.nav-logo-img {
    height: 82px; /* Increased from 48px */
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.08);
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.8));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding-bottom: 0.3rem;
    position: relative;
    transition: color 0.3s ease;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

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

.nav-location {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    text-align: center;
}

.nav-location::before {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* Add scrolling effect to navbar */
.navbar.scrolled {
    background: rgba(5, 5, 5, 0.98);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
}

.navbar.scrolled .nav-logo-img {
    height: 44px;
}

/* Responsive navbar */
@media (max-width: 992px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        flex-direction: column;
        background: rgba(15, 15, 15, 0.98);
        border-left: 1px solid rgba(200, 169, 126, 0.2);
        padding: 80px 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        backdrop-filter: blur(10px);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .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);
    }

    .nav-logo-img {
        height: 42px;
    }
    
    .navbar.scrolled .nav-logo-img {
        height: 38px;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        width: 100%;
    }

    .nav-logo-img {
        height: 49px;
    }
    
    .navbar {
        height: 60px;
    }
    
    body {
        padding-top: 60px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-text h1 {
        font-size: 3rem;
        letter-spacing: 6px;
    }
    
    .menu-items {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .category {
        height: 220px;
    }

    .categories.minimized {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .menu-container {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .header-text h1 {
        font-size: 2.4rem;
        letter-spacing: 4px;
    }
    
    .header-text p {
        font-size: 1rem;
        letter-spacing: 3px;
    }
    
    .logo-container {
        width: 95%;
        padding: 2rem;
    }
    
    .categories.minimized {
        grid-template-columns: 1fr;
    }
    
    .menu-header h2 {
        font-size: 2.2rem;
    }
    
    .category-overlay {
        font-size: 1.3rem;
    }
}

/* Subcategory Navigation */
.subcategories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    justify-content: center;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
}

.subcategory-btn {
    background-color: rgba(15, 15, 15, 0.8);
    color: var(--text-light);
    border: 1px solid rgba(200, 169, 126, 0.3);
    border-radius: 30px;
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.subcategory-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    opacity: 0.1;
}

.subcategory-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    color: var (--primary-color);
    border-color: var(--primary-color);
}

.subcategory-btn:hover::before {
    width: 100%;
}

.subcategory-btn.active {
    background-color: var(--primary-color);
    color: var(--text-dark);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(200, 169, 126, 0.3);
    transform: translateY(-2px);
}

.subcategory-content {
    display: none;
    animation: fadeIn 0.6s ease;
}

.subcategory-content.active {
    display: block;
}

.subcategory-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 3px;
    position: relative;
    padding-bottom: 1rem;
}

/* Decorative underline for subcategory titles */
.subcategory-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

/* ===============================================
   RESPONSIVE ADJUSTMENTS - SUBCATEGORIES 
   =============================================== */

/* Tablet adjustments (768px and below) */
@media (max-width: 768px) {
    /* Horizontal scrolling container for subcategories */
    .subcategories {
        padding-bottom: 1.5rem;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-padding: 1rem;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
        scrollbar-width: none; /* Hide scrollbar - Firefox */
        padding-bottom: 10px;
    }
    
    /* Hide scrollbar for WebKit browsers (Chrome, Safari, etc.) */
    .subcategories::-webkit-scrollbar {
        display: none;
    }
    
    /* Smaller buttons for mobile view */
    .subcategory-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Adjusted title size for smaller screens */
    .subcategory-title {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
}

/* Mobile adjustments (480px and below) */
@media (max-width: 480px) {
    /* Even smaller buttons for very small screens */
    .subcategory-btn {
        padding: 0.5rem 0.9rem;
        font-size: 0.8rem;
    }
    
    /* Smaller title with reduced letter spacing */
    .subcategory-title {
        font-size: 1.4rem;
        letter-spacing: 2px;
        margin-bottom: 1.2rem;
    }
}

/* Visual indicator for scrollable content on devices up to 992px */
@media (max-width: 992px) {
    /* Gradient fade-out at the right edge to indicate more content */
    .subcategories:after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 30px;
        background: linear-gradient(to right, transparent, rgba(15, 15, 15, 0.8));
        pointer-events: none;
        opacity: 0.8;
        z-index: 1;
    }
}

/* Search Functionality Styling */
.search-container {
    position: relative;
    margin-right: 20px;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: rgba(30, 30, 30, 0.7);
    border-radius: 30px;
    border: 1px solid rgba(200, 169, 126, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
    width: 200px;
}

.search-box:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(200, 169, 126, 0.3);
    background-color: rgba(25, 25, 25, 0.9);
}

.search-box input {
    background: transparent;
    border: none;
    padding: 8px 12px;
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    width: 100%;
    outline: none;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

.search-btn {
    background: transparent;
    border: none;
    color: var(--primary-color);
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

/* About Us Section Styling */
.about-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.about-container {
    background-color: rgba(18, 18, 18, 0.85);
    border-radius: var(--border-radius);
    padding: 3.5rem;
    box-shadow: var(--shadow);
    backdrop-filter: blur(15px);
    border: 1px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease;
}

.about-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.about-header h2 {
    font-size: 2.8rem;
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--primary-color);
    display: inline-block;
    padding-bottom: 1.2rem;
    position: relative;
}

.about-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.about-tagline {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-top: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #d0d0d0;
    margin-bottom: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.about-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(200, 169, 126, 0.2);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-light);
    font-size: 1.05rem;
    font-weight: 300;
}

.info-item svg {
    color: var(--primary-color);
    min-width: 24px;
}

.info-item a {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--primary-color);
}

.info-item .map-link {
    padding-bottom: 0;
}

.info-item .map-link:hover::after {
    width: 0;
}

/* Responsive Styles for About Section */
@media (max-width: 992px) {
    .about-container {
        padding: 3rem 2.5rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .about-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 4rem 0;
    }
    
    .about-container {
        padding: 2.5rem 2rem;
    }
    
    .about-header h2 {
        font-size: 2.4rem;
    }
    
    .about-tagline {
        font-size: 1.1rem;
    }
    
    .about-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 3rem 0;
    }
    
    .about-container {
        padding: 2rem 1.5rem;
    }
    
    .about-header h2 {
        font-size: 2rem;
        letter-spacing: 3px;
    }
    
    .about-tagline {
        font-size: 1rem;
        letter-spacing: 0.5px;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }
    
    .info-item {
        font-size: 0.9rem;
    }
}

/* Search Results Overlay */
.search-results-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 100px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
}

.search-results-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-results-container {
    background-color: rgba(20, 20, 20, 0.95);
    width: 90%;
    max-width: 800px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--primary-color);
    max-height: 80vh;
    overflow-y: auto;
    transform: translateY(-20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-results-overlay.active .search-results-container {
    transform: translateY(0);
}

.search-results-header {
    padding: 20px;
    border-bottom: 1px solid rgba(200, 169, 126, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: rgba(15, 15, 15, 0.95);
    z-index: 1;
}

.search-results-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0;
}

.close-search-results {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.close-search-results:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.search-results-content {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.search-result-item {
    background-color: rgba(30, 30, 30, 0.8);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(200, 169, 126, 0.15);
    display: flex;
    flex-direction: column;
}

.search-result-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.search-result-image {
    height: 160px;
    width: 100%;
    object-fit: cover;
}

.search-result-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.search-result-title {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.search-result-category {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.search-result-price {
    font-weight: 600;
    color: var(--text-light);
    align-self: flex-end;
    background-color: rgba(200, 169, 126, 0.2);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: auto;
}

.no-results-message {
    padding: 30px;
    text-align: center;
    color: var(--text-light);
    font-weight: 300;
    letter-spacing: 1px;
    display: none;
}

/* Responsive search styling */
@media (max-width: 992px) {
    .search-container {
        position: absolute;
        top: 15px;
        right: 70px;
        margin-right: 0;
    }
    
    .search-box {
        width: 180px;
    }
    
    .search-results-overlay {
        padding-top: 80px;
    }
}

@media (max-width: 768px) {
    .search-results-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .search-container {
        right: 60px;
    }
    
    .search-box {
        width: 140px;
    }
    
    .search-box input {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    
    .search-btn {
        padding: 6px 10px;
    }
    
    .search-results-container {
        width: 95%;
    }
    
    .search-results-header h3 {
        font-size: 1.3rem;
    }
}