/* ============================================
   AURA VAULT - Warm & Romantic Prototype
   ============================================ */

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

:root {
    --color-cream: #faf8f5;
    --color-warm: #f5ede4;
    --color-blush: #e8d5c4;
    --color-rose: #c9a88e;
    --color-gold: #b8956c;
    --color-text: #3d3530;
    --color-text-light: #7a6f66;

    --font-serif: 'Libre Baskerville', serif;
    --font-sans: 'Karla', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--color-cream);
    color: var(--color-text);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.3;
}

em {
    font-style: italic;
    color: var(--color-gold);
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
}

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

.nav-links a {
    font-size: 0.9rem;
    color: var(--color-text-light);
    transition: color 0.3s;
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    margin: 3px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--color-gold);
    color: white;
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--color-rose);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--color-gold);
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
    border: 1px solid var(--color-gold);
    border-radius: 50px;
    transition: all 0.3s;
}

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

/* Section Styles */
.section-label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--color-text-light);
}

.section-header.light {
    color: white;
}

.section-header.light .section-label {
    color: var(--color-blush);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 8rem 4rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-decorative {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: var(--color-warm);
    border-radius: 0 0 0 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
}

.hero-label {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-blush);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.hero-image {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.hero-frame {
    width: 400px;
    height: 500px;
    background: white;
    padding: 2rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.hero-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-style: italic;
}

.scroll-hint {
    position: absolute;
    bottom: 3rem;
    left: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.scroll-hint span {
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-light);
    writing-mode: vertical-rl;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: var(--color-blush);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: var(--color-gold);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

/* Story Section */
.story-section {
    padding: 8rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: 1400px;
    margin: 0 auto;
}

.story-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.story-content p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.story-features {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateX(10px);
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.feature-card h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Collection Section */
.collection-section {
    padding: 8rem 4rem;
    background: white;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.ring-card {
    position: relative;
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s;
    cursor: pointer;
}

.ring-card:hover {
    transform: translateY(-10px);
}

.ring-card.featured {
    background: var(--color-warm);
    border-radius: 8px;
}

.ring-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--color-gold);
    color: white;
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 20px;
}

.ring-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    background: var(--color-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--color-text-light);
}

.ring-card.featured .ring-image {
    background: white;
}

.ring-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.ring-info p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
}

.ring-price {
    font-family: var(--font-serif);
    color: var(--color-gold);
    font-size: 1rem;
}

.collection-cta {
    text-align: center;
    margin-top: 4rem;
}

.collection-cta p {
    color: var(--color-text-light);
    margin-bottom: 1rem;
    font-style: italic;
}

/* Love Stories Section */
.love-section {
    padding: 8rem 4rem;
    background: var(--color-text);
    color: white;
}

.testimonials-carousel {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    min-height: 250px;
}

.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.testimonial.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.testimonial blockquote {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-size: 1rem;
    color: var(--color-blush);
}

.author-location {
    font-size: 0.85rem;
    opacity: 0.7;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 3rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active,
.dot:hover {
    background: var(--color-gold);
}

/* Connect Section */
.connect-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
}

.connect-content {
    padding: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--color-warm);
}

.connect-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.connect-content > p {
    color: var(--color-text-light);
    margin-bottom: 3rem;
    max-width: 400px;
}

.connect-info {
    margin-bottom: 2.5rem;
}

.connect-phone {
    display: block;
    margin-bottom: 1.5rem;
}

.phone-label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.phone-number {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--color-gold);
}

.connect-hours span {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.connect-image {
    background: var(--color-blush);
    display: flex;
    align-items: center;
    justify-content: center;
}

.connect-frame {
    width: 300px;
    height: 400px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-light);
    font-style: italic;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    padding: 4rem 2rem;
    background: var(--color-text);
    color: white;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    display: block;
    margin-bottom: 2rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-nav a {
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-nav a:hover {
    opacity: 1;
}

.footer-copy {
    font-size: 0.85rem;
    opacity: 0.5;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-line::after {
        animation: none;
    }

    .testimonial {
        transition: none;
    }
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 3px;
}

.dot:focus-visible {
    outline: 2px solid var(--color-blush);
    outline-offset: 2px;
}

/* Responsive - Tablet (1024px) */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 8rem 2rem 4rem;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 3rem;
    }

    .hero-decorative {
        display: none;
    }

    .scroll-hint {
        display: none;
    }

    .story-section {
        grid-template-columns: 1fr;
        gap: 4rem;
        padding: 6rem 2rem;
    }

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

    .connect-section {
        grid-template-columns: 1fr;
    }

    .connect-image {
        min-height: 400px;
    }
}

/* Responsive - Mobile (768px) */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-container {
        padding: 1rem 1.25rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(250, 248, 245, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 1.25rem 2rem;
        font-size: 1.25rem;
        min-height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Typography for mobile readability */
    body {
        font-size: 16px;
        line-height: 1.8;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.875rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Hero Section Mobile */
    .hero {
        padding: 6rem 1.25rem 3rem;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.25rem;
        margin-bottom: 1.25rem;
    }

    .hero h1 br {
        display: none;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero p br {
        display: none;
    }

    .hero-label {
        font-size: 0.8rem;
        margin-bottom: 1.5rem;
    }

    .hero-frame {
        width: 100%;
        max-width: 300px;
        height: 380px;
        padding: 1.5rem;
    }

    /* Buttons - Touch-friendly sizing */
    .btn-primary,
    .btn-secondary {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Section Headers Mobile */
    .section-header {
        margin-bottom: 2.5rem;
        padding: 0 0.5rem;
    }

    .section-header h2,
    .story-content h2,
    .connect-content h2 {
        font-size: 1.875rem;
    }

    .section-label {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }

    /* Story Section Mobile */
    .story-section {
        padding: 4rem 1.25rem;
        gap: 3rem;
    }

    .story-content h2 br {
        display: none;
    }

    .story-content p {
        font-size: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-card:hover {
        transform: none;
    }

    /* Collection Section Mobile */
    .collection-section {
        padding: 4rem 1.25rem;
    }

    .collection-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 1.5rem;
    }

    .ring-card {
        padding: 1.5rem;
    }

    .ring-card:hover {
        transform: none;
    }

    .ring-image {
        width: 160px;
        height: 160px;
        margin-bottom: 1.25rem;
    }

    .ring-info h3 {
        font-size: 1.125rem;
    }

    .ring-info p {
        font-size: 0.9rem;
    }

    .ring-badge {
        padding: 0.5rem 1rem;
        font-size: 0.65rem;
    }

    .collection-cta {
        margin-top: 2.5rem;
    }

    /* Love Stories Section Mobile */
    .love-section {
        padding: 4rem 1.25rem;
    }

    .testimonials-carousel {
        min-height: 280px;
        padding: 0 0.5rem;
    }

    .testimonial blockquote {
        font-size: 1.125rem;
        line-height: 1.7;
    }

    .carousel-dots {
        margin-top: 2rem;
    }

    .dot {
        width: 44px;
        height: 44px;
        background: transparent;
        position: relative;
    }

    .dot::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transition: background 0.3s;
    }

    .dot.active::after,
    .dot:hover::after {
        background: var(--color-gold);
    }

    /* Connect Section Mobile */
    .connect-section {
        min-height: auto;
    }

    .connect-content {
        padding: 3rem 1.25rem;
        text-align: center;
    }

    .connect-content > p {
        max-width: 100%;
    }

    .connect-info {
        margin-bottom: 2rem;
    }

    .phone-number {
        font-size: 1.5rem;
    }

    .connect-phone {
        min-height: 48px;
        display: inline-block;
        padding: 0.5rem;
    }

    .connect-image {
        min-height: 300px;
    }

    .connect-frame {
        width: 200px;
        height: 260px;
    }

    /* Footer Mobile */
    .footer {
        padding: 3rem 1.25rem;
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: 0;
    }

    .footer-nav a {
        padding: 0.75rem 1rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .footer-copy {
        font-size: 0.8rem;
        margin-top: 1rem;
    }
}

/* Responsive - Small Mobile (480px) */
@media (max-width: 480px) {
    /* Extra small screen adjustments */
    .nav-container {
        padding: 0.875rem 1rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .hero {
        padding: 5rem 1rem 2.5rem;
    }

    .hero h1 {
        font-size: 1.875rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .hero-frame {
        max-width: 260px;
        height: 320px;
        padding: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
    }

    /* Story Section Small Mobile */
    .story-section {
        padding: 3rem 1rem;
    }

    .section-header h2,
    .story-content h2,
    .connect-content h2 {
        font-size: 1.625rem;
    }

    .story-content p {
        font-size: 0.95rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .feature-card h4 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    /* Collection Small Mobile */
    .collection-section {
        padding: 3rem 1rem;
    }

    .ring-card {
        padding: 1.25rem;
    }

    .ring-image {
        width: 140px;
        height: 140px;
    }

    .ring-info h3 {
        font-size: 1rem;
    }

    /* Testimonials Small Mobile */
    .love-section {
        padding: 3rem 1rem;
    }

    .testimonials-carousel {
        min-height: 300px;
    }

    .testimonial blockquote {
        font-size: 1rem;
    }

    .author-name {
        font-size: 0.9rem;
    }

    .author-location {
        font-size: 0.8rem;
    }

    /* Connect Small Mobile */
    .connect-content {
        padding: 2.5rem 1rem;
    }

    .phone-number {
        font-size: 1.375rem;
    }

    .connect-image {
        min-height: 250px;
    }

    .connect-frame {
        width: 180px;
        height: 230px;
    }

    /* Footer Small Mobile */
    .footer {
        padding: 2.5rem 1rem;
    }

    .footer-logo {
        font-size: 1.25rem;
    }
}

/* Prevent horizontal overflow */
html, body {
    overflow-x: hidden;
}

img,
video,
iframe,
.hero-frame,
.connect-frame,
.ring-image {
    max-width: 100%;
}

/* Ensure all interactive elements meet touch target size */
@media (pointer: coarse) {
    a,
    button {
        min-height: 44px;
        min-width: 44px;
    }
}
