/* ========================================
   Café Turin — Bold Editorial Style
   Charcoal + Coral Palette
======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --charcoal-950: #0d0d0d;
    --charcoal-900: #1a1a1a;
    --charcoal-800: #2a2a2a;
    --charcoal-700: #3a3a3a;
    --charcoal-600: #4a4a4a;
    --charcoal-500: #6b6b6b;
    --charcoal-400: #8a8a8a;
    --coral-500: #e8645a;
    --coral-400: #f0786e;
    --coral-300: #f5a098;
    --coral-200: #fad4cf;
    --coral-100: #fdeaea;
    --cream-50: #faf8f6;
    --cream-100: #f5f0eb;
    --cream-200: #ede5dc;
    --white: #ffffff;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--charcoal-800);
    background: var(--cream-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-logo-icon {
    color: var(--coral-400);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links a {
    color: var(--charcoal-400);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-cta {
    background: var(--coral-500) !important;
    color: var(--white) !important;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-xl);
    font-weight: 600 !important;
    transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
    background: var(--coral-400) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--charcoal-950);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
}

.mobile-menu-link {
    color: var(--cream-200);
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    transition: color var(--transition);
}

.mobile-menu-link:hover {
    color: var(--coral-400);
}

.mobile-menu-cta {
    margin-top: var(--space-md);
    background: var(--coral-500);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: var(--radius-xl);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    background: var(--charcoal-950);
    padding: 120px var(--space-xl) var(--space-4xl);
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(232, 100, 90, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(232, 100, 90, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Main Hero Card */
.hero-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    background: var(--charcoal-800);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-card-content {
    padding: var(--space-4xl) var(--space-3xl);
}

.hero-tag {
    display: inline-block;
    color: var(--coral-300);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
    padding: 0.4rem 0.75rem;
    background: rgba(232, 100, 90, 0.12);
    border: 1px solid rgba(232, 100, 90, 0.2);
    border-radius: var(--radius-xl);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.03em;
}

.hero-accent {
    color: var(--coral-400);
    font-style: italic;
}

.hero-sub {
    color: var(--charcoal-400);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Hero Image */
.hero-card-image {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.hero-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
}

/* Floating Stat Cards */
.hero-float-cards {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.float-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    pointer-events: auto;
}

.float-card-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--charcoal-900);
    line-height: 1;
}

.float-card-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--charcoal-500);
}

.float-card--1 {
    top: 15%;
    right: -40px;
}

.float-card--2 {
    bottom: 25%;
    left: -30px;
    flex-direction: row;
    gap: var(--space-sm);
    background: var(--coral-500);
}

.float-card--2 .float-card-number,
.float-card--2 .float-card-label {
    color: var(--white);
}

.float-card--3 {
    bottom: 8%;
    right: 10%;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-xl);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--coral-500);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--coral-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 100, 90, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--coral-400);
    color: var(--coral-400);
}

.btn-outline {
    background: transparent;
    color: var(--charcoal-800);
    border: 1.5px solid var(--charcoal-300);
}

.btn-outline:hover {
    border-color: var(--coral-500);
    color: var(--coral-500);
}

/* --- Section Shared --- */
.section-tag {
    display: inline-block;
    color: var(--coral-500);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--charcoal-900);
    letter-spacing: -0.03em;
    margin-bottom: var(--space-lg);
}

.section-desc {
    color: var(--charcoal-500);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 560px;
}

.section-header {
    margin-bottom: var(--space-3xl);
}

/* --- Products Section --- */
.products {
    padding: var(--space-4xl) 0;
    background: var(--cream-50);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--cream-200);
    transition: all var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.product-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-card-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background: var(--coral-500);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-xl);
}

.product-card-body {
    padding: var(--space-xl);
}

.product-card-body h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--charcoal-900);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

.product-card-body p {
    color: var(--charcoal-500);
    font-size: 0.925rem;
    line-height: 1.65;
}

/* --- About Section --- */
.about {
    padding: var(--space-4xl) 0;
    background: var(--charcoal-900);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 100, 90, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.about-img-main img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    z-index: 2;
    border: 4px solid var(--charcoal-900);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.about-img-secondary img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.about-accent-bar {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    background: var(--coral-500);
    border-radius: var(--radius-md);
    z-index: 0;
}

.about-content {
    position: relative;
    z-index: 1;
}

.about-content .section-title {
    color: var(--white);
}

.about-text {
    color: var(--charcoal-400);
    font-size: 1.025rem;
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.about-stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.about-stat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--coral-400);
    line-height: 1;
}

.about-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--charcoal-500);
}

.about-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

/* --- Visit Section --- */
.visit {
    padding: var(--space-4xl) 0;
    background: var(--cream-50);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.visit-info .section-title {
    margin-bottom: var(--space-md);
}

.visit-desc {
    color: var(--charcoal-500);
    font-size: 1.025rem;
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    max-width: 480px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.visit-detail {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
}

.visit-detail-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral-500);
    flex-shrink: 0;
    border: 1px solid var(--cream-200);
}

.visit-detail-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.visit-detail-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--charcoal-400);
}

.visit-detail-value {
    font-size: 0.95rem;
    color: var(--charcoal-800);
    line-height: 1.5;
}

.visit-detail-phone {
    color: var(--coral-500);
    font-weight: 600;
    transition: color var(--transition);
}

.visit-detail-phone:hover {
    color: var(--coral-400);
}

.visit-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    min-height: 450px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--cream-200);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 450px;
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
}

/* --- Footer --- */
.footer {
    background: var(--charcoal-950);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.footer-logo-icon {
    color: var(--coral-400);
}

.footer-tagline {
    color: var(--charcoal-500);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: var(--space-xl);
}

.footer-links a {
    color: var(--charcoal-400);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color var(--transition);
}

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

.footer-contact {
    text-align: right;
}

.footer-contact p {
    color: var(--charcoal-400);
    font-size: 0.875rem;
    margin-bottom: 4px;
}

.footer-contact a {
    color: var(--coral-400);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--coral-300);
}

.footer-bottom {
    padding-top: var(--space-xl);
    text-align: center;
}

.footer-bottom p {
    color: var(--charcoal-600);
    font-size: 0.8rem;
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal[data-delay="0"] { transition-delay: 0ms; }
.reveal[data-delay="100"] { transition-delay: 100ms; }
.reveal[data-delay="200"] { transition-delay: 200ms; }
.reveal[data-delay="300"] { transition-delay: 300ms; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-card {
        grid-template-columns: 1fr;
    }
    
    .hero-card-image {
        min-height: 350px;
        order: -1;
    }
    
    .hero-card-image img {
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    }
    
    .hero-card-content {
        padding: var(--space-2xl);
    }
    
    .float-card--1 {
        right: 10px;
    }
    
    .float-card--2 {
        left: 10px;
    }
    
    .float-card--3 {
        right: 5%;
    }
    
    .about-grid,
    .visit-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
    
    .about-img-main img {
        height: 400px;
    }
    
    .about-img-secondary {
        right: 0;
        bottom: -30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px var(--space-md) var(--space-3xl);
    }
    
    .hero-float-cards {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-lg);
    }
    
    .about-stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .visit-actions {
        flex-direction: column;
    }
    
    .btn {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-card-content {
        padding: var(--space-xl);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .product-card-body {
        padding: var(--space-lg);
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .product-card-image img {
        transition: none;
    }
    
    .product-card:hover .product-card-image img {
        transform: none;
    }
}
