/* ============================================
   THIFT STORE — Styles
   Midnight Blue + Mint | Clean Minimalist
   ============================================ */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #ffffff;
    color: #0A1628;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

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

@media (min-width: 768px) {
    .container {
        padding: 0 48px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 64px;
    }
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.eyebrow, .section-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #5EEAD4;
    margin-bottom: 16px;
    display: block;
}

.section-heading {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 24px;
    color: #0A1628;
}

.section-heading-center {
    text-align: center;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(10, 22, 40, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav.scrolled {
    box-shadow: 0 1px 0 rgba(10, 22, 40, 0.06);
}

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

@media (min-width: 768px) {
    .nav-inner {
        padding: 0 48px;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo-mark {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #0A1628;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #0A1628;
    border-radius: 4px;
}

.nav-logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #0A1628;
}

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

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

.nav-link {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0A1628;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #5EEAD4;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav-link-cta {
    color: #5EEAD4;
}

.nav-link-cta:hover {
    color: #34D399;
}

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

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

.nav-toggle-line {
    width: 22px;
    height: 1px;
    background: #0A1628;
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active .nav-toggle-line:first-child {
    transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle.active .nav-toggle-line:last-child {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-link {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 300;
    color: #0A1628;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.mobile-menu-link:hover {
    color: #5EEAD4;
}

.mobile-menu-cta {
    margin-top: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #5EEAD4;
    border: 1px solid #5EEAD4;
    padding: 12px 32px;
    border-radius: 2px;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(94, 234, 212, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(10, 22, 40, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #5EEAD4;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-headline {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #0A1628;
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.hero-headline em {
    font-style: italic;
    color: #5EEAD4;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 300;
    line-height: 1.7;
    color: rgba(10, 22, 40, 0.6);
    max-width: 520px;
    margin: 0 auto 48px;
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: #0A1628;
    color: #ffffff;
}

.btn-primary:hover {
    background: #162A44;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 22, 40, 0.2);
}

.btn-ghost {
    background: transparent;
    color: #0A1628;
    border: 1px solid rgba(10, 22, 40, 0.2);
}

.btn-ghost:hover {
    border-color: #5EEAD4;
    color: #5EEAD4;
}

.btn-full {
    width: 100%;
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeIn 0.8s ease 1.4s forwards;
}

.hero-scroll span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(10, 22, 40, 0.3);
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(94, 234, 212, 0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* --- Dividers --- */
.divider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

@media (min-width: 768px) {
    .divider {
        padding: 0 48px;
    }
}

.divider-line {
    flex: 1;
    height: 1px;
    background: rgba(10, 22, 40, 0.08);
}

.divider-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #5EEAD4;
    flex-shrink: 0;
}

/* --- Sections --- */
.section {
    padding: 100px 0;
}

@media (min-width: 768px) {
    .section {
        padding: 140px 0;
    }
}

/* --- About --- */
.about-grid {
    display: grid;
    gap: 64px;
    align-items: center;
}

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

.about-image-wrap {
    position: relative;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    aspect-ratio: 4/5;
}

.about-image-accent {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(94, 234, 212, 0.4);
    border-radius: 2px;
    z-index: -1;
}

.about-content .section-eyebrow {
    margin-bottom: 20px;
}

.about-text {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(10, 22, 40, 0.7);
    margin-bottom: 20px;
}

.about-text em {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: #0A1628;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(10, 22, 40, 0.08);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 300;
    color: #0A1628;
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(10, 22, 40, 0.4);
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(10, 22, 40, 0.1);
}

/* --- Philosophy --- */
.philosophy {
    background: #0A1628;
    color: #ffffff;
}

.philosophy .section-eyebrow {
    color: #5EEAD4;
    text-align: center;
    margin-bottom: 16px;
}

.philosophy-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 72px;
}

.philosophy .section-heading {
    color: #ffffff;
}

.philosophy-grid {
    display: grid;
    gap: 1px;
    background: rgba(94, 234, 212, 0.1);
    border: 1px solid rgba(94, 234, 212, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

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

.philosophy-card {
    padding: 48px 40px;
    background: #0A1628;
    transition: background 0.3s ease;
}

.philosophy-card:hover {
    background: #0F1F36;
}

.philosophy-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(94, 234, 212, 0.3);
    border-radius: 50%;
    margin-bottom: 28px;
    color: #5EEAD4;
}

.philosophy-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 16px;
    color: #ffffff;
}

.philosophy-card-text {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
}

.philosophy-card-text em {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
}

/* --- Visit --- */
.visit-grid {
    display: grid;
    gap: 64px;
    align-items: center;
}

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

.visit-text {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(10, 22, 40, 0.6);
    margin-bottom: 48px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.visit-detail {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.visit-detail-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(10, 22, 40, 0.12);
    border-radius: 50%;
    color: #5EEAD4;
}

.visit-detail-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(10, 22, 40, 0.4);
    margin-bottom: 4px;
}

.visit-detail-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: #0A1628;
    line-height: 1.6;
}

.visit-detail-value a {
    color: #0A1628;
    border-bottom: 1px solid rgba(94, 234, 212, 0.4);
    transition: border-color 0.3s ease;
}

.visit-detail-value a:hover {
    border-color: #5EEAD4;
}

.visit-image-wrap {
    position: relative;
}

.visit-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    aspect-ratio: 4/3;
}

/* --- Gallery --- */
.gallery-header {
    text-align: center;
    margin-bottom: 56px;
}

.gallery-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
}

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

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

.gallery-item {
    overflow: hidden;
    border-radius: 2px;
    position: relative;
}

.gallery-item--tall {
    grid-row: span 2;
}

.gallery-item--wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-note {
    text-align: center;
    margin-top: 32px;
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(10, 22, 40, 0.4);
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
}

/* --- Contact --- */
.contact-grid {
    display: grid;
    gap: 64px;
    align-items: start;
}

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

.contact-text {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(10, 22, 40, 0.6);
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 300;
    color: #0A1628;
    border-bottom: 1px solid rgba(10, 22, 40, 0.1);
    padding-bottom: 4px;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.contact-link:hover {
    border-color: #5EEAD4;
    color: #5EEAD4;
}

/* Form */
.contact-form-wrap {
    position: relative;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

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

.form-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(10, 22, 40, 0.5);
}

.form-input {
    width: 100%;
    padding: 14px 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: #0A1628;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(10, 22, 40, 0.15);
    border-radius: 0;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input::placeholder {
    color: rgba(10, 22, 40, 0.25);
}

.form-input:focus {
    border-color: #5EEAD4;
}

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 60px 24px;
    text-align: center;
    color: #5EEAD4;
}

.form-success svg {
    color: #5EEAD4;
}

.form-success p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 300;
    color: #0A1628;
}

/* --- Footer --- */
.footer {
    background: #0A1628;
    color: #ffffff;
    padding: 80px 0 0;
}

.footer-inner {
    display: grid;
    gap: 48px;
    grid-template-columns: 1fr;
    padding-bottom: 64px;
}

@media (min-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr 1fr;
        align-items: start;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-mark {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #ffffff;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.footer-logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #ffffff;
}

.footer-tagline {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    max-width: 280px;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-link {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #5EEAD4;
}

.footer-contact p {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: border-color 0.3s ease, color 0.3s ease;
}

.footer-contact a:hover {
    border-color: #5EEAD4;
    color: #5EEAD4;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.footer-bottom p {
    font-size: 0.75rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.05em;
}

/* --- Animations --- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.4;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
