/* ============================================
   BOUTIQUE ANNAMARIA — ELEGANT FASHION WEBSITE
   Color Palette:
   - Deep Charcoal: #1a1a1a
   - Warm Cream: #f8f5f0
   - Gold Accent: #b8966c
   - Soft Rose: #d4a5a5
   - Light Gold: #e8d5b7
   ============================================ */

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

:root {
    --charcoal: #1a1a1a;
    --cream: #f8f5f0;
    --gold: #b8966c;
    --gold-light: #e8d5b7;
    --rose: #d4a5a5;
    --white: #ffffff;
    --gray-100: #f7f7f7;
    --gray-200: #e5e5e5;
    --gray-500: #888888;
    --gray-700: #444444;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.1);
}

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

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background-color: var(--white);
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* --- Typography --- */
.section-tag {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--charcoal);
    margin-bottom: 20px;
}

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

.divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 20px 0;
}

.divider.center {
    margin: 20px auto;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background: var(--gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-full {
    width: 100%;
    text-align: center;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-img {
    height: 50px;
    width: auto;
    border-radius: 4px;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled .logo-img {
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 36px;
    align-items: center;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--white);
    position: relative;
    padding: 4px 0;
}

.navbar.scrolled .nav-link {
    color: var(--charcoal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

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

/* --- Language Picker --- */
.lang-picker {
    display: flex;
    gap: 4px;
    margin-left: 12px;
    border-left: 1px solid rgba(255,255,255,0.2);
    padding-left: 16px;
}

.navbar.scrolled .lang-picker {
    border-left-color: rgba(0,0,0,0.1);
}

.lang-btn {
    background: none;
    border: 1px solid transparent;
    color: rgba(255,255,255,0.85);
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    padding: 4px 8px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 2px;
}

.navbar.scrolled .lang-btn {
    color: var(--gray-700);
}

.lang-btn:hover {
    color: var(--gold);
}

.lang-btn.active {
    color: var(--gold);
    border-color: var(--gold);
}

.navbar.scrolled .lang-btn.active {
    color: var(--gold);
    border-color: var(--gold);
}

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

.nav-toggle span {
    width: 24px;
    height: 1.5px;
    background: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--charcoal);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 50%, #2c2c2c 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(184, 150, 108, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 50%, rgba(212, 165, 165, 0.06) 0%, transparent 50%);
    animation: heroShimmer 15s ease-in-out infinite;
}

@keyframes heroShimmer {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-2%, 1%); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 700px;
    padding: 0 24px;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 1s 0.3s forwards;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 1s 0.5s forwards;
}

.hero-accent {
    font-weight: 500;
    font-style: italic;
    color: var(--gold-light);
}

.hero-description {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeUp 1s 0.7s forwards;
}

.hero .btn-primary {
    background: transparent;
    border: 1px solid var(--gold-light);
    color: var(--gold-light);
    opacity: 0;
    animation: fadeUp 1s 0.9s forwards;
}

.hero .btn-primary:hover {
    background: var(--gold-light);
    color: var(--charcoal);
}

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    display: block;
    width: 24px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span {
    display: block;
    width: 3px;
    height: 8px;
    background: var(--gold-light);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(12px); }
}

/* --- About --- */
.about {
    padding: 120px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-placeholder {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--cream) 0%, var(--gold-light) 100%);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.placeholder-icon {
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.6;
}

.placeholder-text {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.5;
}

.about-text {
    color: var(--gray-700);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.about .btn-secondary {
    margin-top: 16px;
}

/* --- Collections --- */
.collections {
    padding: 120px 0;
    background: var(--cream);
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.collection-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

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

.card-1 { background: linear-gradient(135deg, #e8d5b7 0%, #c9a96e 100%); }
.card-2 { background: linear-gradient(135deg, #d4a5a5 0%, #b88686 100%); }
.card-3 { background: linear-gradient(135deg, #a5c4d4 0%, #7ba3b8 100%); }
.card-4 { background: linear-gradient(135deg, #c4d4a5 0%, #a3b87b 100%); }

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 36px;
    transition: var(--transition);
}

.collection-card:hover .card-overlay {
    background: rgba(26, 26, 26, 0.6);
}

.card-category {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 8px;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 8px;
}

.card-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    transform: translateY(10px);
    opacity: 0;
    transition: var(--transition);
}

.collection-card:hover .card-desc {
    transform: translateY(0);
    opacity: 1;
}

/* --- Products --- */
.new-arrivals {
    padding: 120px 0;
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    cursor: pointer;
}

.product-image {
    aspect-ratio: 3/4;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 16px;
}

.product-1 { background: linear-gradient(180deg, #f0e6d8 0%, #dcc8a9 100%); }
.product-2 { background: linear-gradient(180deg, #e6e0d8 0%, #c8bfb0 100%); }
.product-3 { background: linear-gradient(180deg, #d8e0e6 0%, #b0bfc8 100%); }
.product-4 { background: linear-gradient(180deg, #e6d8e0 0%, #c8b0bf 100%); }

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--charcoal);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 2px;
}

.product-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    transform: translateY(100%);
    transition: var(--transition);
}

.product-card:hover .product-actions {
    transform: translateY(0);
}

.btn-product {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.btn-product:hover {
    background: var(--gold);
    color: var(--white);
}

.product-info {
    text-align: center;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.product-price {
    font-size: 0.9rem;
    color: var(--gold);
    font-weight: 500;
}

.gallery {
    padding: 80px 0 60px;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.gallery-item {
    overflow: hidden;
    aspect-ratio: 3/4;
    display: block;
    position: relative;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
}

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

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 16px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item:hover .gallery-title {
    opacity: 1;
    transform: translateY(0);
}

.gallery-follow {
    text-align: center;
    padding: 48px 24px 0;
}

@media (max-width: 768px) {
    .gallery {
        padding: 60px 0 40px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 16px;
    }

    .gallery-title {
        opacity: 1;
        transform: translateY(0);
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        gap: 8px;
    }
}

/* --- Quote Banner --- */
.quote-banner {
    padding: 100px 0;
    background: var(--charcoal);
    text-align: center;
}

.quote p {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    font-style: italic;
    color: var(--white);
    line-height: 1.4;
    margin-bottom: 20px;
}

.quote cite {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-light);
    font-style: normal;
}

/* --- Contact --- */
.contact {
    padding: 120px 0;
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 8px;
}

.info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.info-item p {
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 48px;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    border: 1px solid var(--gray-200);
    border-radius: 2px;
    background: var(--gray-100);
    transition: var(--transition);
    color: var(--charcoal);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-500);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(184, 150, 108, 0.1);
}

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

/* --- Footer --- */
.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 45px;
    width: auto;
    border-radius: 3px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold-light);
    padding-left: 4px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.social-link:hover {
    color: var(--gold-light);
}

.footer-bottom {
    padding: 28px 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Scroll Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        gap: 28px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        color: var(--charcoal);
        font-size: 0.9rem;
    }

    .nav-menu .lang-picker {
        border-left: none;
        padding-left: 0;
        justify-content: center;
        gap: 8px;
    }

    .nav-menu .lang-btn {
        color: var(--gray-500);
    }

    .nav-menu .lang-btn.active {
        color: var(--gold);
    }

    .collections-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .about, .collections, .new-arrivals, .contact {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.75rem;
    }
}
