/* ==========================================
   TAXI BOSCOREALE H24 - MODERN PREMIUM
   Design: Minimal White + Luxury Gold
   Font: Inter + Playfair Display
   ========================================== */

/* ===== IMPORT FONT PREMIUM ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

/* ===== VARIABILI COLORI PREMIUM ===== */
:root {
    /* Colori Premium */
    --primary-gold: #C9A961;
    --gold-dark: #B8860B;
    --gold-light: #E5D4A6;
    
    /* Backgrounds */
    --bg-white: #FFFFFF;
    --bg-cream: #FAF8F5;
    --bg-light: #F5F5F5;
    
    /* Testi */
    --text-dark: #2C2C2C;
    --text-gray: #666666;
    --text-light: #999999;
    
    /* Bordi */
    --border-light: #E8E8E8;
    --border-gold: rgba(201, 169, 97, 0.3);
    
    /* Ombre */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ===== TYPOGRAPHY PREMIUM ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

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

h3 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

h4 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
    font-weight: 400;
}

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* ===== LOGO ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: var(--primary-gold);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ===== NAVIGATION MENU ===== */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.3rem;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--primary-gold);
    transition: transform 0.3s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* ===== MOBILE MENU TOGGLE ===== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary-gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== LANGUAGE SWITCHER ===== */
.language-switcher-wrapper {
    position: relative;
}

.language-switcher {
    font-family: 'Inter', sans-serif;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-switcher:hover {
    background: var(--bg-cream);
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.language-switcher-wrapper:hover .language-dropdown,
.language-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    font-family: 'Inter', sans-serif;
    display: block;
    padding: 0.7rem 1rem;
    color: var(--text-dark);
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    font-weight: 400;
}

.lang-option:hover {
    background: var(--bg-cream);
    color: var(--primary-gold);
}

/* ===== BUTTONS ===== */
.btn {
    font-family: 'Inter', sans-serif;
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--primary-gold);
    color: var(--bg-white);
    box-shadow: 0 2px 8px rgba(201, 169, 97, 0.3);
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--bg-white);
}

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

/* ===== HERO SECTION ===== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-cream) 100%);
    position: relative;
    padding: 8rem 1.5rem 5rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(201, 169, 97, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero p {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}

/* ===== CARDS ===== */
.service-card,
.card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover,
.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-gold);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

.service-card h3,
.card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p,
.card p {
    font-family: 'Inter', sans-serif;
    color: var(--text-gray);
    line-height: 1.7;
    font-weight: 400;
}

/* ===== GRIDS ===== */
.services-grid,
.why-us-grid,
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    font-family: 'Inter', sans-serif;
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: var(--bg-cream);
    border: 1px solid var(--border-gold);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.7;
}

/* ===== FOOTER ===== */
footer {
    background: var(--bg-cream);
    border-top: 1px solid var(--border-light);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.footer-text,
.footer-section p,
.footer-section a {
    font-family: 'Inter', sans-serif;
    color: var(--text-gray);
    font-weight: 400;
}

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

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-gold);
    color: var(--bg-white);
    border-color: var(--primary-gold);
    transform: translateY(-3px);
}

.footer-bottom {
    font-family: 'Inter', sans-serif;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 400;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

/* ===== FORMS ===== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    font-family: 'Inter', sans-serif;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    font-family: 'Inter', sans-serif;
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

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

.form-submit {
    font-family: 'Inter', sans-serif;
    width: 100%;
    padding: 1rem;
    background: var(--primary-gold);
    color: var(--bg-white);
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-submit:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
}

/* ===== CONTENT LAYOUTS ===== */
.about-content,
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-cream);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-gold);
}

.contact-details h4 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.contact-details p,
.contact-details a {
    font-family: 'Inter', sans-serif;
    color: var(--text-gray);
    font-size: 0.95rem;
    font-weight: 400;
}

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

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: rgba(201, 169, 97, 0.15);
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.testimonial-text {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    position: relative;
    z-index: 1;
    font-weight: 400;
    line-height: 1.7;
}

.testimonial-author {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--text-dark);
}

.testimonial-rating {
    color: var(--primary-gold);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* ==========================================
   MOBILE RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    /* Mobile Menu */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: calc(100vh - 70px);
        background: var(--bg-white);
        flex-direction: column;
        padding: 2rem 1.5rem;
        transition: right 0.4s ease;
        border-left: 1px solid var(--border-light);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        width: 100%;
        text-align: left;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-light);
        font-size: 1.05rem;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover {
        padding-left: 0.5rem;
    }
    
    .language-switcher-wrapper {
        width: 100%;
        margin-top: 1rem;
    }
    
    .language-switcher {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
    
    .language-dropdown {
        position: static;
        width: 100%;
        margin-top: 1rem;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        box-shadow: none;
        padding: 0;
    }
    
    /* Hero */
    .hero {
        padding: 6rem 1.5rem 4rem;
        min-height: 80vh;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    /* Buttons */
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    /* Grids */
    .about-content,
    .contact-content,
    .services-grid,
    .why-us-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card,
    .card {
        padding: 2rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    /* WhatsApp */
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .hero {
        padding: 5rem 1rem 3rem;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ===== UTILITIES ===== */
.text-center {
    text-align: center;
}

.text-gold {
    color: var(--primary-gold);
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
