/* ═══════════════════════════════════════════════════════════
   MARADA CAFE - LUXURY ART DECO DESIGN
   CSS Completo Professionale
   ═══════════════════════════════════════════════════════════ */

/* === VARIABILI CSS === */
:root {
    --gold-old: #B8860B;
    --gold: #DAA520;
    --gold-light: #F4E5C1;
    --champagne: #F7E7CE;
    
    --grey-smoke: #4A4A4A;
    --grey-light: #6B6B6B;
    --grey-lighter: #9E9E9E;
    --grey-pale: #E0E0E0;
    
    --black: #1A1A1A;
    --white: #FFFFFF;
    --cream: #FDF9F3;
    
    --font-display: 'Cormorant Garamond', serif;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Raleway', sans-serif;
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--black);
    line-height: 1.7;
    background: var(--cream);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* === HEADER === */
.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 2rem 4rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 1rem 4rem;
    box-shadow: 0 2px 40px rgba(184, 134, 11, 0.15);
    border-bottom: 1px solid var(--gold-light);
}

.main-nav {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    height: 90px;
    transition: all 0.5s ease;
    filter: drop-shadow(0 4px 20px rgba(218, 165, 32, 0.4));
}

.site-header.scrolled .site-logo {
    height: 70px;
}

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

.nav-menu a {
    color: var(--grey-smoke);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    transition: all 0.4s ease;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.4s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--gold-old);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
}

/* === HERO SECTIONS === */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--black) 0%, var(--grey-smoke) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8rem 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(218, 165, 32, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(218, 165, 32, 0.1) 0%, transparent 50%);
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
}

.hero-ornament {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto 3rem;
    position: relative;
}

.hero-ornament::before,
.hero-ornament::after {
    content: '◆';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 1.5rem;
}

.hero-ornament::before { left: -30px; }
.hero-ornament::after { right: -30px; }

.hero h1 {
    font-family: var(--font-display);
    font-size: 8rem;
    font-weight: 300;
    font-style: italic;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: 8px;
    line-height: 1;
    text-shadow: 0 0 40px rgba(218, 165, 32, 0.5);
    animation: heroTitle 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes heroTitle {
    from {
        opacity: 0;
        transform: translateY(50px);
        letter-spacing: 20px;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 8px;
    }
}

.hero .subtitle {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 3rem;
    animation: fadeIn 2s ease 0.5s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 4rem;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.6s ease;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold);
    transition: left 0.6s ease;
    z-index: -1;
}

.hero-cta:hover::before {
    left: 0;
}

.hero-cta:hover {
    color: var(--black);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(218, 165, 32, 0.4);
}

/* === SECTIONS === */
section {
    padding: 10rem 4rem;
    position: relative;
}

.section-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 2rem;
    font-weight: 600;
}

.section-title {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 300;
    font-style: italic;
    color: var(--grey-smoke);
    margin-bottom: 3rem;
    line-height: 1.2;
}

.section-text {
    font-size: 1.1rem;
    color: var(--grey-light);
    line-height: 2;
    margin-bottom: 2rem;
}

/* === GRID LAYOUTS === */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* === CARDS === */
.card {
    background: var(--white);
    padding: 4rem 3rem;
    transition: all 0.5s ease;
    border: 1px solid var(--grey-pale);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-old) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.card:hover::before {
    opacity: 0.95;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(184, 134, 11, 0.3);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    transition: all 0.6s ease;
}

.card:hover .card-icon {
    transform: scale(1.2);
    filter: brightness(0) invert(1);
}

.card h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    font-style: italic;
    color: var(--grey-smoke);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    transition: all 0.6s ease;
}

.card:hover h3 {
    color: var(--white);
}

.card p {
    color: var(--grey-light);
    position: relative;
    z-index: 2;
    transition: all 0.6s ease;
}

.card:hover p {
    color: var(--champagne);
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 3rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    transition: all 0.4s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
    border: 2px solid var(--gold);
}

.btn-primary:hover {
    background: var(--gold-old);
    border-color: var(--gold-old);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(184, 134, 11, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--white);
}

/* === FORMS === */
.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--grey-smoke);
    margin-bottom: 0.8rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--black);
    background: var(--white);
    border: 2px solid var(--grey-pale);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* === FOOTER === */
.site-footer {
    background: var(--grey-smoke);
    color: var(--white);
    padding: 6rem 4rem 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
    max-width: 1600px;
    margin: 0 auto 4rem;
}

.footer-logo {
    height: 80px;
    margin-bottom: 2rem;
}

.footer-slogan {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--gold-light);
    margin-bottom: 1rem;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 2rem;
}

.footer-links,
.footer-contacts,
.footer-hours {
    list-style: none;
}

.footer-links li,
.footer-contacts li,
.footer-hours li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-links a {
    color: var(--grey-lighter);
    transition: color 0.3s ease;
}

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

.footer-contacts i {
    color: var(--gold);
    min-width: 20px;
    margin-top: 3px;
}

.footer-contacts a {
    color: var(--white);
    transition: color 0.3s ease;
}

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

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-icons a {
    width: 50px;
    height: 50px;
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.3rem;
    transition: all 0.4s ease;
}

.social-icons a:hover {
    background: var(--gold);
    color: var(--black);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin-bottom: 2rem;
}

.footer-bottom {
    text-align: center;
    max-width: 1600px;
    margin: 0 auto;
}

.copyright {
    color: var(--grey-lighter);
    font-size: 0.9rem;
}

.copyright .separator {
    margin: 0 1rem;
}

.admin-link {
    color: var(--gold-light);
    transition: color 0.3s ease;
}

.admin-link:hover {
    color: var(--gold);
}

/* === WHATSAPP FLOATING === */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.4s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 15px 60px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 10px 60px rgba(37, 211, 102, 0.7); }
}

/* === ANIMATIONS === */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

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

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .grid-2, .grid-3, .grid-4, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 5rem;
    }
    
    section {
        padding: 6rem 2rem;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 1.5rem 2rem;
    }
    
    .site-logo {
        height: 60px;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 95px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 2rem;
        text-align: center;
        box-shadow: 0 10px 50px rgba(0,0,0,0.2);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 3rem;
        letter-spacing: 3px;
    }
    
    .hero .subtitle {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 30px;
        bottom: 20px;
        right: 20px;
    }
}
