/* =========================================================================
   Amman Relax Bakery & Restaurant - Premium CSS Styling
   ========================================================================= */

/* Variables */
:root {
    --bg-dark: #0f0d0b;
    --bg-card: #181512;
    --bg-card-hover: #1e1b17;
    
    --text-primary: #fdfbf7;
    --text-secondary: #bbaea0;
    
    --accent-primary: #e6a322;
    --accent-hover: #c48a1b;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
}

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

ul {
    list-style: none;
}

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

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

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 1rem;
}

h2.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

h1 span, h2 span, .logo-text, .subtitle, .feature-item i, .footer-brand span {
    color: var(--accent-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--font-body);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 163, 34, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--accent-primary);
}

.btn-outline:hover {
    background-color: var(--accent-primary);
    color: var(--bg-dark);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
}

.navbar.scrolled {
    background: rgba(15, 13, 11, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.5s ease;
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-primary);
}

.mobile-nav-links {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-links li a {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05); /* Slight zoom for premium feel */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15,13,11,0.9) 0%, rgba(15,13,11,0.6) 50%, rgba(15,13,11,0.3) 100%);
}

.hero-content {
    max-width: 800px;
}

.subtitle {
    display: block;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

/* About Section */
.about {
    padding: 6rem 0;
    overflow-x: hidden;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--accent-primary);
    color: var(--bg-dark);
    padding: 2rem;
    border-radius: 50%;
    width: 160px;
    height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(230, 163, 34, 0.3);
}

.experience-badge .years {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.feature-item {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
}

.feature-item:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: rgba(230, 163, 34, 0.2);
}

.feature-item i {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Specialties Section */
.specialties {
    padding: 6rem 0;
    background-color: #12100e;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.specialty-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
}

.specialty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(230, 163, 34, 0.3);
}

.card-img-wrap {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.specialty-card:hover .card-img-wrap img {
    transform: scale(1.1);
}

.card-content {
    padding: 2.5rem;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.card-content p {
    color: var(--text-secondary);
}

/* Gallery Section */
.gallery {
    padding: 6rem 0;
    overflow-x: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid rgba(255,255,255,0.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: var(--accent-primary);
    font-size: 1.2rem;
    font-family: var(--font-heading);
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay h4 {
    transform: translateY(0);
}

/* Menu Section */
.menu-section {
    padding: 6rem 0;
    background-color: var(--bg-dark);
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.menu-category h3 {
    color: var(--accent-primary);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    border-bottom: 1px dashed rgba(230, 163, 34, 0.3);
    padding-bottom: 1rem;
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.menu-list li {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 1rem;
    gap: 1rem;
}

.menu-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid rgba(230, 163, 34, 0.3);
}

.menu-item-info {
    flex: 1;
}

.menu-item-info h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.menu-item-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Reviews Section */
.reviews {
    padding: 6rem 0;
    background-color: var(--bg-card);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--bg-dark);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(230, 163, 34, 0.3);
}

.stars {
    color: var(--accent-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.review-card p {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.review-card h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Map / Location Section */
.location {
    padding: 6rem 0;
    background-color: var(--bg-dark);
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.map-container iframe {
    position: relative;
    z-index: 1;
    filter: invert(90%) hue-rotate(180deg) brightness(80%) contrast(150%);
    opacity: 0.8;
}

/* CTA Section */
.cta {
    padding: 8rem 0;
    position: relative;
    text-align: center;
    background: url('../images/hero.png') center/cover no-repeat fixed;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 13, 11, 0.85);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

/* Footer Section */
footer {
    background-color: #080706;
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin: 1rem 0 2.5rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.1);
}

.social-links a:hover {
    background: var(--accent-primary);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.footer-links h3, .footer-contact h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--accent-primary);
    padding-left: 5px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-details li {
    display: flex;
    gap: 1rem;
    color: var(--text-secondary);
    align-items: flex-start;
}

.contact-details i {
    color: var(--accent-primary);
    margin-top: 0.3rem;
}

.contact-details a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.yt-watermark {
    font-style: italic;
}

.yt-watermark strong {
    color: var(--accent-primary);
    font-weight: 500;
}

/* Animations */
.slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpAnim 0.8s forwards cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.delay-4 { animation-delay: 0.8s; }

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

.reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.fade-bottom { transform: translateY(50px); }
.fade-left { transform: translateX(-30px); }
.fade-right { transform: translateX(30px); }

/* Floating Call Button */
.floating-call-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: var(--accent-primary);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(230, 163, 34, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.floating-call-btn:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--accent-hover);
    color: white;
}

.pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent-primary);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .about-container, .menu-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
    }
    
    .experience-badge {
        right: 0;
        bottom: -20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions .btn {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
