:root {
    /* Color Palette derived from Cosmic/Galaxy theme & Rose Gold typography */
    --space-dark: #050811;
    --cosmic-blue: #0b132b;
    --cosmic-teal: #1c2541;
    --nebula-purple: #3a1c41;
    --rose-gold: #d68f6b;
    --copper: #bf734e;
    --text-main: #f0f4f8;
    --text-muted: #aab6c4;
    
    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Variables */
    --transition-fast: 0.2s cubic-bezier(0.17, 0.67, 0.83, 0.67);
    --transition-smooth: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
    background-color: var(--space-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    scroll-behavior: smooth;
    line-height: 1.6;
    position: relative;
}

/* Background Stars Effect using gradients */
.stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: 
        radial-gradient(circle at 15% 50%, rgba(28, 37, 65, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(58, 28, 65, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(11, 19, 43, 0.8) 0%, transparent 50%);
    background-color: var(--space-dark);
}

.stars-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: radial-gradient(white 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.05;
}

/* Typography styles */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.highlight {
    color: var(--rose-gold);
    display: inline-block;
    background: linear-gradient(135deg, var(--rose-gold), #f1bfaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(214, 143, 107, 0.2);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 10;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-main);
    text-transform: uppercase;
}

.logo span {
    color: var(--rose-gold);
}

.nav-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: none;
}

@media (min-width: 768px) {
    .nav-tagline { display: block; }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    padding: 6rem 5% 4rem;
    text-align: center;
    position: relative;
}

@media (min-width: 992px) {
    .hero-section {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
        padding-top: 8rem;
    }
}

.hero-content {
    flex: 1;
    max-width: 600px;
    margin-top: 2rem;
}

@media (min-width: 992px) {
    .hero-content {
        margin-top: 0;
        padding-right: 2rem;
    }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .hero-subtitle {
        margin-left: 0;
    }
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: transparent;
    color: var(--rose-gold);
    border: 1px solid var(--rose-gold);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--rose-gold);
    transition: var(--transition-smooth);
    z-index: -1;
}

.cta-button:hover {
    color: var(--space-dark);
    box-shadow: 0 0 20px rgba(214, 143, 107, 0.4);
}

.cta-button:hover::before {
    width: 100%;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
    width: 100%;
}

.glow-effect {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(28, 37, 65, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
    animation: pulse 4s infinite alternate ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 0.8; }
}

.pizza-hero-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    z-index: 2;
    animation: float 6s infinite ease-in-out;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Features Section */
.features-section {
    padding: 5rem 5%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
    z-index: 2;
    background: linear-gradient(to bottom, transparent, rgba(11, 19, 43, 0.8), transparent);
}

@media (min-width: 768px) {
    .features-section {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: rgba(28, 37, 65, 0.3);
    border: 1px solid rgba(214, 143, 107, 0.1);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(214, 143, 107, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    background: rgba(28, 37, 65, 0.5);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--rose-gold);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Menu Section */
.menu-section {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.section-desc {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

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

@media (min-width: 768px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 3rem;
        row-gap: 2rem;
    }
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed rgba(214, 143, 107, 0.3);
    transition: var(--transition-fast);
}

.menu-item:hover {
    border-bottom-color: var(--rose-gold);
}

.menu-item-info {
    flex: 1;
    padding-right: 1.5rem;
}

.menu-item-title {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.menu-item-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.menu-item-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--rose-gold);
    font-weight: 700;
}

/* Sticky Order Button */
.sticky-order-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, #25D366, #128C7E); /* WhatsApp distinct colors to stand out */
    color: white;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: var(--transition-smooth);
    animation: bounce-subtle 3s infinite;
}

.sticky-order-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
    animation-play-state: paused;
}

.btn-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
}

@keyframes bounce-subtle {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

@media (max-width: 768px) {
    .sticky-order-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.8rem 1.2rem;
    }
    .btn-text {
        font-size: 1rem;
    }
}

/* Animations JS classes */
.fade-in {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: scale(1);
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer Section */
footer {
    background-color: rgba(5, 8, 17, 0.95);
    padding: 4rem 5% 2rem;
    text-align: center;
    border-top: 1px solid rgba(214, 143, 107, 0.1);
    position: relative;
    z-index: 2;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--rose-gold);
}

footer p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: var(--rose-gold);
}

.copyright {
    font-size: 0.85rem !important;
    color: rgba(170, 182, 196, 0.5) !important;
    margin-bottom: 0 !important;
}
