/* Variabili e Reset */
:root {
    --bg-cream: #fffaf5; /* Panna leggerissimo */
    --text-dark: #3a2c24; /* Cioccolato fondente */
    --text-muted: #8c7a6b;
    
    /* Colori Macaron */
    --rose: #e6b3b3; /* Rosa Antico */
    --rose-dark: #d49595;
    --gold: #cfa86e; /* Oro tenue */
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --transition: all 0.4s ease;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    font-family: var(--font-body);
}

body {
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, .logo {
    font-family: var(--font-heading);
    font-weight: 600;
}

h1 {
    font-size: clamp(3rem, 7vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.2;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.eyebrow {
    display: inline-block;
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.divider {
    width: 60px;
    height: 1px;
    background-color: var(--gold);
    margin: 1.5rem auto;
}

.divider.left {
    margin-left: 0;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
    background-color: transparent;
}

.navbar.scrolled {
    background: rgba(255, 250, 245, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(58, 44, 36, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: 1px;
}

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

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    border-radius: 0; /* Stile lussuoso e squadrato */
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--rose);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--rose-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
}

.btn-outline:hover {
    background-color: var(--text-dark);
    color: var(--bg-cream);
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    padding-right: 2rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 200px 200px 0 0; /* Forma ad arco */
    box-shadow: 0 20px 50px rgba(58, 44, 36, 0.1);
}

.floating-badge {
    position: absolute;
    bottom: 10%;
    left: -10%;
    background: #fff;
    padding: 2rem;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
}

.floating-badge span:first-child {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--gold);
}

.floating-badge span:last-child {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Creations Section */
.creations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.creation-card {
    text-align: center;
}

.creation-card .img-wrapper {
    overflow: hidden;
    margin-bottom: 1.5rem;
    aspect-ratio: 4/5;
}

.creation-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

/* Banner */
.banner {
    background-image: linear-gradient(rgba(58,44,36,0.8), rgba(58,44,36,0.8)), url('https://images.unsplash.com/photo-1558961363-fa8fdf82db35?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    text-align: center;
    color: #fff;
    padding: 150px 0;
}

.banner h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.banner p {
    color: #f0e6dd;
    max-width: 600px;
    margin: 0 auto;
}

/* Order Section */
.order-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.order-text p {
    margin-bottom: 2rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-info strong {
    color: var(--gold);
}

/* Elegant Form */
.elegant-form {
    background: #fff;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(58,44,36,0.05);
}

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

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-bottom: 1px solid rgba(58,44,36,0.2);
    background: transparent;
    font-family: var(--font-body);
    color: var(--text-dark);
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--rose);
}

.success-msg {
    text-align: center;
    padding: 3rem 0;
}

.success-msg h3 {
    color: var(--gold);
}

/* Footer */
footer {
    border-top: 1px solid rgba(58,44,36,0.1);
    padding: 3rem 0;
    text-align: center;
}

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

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

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* Responsive */
@media (max-width: 900px) {
    .hero-container, .order-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
    }
    
    .floating-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
    }
    
    .divider {
        margin: 1.5rem auto;
    }
    
    .elegant-form {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-btn { display: none; }
    .mobile-toggle { display: flex; flex-direction: column; gap: 6px; cursor: pointer; }
    .mobile-toggle span { width: 30px; height: 1px; background: var(--text-dark); }
}
