/* ============================================
   ZAYTOON MEDITERRANEAN RESTAURANT
   Custom Styles
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
}

/* --- Geometric Background Decorations --- */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.geo-circle--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(230, 184, 0, 0.06) 0%, transparent 70%);
    top: -200px;
    right: -200px;
}

.geo-circle--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(46, 90, 135, 0.15) 0%, transparent 70%);
    bottom: 10%;
    left: -100px;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    pointer-events: none;
}

.geo-triangle--1 {
    border-width: 0 60px 100px 60px;
    border-color: transparent transparent rgba(230, 184, 0, 0.05) transparent;
    top: 40%;
    right: 5%;
    transform: rotate(15deg);
}

.geo-diamond {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(230, 184, 0, 0.04);
    transform: rotate(45deg);
    pointer-events: none;
}

.geo-diamond--1 {
    top: 60%;
    left: 8%;
}

.geo-arc {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(230, 184, 0, 0.06);
    pointer-events: none;
}

.geo-arc--1 {
    width: 300px;
    height: 300px;
    bottom: 20%;
    right: 10%;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
}

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #e6b800 0%, #c49a00 100%);
    color: #0a1a2e;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(230, 184, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(230, 184, 0, 0.4);
    color: #0a1a2e;
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #e6b800 0%, #c49a00 100%);
    color: #0a1a2e;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 184, 0, 0.25);
}

.btn-gold:hover {
    box-shadow: 0 8px 25px rgba(230, 184, 0, 0.4);
    color: #0a1a2e;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #f0f4f8;
    border: 2px solid rgba(240, 244, 248, 0.3);
    font-weight: 600;
    padding: 12px 26px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: #e6b800;
    color: #e6b800;
    transform: translateY(-2px);
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #f0f4f8;
    border: 2px solid rgba(240, 244, 248, 0.4);
    font-weight: 600;
    padding: 12px 26px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    border-color: #e6b800;
    color: #e6b800;
    transform: translateY(-2px);
}

/* --- Navigation --- */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e6b800;
    transition: width 0.3s ease;
}

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

/* --- Mobile Menu --- */
#mobile-menu {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
}

.mobile-link {
    transition: color 0.3s ease;
}

/* Hamburger Animation */
.menu-line {
    transition: all 0.3s ease;
}

#menu-toggle[aria-expanded="true"] .line-1 {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle[aria-expanded="true"] .line-2 {
    opacity: 0;
}

#menu-toggle[aria-expanded="true"] .line-3 {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Navbar Scroll State --- */
.nav-scrolled {
    background: rgba(10, 26, 46, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* --- Menu Cards --- */
.menu-category {
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.menu-category:hover {
    border-color: rgba(230, 184, 0, 0.3);
    transform: translateY(-2px);
}

.menu-item {
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(124, 154, 188, 0.1);
}

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

/* --- Gallery --- */
.gallery-item {
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 26, 46, 0);
    transition: background 0.3s ease;
    border-radius: inherit;
}

.gallery-item:hover::after {
    background: rgba(10, 26, 46, 0.2);
}

/* --- Testimonial Cards --- */
.testimonial-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(230, 184, 0, 0.3);
}

/* --- Contact Cards --- */
.contact-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-card:hover {
    transform: translateX(4px);
    border-color: rgba(230, 184, 0, 0.3);
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .geo-circle--1 {
        width: 300px;
        height: 300px;
    }
    
    .geo-circle--2 {
        width: 200px;
        height: 200px;
    }
    
    .geo-triangle--1 {
        border-width: 0 30px 50px 30px;
    }
    
    .geo-diamond--1 {
        width: 40px;
        height: 40px;
    }
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a1a2e;
}

::-webkit-scrollbar-thumb {
    background: #1e4065;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2e5a87;
}

/* --- Selection --- */
::selection {
    background: rgba(230, 184, 0, 0.3);
    color: #f0f4f8;
}
