/* ================================
   Altar Atelier - Wedding & Bridal
   Custom Apparel for Moments Worth Keeping
   ================================ */

:root {
    /* Wedding Color Palette */
    --champagne: #F5E6D3;
    --blush: #FAE8E0;
    --rose-gold: #B76E79;
    --rose-gold-light: #c4878f;
    --rose-gold-bg: #fdf5f6;
    --ivory: #FFFEF9;
    --whisper-gray: #F8F7F5;
    --sage: #9CAF88;
    --dusty-mauve: #C9A9A6;
    --warm-taupe: #A89F91;
    --soft-gold: #D4AF37;

    /* Neutrals */
    --black: #1a1a1a;
    --white: #fcfcfc;
    --gray-100: #f0eeec;
    --gray-200: #e5e2df;
    --gray-300: #d4d0cc;
    --gray-400: #a8a29e;
    --gray-500: #78716c;
    --gray-600: #57534e;
    --gray-700: #44403c;
    --gray-800: #292524;
    --gray-900: #1c1917;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    background: var(--ivory);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ================================
   Typography
   ================================ */
em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 500;
}

/* ================================
   Floating Particles
   ================================ */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--rose-gold);
    border-radius: 50%;
    opacity: 0.25;
    animation: float var(--duration, 8s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(10px, -15px) scale(1.1); }
    50% { transform: translate(-5px, 10px) scale(0.9); }
    75% { transform: translate(15px, 5px) scale(1.05); }
}

/* ================================
   Navigation
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    background: rgba(255, 254, 249, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s var(--ease);
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(183, 110, 121, 0.08);
    padding: 12px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    height: 36px;
    width: auto;
    transition: transform 0.3s var(--ease);
}

.logo:hover .logo-icon {
    transform: scale(1.05);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--gray-800);
}

.nav-links {
    display: none;
    align-items: center;
    gap: 40px;
    margin-left: auto;
    margin-right: 24px;
}

@media (min-width: 1024px) {
    .nav-links { display: flex; }
}

.nav-links a {
    font-size: 15px;
    font-weight: 400;
    color: var(--gray-600);
    transition: color 0.2s;
}

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

.nav-actions {
    display: none;
    align-items: center;
    gap: 16px;
}

@media (min-width: 1024px) {
    .nav-actions { display: flex; }
}

.btn-nav {
    padding: 12px 28px;
    background: var(--rose-gold);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    border-radius: 100px;
    border: 1px solid var(--rose-gold);
    transition: all 0.3s var(--ease);
}

.btn-nav:hover {
    background: var(--rose-gold-light);
    border-color: var(--rose-gold-light);
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(183, 110, 121, 0.25);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    z-index: 101;
}

@media (min-width: 1024px) {
    .mobile-menu-btn { display: none; }
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--black);
    transition: all 0.3s var(--ease);
}

.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }

.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--ivory);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease);
}

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

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-menu-links a {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 500;
    color: var(--gray-700);
}

.mobile-cta {
    margin-top: 16px;
    padding: 14px 32px;
    background: var(--rose-gold);
    color: var(--white) !important;
    border-radius: 100px;
    font-family: var(--font-sans) !important;
    font-size: 15px !important;
}

/* ================================
   Hero Section
   ================================ */
.hero {
    min-height: min(100vh, 900px);
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    position: relative;
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1.3fr 1fr;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-content {
        text-align: left;
        max-width: none;
    }
}

/* Hero Visual */
.hero-visual {
    display: none;
    justify-content: center;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-visual {
        display: flex;
    }
}

.hero-logo-mark {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-mark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--blush) 0%, var(--champagne) 50%, var(--rose-gold-bg) 100%);
    border-radius: 50%;
    opacity: 0.6;
    animation: pulse-soft 4s ease-in-out infinite;
}

.hero-logo-mark::after {
    content: '';
    position: absolute;
    inset: 20px;
    border: 1px solid var(--rose-gold);
    border-radius: 50%;
    opacity: 0.3;
}

@keyframes pulse-soft {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.05); opacity: 0.4; }
}

.hero-logo-svg {
    width: 200px;
    height: auto;
    position: relative;
    z-index: 1;
    opacity: 0.15;
    transition: opacity 0.4s var(--ease);
}

.hero-logo-mark:hover .hero-logo-svg {
    opacity: 0.25;
}

.hero-eyebrow {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--rose-gold);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
    color: var(--gray-800);
}

.hero-title span {
    display: block;
}

.hero-title .accent {
    color: var(--rose-gold);
}

.hero-description {
    font-size: 18px;
    color: var(--gray-500);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.8;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-buttons {
        justify-content: flex-start;
    }
}

.hero-description {
    margin-left: 0;
    margin-right: 0;
}

@media (max-width: 1023px) {
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
}

.btn {
    padding: 16px 32px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 100px;
    transition: all 0.3s var(--ease);
}

.btn-primary {
    background: var(--rose-gold);
    color: var(--white);
    border: 1px solid var(--rose-gold);
}

.btn-primary:hover {
    background: var(--rose-gold-light);
    border-color: var(--rose-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(183, 110, 121, 0.2);
}

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

.btn-secondary:hover {
    background: var(--whisper-gray);
    border-color: var(--gray-400);
}

.btn-large {
    padding: 18px 40px;
    font-size: 15px;
}

/* ================================
   Section Styles
   ================================ */
.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--rose-gold);
    padding: 8px 16px;
    border: 1px solid var(--rose-gold);
    border-radius: 100px;
    margin-bottom: 20px;
}

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

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--gray-800);
}

.section-description {
    font-size: 17px;
    color: var(--gray-500);
    margin-top: 16px;
    max-width: 600px;
    line-height: 1.7;
}

.section-header.center .section-description {
    margin-left: auto;
    margin-right: auto;
}

/* ================================
   Philosophy Section
   ================================ */
.philosophy {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: var(--whisper-gray);
}

.philosophy-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 768px) {
    .philosophy-layout {
        grid-template-columns: 1fr 1.5fr;
        gap: 80px;
    }
}

.philosophy-content {
    max-width: 600px;
}

.philosophy-lead {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-800);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.philosophy-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-500);
    margin-bottom: 16px;
}

/* ================================
   Occasions Section
   ================================ */
.occasions {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.occasions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .occasions-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .occasions-grid { grid-template-columns: repeat(4, 1fr); }
}

.occasion-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 32px 24px;
    transition: all 0.4s var(--ease);
}

.occasion-card:hover {
    border-color: var(--rose-gold);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(183, 110, 121, 0.1);
}

.occasion-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

.occasion-title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--gray-800);
}

.occasion-items {
    list-style: none;
}

.occasion-items li {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
    padding-left: 16px;
    position: relative;
    margin-bottom: 6px;
}

.occasion-items li::before {
    content: "·";
    position: absolute;
    left: 0;
    color: var(--rose-gold);
    font-weight: 700;
}

/* ================================
   Garments Section
   ================================ */
.garments {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: var(--rose-gold-bg);
}

.garments-intro {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 700px;
    line-height: 1.7;
    margin-bottom: 48px;
}

.garments-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .garments-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .garments-grid { grid-template-columns: repeat(3, 1fr); }
}

.garment-category {
    background: var(--white);
    border-radius: 12px;
    padding: 28px;
    border: 1px solid var(--gray-100);
}

.garment-category h3 {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--gray-800);
}

.garment-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.garment-list li {
    font-size: 13px;
    color: var(--gray-600);
    background: var(--whisper-gray);
    padding: 6px 12px;
    border-radius: 100px;
}

.garments-cta {
    margin-top: 48px;
    text-align: center;
}

.garments-cta p {
    font-size: 17px;
    color: var(--gray-600);
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ================================
   Process Section
   ================================ */
.process {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 640px) {
    .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .process-grid { grid-template-columns: repeat(4, 1fr); }
}

.process-step {
    position: relative;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 56px;
    font-weight: 400;
    color: var(--rose-gold);
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 16px;
    display: block;
    letter-spacing: -0.03em;
}

.step-title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.step-description {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ================================
   Testimonials Section
   ================================ */
.testimonials {
    padding: 100px 0;
    background: var(--whisper-gray);
    position: relative;
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 48px;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-100);
}

.testimonial-content {
    flex-grow: 1;
    margin-bottom: 24px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    font-style: italic;
}

.testimonial-text::before {
    content: """;
    font-size: 48px;
    font-family: var(--font-serif);
    color: var(--rose-gold);
    line-height: 0;
    display: block;
    margin-bottom: 16px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose-gold) 0%, var(--rose-gold-light) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
}

.author-event {
    font-size: 13px;
    color: var(--gray-500);
}

/* ================================
   FAQ Section
   ================================ */
.faq-home-section {
    padding: 100px 0;
    background: var(--ivory);
    position: relative;
    z-index: 1;
}

.faq-home-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 48px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .faq-home-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.faq-home-item {
    padding: 28px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--gray-100);
}

.faq-home-item h4 {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--gray-800);
}

.faq-home-item p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ================================
   Trust Stats Section
   ================================ */
.trust-stats {
    padding: 60px 0;
    background: var(--ivory);
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.trust-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media (min-width: 768px) {
    .trust-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.trust-stat {
    text-align: center;
}

.trust-number {
    font-family: var(--font-serif);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 500;
    color: var(--rose-gold);
    display: block;
    line-height: 1;
    letter-spacing: -0.02em;
}

.trust-label {
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 8px;
    display: block;
}

/* ================================
   CTA Section
   ================================ */
.cta-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    text-align: center;
    background: var(--rose-gold-bg);
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--gray-800);
    margin-bottom: 16px;
}

.cta-description {
    font-size: 18px;
    color: var(--gray-500);
    margin-bottom: 32px;
    line-height: 1.7;
}

.cta-email {
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 20px;
}

.cta-email a {
    color: var(--rose-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ================================
   Footer
   ================================ */
.footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--gray-200);
    position: relative;
    z-index: 1;
    background: var(--ivory);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-top { grid-template-columns: 1fr 2fr; }
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-text {
    font-size: 20px;
}

.footer-logo-icon {
    height: 32px;
    width: auto;
    opacity: 0.7;
}

.footer-tagline {
    font-style: italic;
    color: var(--gray-500);
    font-size: 14px;
    margin-top: 8px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.footer-column h4 {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-column a:hover { color: var(--rose-gold); }

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-bottom p {
    font-size: 12px;
    color: var(--gray-500);
}

.footer-bottom a {
    font-size: 12px;
    color: var(--rose-gold);
    transition: opacity 0.2s;
}

.footer-bottom a:hover {
    opacity: 0.7;
}

/* ================================
   Scrollbar
   ================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--ivory); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }
::selection { background: var(--rose-gold); color: var(--white); }

/* ================================
   Animations (will be enhanced by JS)
   ================================ */
.animate-fade-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
}

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

.animate-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
