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

:root {
    --beige: #F5F2ED;
    --terracotta: #D4A574;
    --sage: #9CA986;
    --charcoal: #3D3D3D;
    --white: #FFFFFF;
    --light-gray: #F9F9F9;
    --border: #E5E5E5;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--beige);
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3 {
    line-height: 1.2;
    font-weight: 600;
}

.section-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--terracotta);
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Pacifico', cursive;
    font-size: clamp(32px, 5vw, 48px);
    color: var(--charcoal);
    margin-bottom: 16px;
    font-weight: 400;
}

.section-subtitle {
    font-size: 18px;
    color: var(--charcoal);
    opacity: 0.7;
    max-width: 600px;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background-color: var(--sage);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(156, 169, 134, 0.3);
}

.btn-primary:hover {
    background-color: #8a9676;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(156, 169, 134, 0.4);
}

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

.btn-secondary:hover {
    background-color: var(--charcoal);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(245, 242, 237, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.nav.scrolled {
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--terracotta);
}

.nav-link-cta {
    background-color: var(--sage);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
}

.nav-link-cta:hover {
    background-color: #8a9676;
    color: var(--white);
}

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

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--charcoal);
    transition: all 0.3s;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--beige);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.mobile-menu-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 40px;
    color: var(--charcoal);
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: center;
}

.mobile-nav-link {
    font-size: 32px;
    font-weight: 500;
    color: var(--charcoal);
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-nav-link:hover {
    color: var(--terracotta);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 24px 60px;
    position: relative;
}

.hero-content {
    max-width: 700px;
}

.hero-logo {
    margin-bottom: 32px;
    animation: float 3s ease-in-out infinite;
}

.hero-icon {
    width: 120px;
    height: 120px;
    opacity: 0.9;
}

.hero-title {
    font-family: 'Pacifico', cursive;
    font-size: clamp(48px, 8vw, 72px);
    color: var(--charcoal);
    margin-bottom: 16px;
    font-weight: 400;
}

.hero-tagline {
    font-size: clamp(18px, 3vw, 24px);
    color: var(--charcoal);
    opacity: 0.8;
    margin-bottom: 48px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--charcoal);
    opacity: 0.5;
    font-size: 14px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ==========================================
   CHI SONO SECTION
   ========================================== */
.chi-sono {
    padding: 120px 0;
    background-color: var(--white);
}

.chi-sono-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

.chi-sono-visual {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.chi-sono-image {
    text-align: center;
}

.decorative-icon {
    width: 200px;
    height: 200px;
    opacity: 0.8;
    margin: 0 auto;
}

.chi-sono-quote {
    background-color: var(--beige);
    padding: 32px;
    border-radius: 16px;
    position: relative;
}

.quote-mark {
    color: var(--terracotta);
    opacity: 0.3;
    margin-bottom: 16px;
}

.chi-sono-quote p {
    font-size: 20px;
    font-style: italic;
    color: var(--charcoal);
    line-height: 1.6;
}

.chi-sono-text {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 32px;
}

.chi-sono-item {
    display: flex;
    gap: 20px;
}

.chi-sono-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background-color: var(--sage);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.chi-sono-item h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--charcoal);
}

.chi-sono-item p {
    font-size: 16px;
    color: var(--charcoal);
    opacity: 0.7;
    line-height: 1.6;
}

/* ==========================================
   CREAZIONI SECTION (BENTO GRID)
   ========================================== */
.creazioni {
    padding: 120px 0;
}

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

.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.bento-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bento-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 32px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    color: var(--white);
}

.bento-item:hover img {
    transform: scale(1.05);
}

.bento-item:hover .bento-overlay {
    transform: translateY(0);
}

.bento-overlay h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.bento-overlay p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 12px;
}

.bento-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================
   PROCESSO SECTION
   ========================================== */
.processo {
    padding: 120px 0;
    background-color: var(--white);
}

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

.processo-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.processo-step {
    text-align: center;
    position: relative;
}

.processo-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--terracotta);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
}

.processo-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background-color: var(--beige);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sage);
}

.processo-step h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--charcoal);
}

.processo-step p {
    font-size: 16px;
    color: var(--charcoal);
    opacity: 0.7;
    max-width: 300px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ==========================================
   CONTATTI SECTION
   ========================================== */
.contatti {
    padding: 120px 0;
}

.contatti-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto;
}

.contatti-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--charcoal);
    opacity: 0.8;
    margin-bottom: 40px;
}

.contatti-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: var(--white);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.contact-method:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.contact-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.contact-icon.pinterest {
    background-color: #E60023;
}

.contact-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.contact-method div {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 14px;
    color: var(--charcoal);
    opacity: 0.6;
}

.contact-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--charcoal);
}

/* Form */
.contatti-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 15px;
    font-weight: 500;
    color: var(--charcoal);
}

.form-field input,
.form-field textarea {
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--charcoal);
    transition: all 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--sage);
    box-shadow: 0 0 0 4px rgba(156, 169, 134, 0.1);
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-status {
    margin-top: 16px;
    padding: 16px;
    border-radius: 12px;
    display: none;
    font-size: 15px;
}

.form-status.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background-color: var(--charcoal);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 14px;
    opacity: 0.7;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--sage);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.6;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

/* Tablet */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    
    .nav-toggle {
        display: none;
    }
    
    .chi-sono-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-large {
        grid-column: span 2;
    }
    
    .processo-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    .contatti-content {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .bento-large {
        grid-column: span 2;
        grid-row: span 2;
        aspect-ratio: auto;
    }
    
    .bento-xlarge {
        grid-column: span 2;
    }
    
    .bento-medium {
        grid-row: span 2;
        aspect-ratio: auto;
    }
}

/* Mobile optimizations */
@media (max-width: 767px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}
