/* ==========================================
   TAXI BOSCOREALE H24 - LUXURY STYLE
   Design: Elegante, Moderno, Raffinato
   Palette: Oro (#D4AF37) + Nero + Bianco
   ========================================== */

/* ==========================================
   VARIABILI COLORI LUXURY
   ========================================== */
:root {
    --luxury-gold: #D4AF37;
    --luxury-gold-light: #F4E4C1;
    --luxury-gold-dark: #B8941E;
    --luxury-black: #0A0A0A;
    --luxury-gray: #2A2A2A;
    --luxury-gray-light: #3A3A3A;
    --luxury-white: #FFFFFF;
    --luxury-cream: #FAF9F6;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--luxury-black);
    color: var(--luxury-white);
    line-height: 1.8;
    overflow-x: hidden;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================
   TYPOGRAPHY LUXURY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.3;
    color: var(--luxury-gold);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.2);
}

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

h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--luxury-cream);
    font-weight: 400;
}

a {
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   CONTAINER & LAYOUT
   ========================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
    position: relative;
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    .container {
        padding: 0 1.5rem;
    }
}

/* ==========================================
   NAVBAR LUXURY
   ========================================== */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

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

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

.logo:hover {
    transform: translateY(-2px);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700;
    color: var(--luxury-gold);
    letter-spacing: 2px;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    background: linear-gradient(135deg, var(--luxury-gold), var(--luxury-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    color: var(--luxury-white);
    padding: 0.8rem 1.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--luxury-gold), transparent);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-link:hover::before,
.nav-link.active::before {
    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: 28px;
    height: 3px;
    background: var(--luxury-gold);
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

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

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

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

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
        border-top: 1px solid rgba(212, 175, 55, 0.2);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 1rem;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    }
}

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

.language-switcher {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--luxury-gold);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.language-switcher:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--luxury-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

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

.lang-option {
    display: block;
    padding: 0.8rem 1rem;
    color: var(--luxury-white);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.lang-option:hover {
    background: rgba(212, 175, 55, 0.15);
    color: var(--luxury-gold);
    transform: translateX(5px);
}

.lang-option.active {
    background: rgba(212, 175, 55, 0.2);
    color: var(--luxury-gold);
}

/* ==========================================
   BUTTONS LUXURY
   ========================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    text-align: center;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--luxury-gold), var(--luxury-gold-light));
    color: var(--luxury-black);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(212, 175, 55, 0.6);
}

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

.btn-secondary:hover {
    background: var(--luxury-gold);
    color: var(--luxury-black);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.btn-large {
    padding: 1.3rem 3rem;
    font-size: 1.1rem;
}

/* Button Groups */
.hero-buttons,
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        min-width: auto;
    }
}

/* ==========================================
   HERO SECTION LUXURY
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #0A0A0A 0%, #1a1a1a 50%, #0A0A0A 100%);
    position: relative;
    overflow: hidden;
    padding: 10rem 2rem 6rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    animation: floatGlow 20s ease-in-out infinite;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -30%;
    width: 80%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    animation: floatGlow 25s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes floatGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-30px, 30px) scale(0.95); }
}

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

.hero h1 {
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease both;
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--luxury-gold-light);
    margin-bottom: 2.5rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   CARDS LUXURY
   ========================================== */
.service-card,
.card {
    background: rgba(42, 42, 42, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::before,
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--luxury-gold), transparent);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}

.service-card:hover,
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(212, 175, 55, 0.25);
    border-color: var(--luxury-gold);
    background: rgba(42, 42, 42, 0.7);
}

.service-card:hover::before,
.card:hover::before {
    transform: translateX(100%);
}

.service-icon {
    font-size: 3rem;
    color: var(--luxury-gold);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.service-card h3,
.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p,
.card p {
    color: var(--luxury-cream);
    line-height: 1.7;
}

/* ==========================================
   SECTIONS LUXURY
   ========================================== */
.about-section,
.services-section,
.why-us-section,
.testimonials-section,
.cta-section {
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.accent-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--luxury-gold), transparent);
    margin: 1.5rem auto;
}

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

@media (max-width: 768px) {
    .services-grid,
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(10, 10, 10, 0.8) 100%);
    text-align: center;
    padding: 5rem 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

/* ==========================================
   FOOTER LUXURY
   ========================================== */
footer {
    background: var(--luxury-black);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 3rem 0 1.5rem;
}

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

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.footer-section p,
.footer-section a {
    color: var(--luxury-cream);
    line-height: 1.8;
}

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

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

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--luxury-gold);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--luxury-gold);
    color: var(--luxury-black);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    color: var(--luxury-cream);
    font-size: 0.9rem;
}

/* ==========================================
   TESTIMONIALS LUXURY
   ========================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(42, 42, 42, 0.5);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(212, 175, 55, 0.2);
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
    color: var(--luxury-gold);
}

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

/* ==========================================
   FORM LUXURY
   ========================================== */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--luxury-gold);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(42, 42, 42, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    color: var(--luxury-white);
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--luxury-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    background: rgba(42, 42, 42, 0.7);
}

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

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

.text-gold {
    color: var(--luxury-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; }

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-in-left {
    animation: slideInLeft 0.8s ease both;
}

.animate-slide-in-right {
    animation: slideInRight 0.8s ease both;
}

/* ==========================================
   RESPONSIVE ADJUSTMENTS
   ========================================== */
@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    section { padding: 5rem 0; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .hero {
        padding: 8rem 1.5rem 5rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .service-card,
    .card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    
    .btn {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }
    
    .hero {
        padding: 7rem 1rem 4rem;
    }
}
