/* ========================================
   Village Antiques — Custom Styles
   Palette: Charcoal (#2D2D2D) + Coral (#E86A54)
   ======================================== */

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

:root {
    --charcoal: #2D2D2D;
    --charcoal-light: #3D3D3D;
    --coral: #E86A54;
    --coral-dark: #D45740;
    --coral-light: #F28E7A;
    --cream: #FDF6F0;
    --cream-dark: #F5E6DA;
    --white: #FFFFFF;
    --text: #2D2D2D;
    --text-light: #6B6B6B;
    --text-muted: #999999;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-xl: 48px;
    --shadow-sm: 0 2px 8px rgba(45, 45, 45, 0.06);
    --shadow-md: 0 8px 30px rgba(45, 45, 45, 0.1);
    --shadow-lg: 0 20px 60px rgba(45, 45, 45, 0.12);
    --shadow-coral: 0 8px 30px rgba(232, 106, 84, 0.3);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'DM Serif Display', serif;
    line-height: 1.2;
    font-weight: 400;
}

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

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

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-align: center;
}

.btn-coral {
    background: var(--coral);
    color: var(--white);
    border-color: var(--coral);
    box-shadow: var(--shadow-coral);
}

.btn-coral:hover {
    background: var(--coral-dark);
    border-color: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(232, 106, 84, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--charcoal);
    border-color: var(--charcoal);
}

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

.btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
    padding: 18px;
    font-size: 1.05rem;
}

/* --- Section Tags & Titles --- */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 12px;
    background: rgba(232, 106, 84, 0.1);
    padding: 6px 16px;
    border-radius: var(--radius-xl);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--charcoal);
    margin-bottom: 20px;
}

.accent-text {
    color: var(--coral);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 560px;
    line-height: 1.7;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 246, 240, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(45, 45, 45, 0.06);
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(253, 246, 240, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    color: var(--charcoal);
    font-weight: 400;
}

.logo-icon {
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--coral);
    border-radius: 2px;
    transition: width var(--transition);
}

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

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

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(45, 45, 45, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 0;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(232, 106, 84, 0.06) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(232, 106, 84, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    padding-top: 40px;
    padding-bottom: 80px;
}

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

.hero-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--coral);
    background: rgba(232, 106, 84, 0.1);
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    color: var(--charcoal);
    line-height: 1.08;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat-number {
    display: block;
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: var(--charcoal);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(45, 45, 45, 0.12);
}

.hero-image-wrapper {
    position: relative;
    height: 680px;
}

.hero-image-main {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-float {
    position: absolute;
    bottom: 60px;
    left: -60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
    padding: 8px;
}

.hero-image-float img {
    border-radius: var(--radius-sm);
}

.float-badge {
    display: inline-block;
    background: var(--coral);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    margin-top: 8px;
    margin-left: 8px;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* --- Collection Section --- */
.collection {
    padding: 100px 0;
    background: var(--cream);
}

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

.section-header .section-subtitle {
    margin: 0 auto;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.collection-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.collection-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.collection-card:hover .card-image img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 16px;
    right: 16px;
}

.card-tag {
    display: inline-block;
    background: var(--white);
    color: var(--coral);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.card-body {
    padding: 24px 28px 28px;
}

.card-body h3 {
    font-size: 1.4rem;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.card-body p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

.collection-cta {
    text-align: center;
    padding: 48px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.collection-cta p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

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

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

.about-images {
    position: relative;
    height: 600px;
}

.about-img-main {
    width: 75%;
    height: 460px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--white);
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: 50%;
    right: 30%;
    transform: translate(50%, -50%);
    background: var(--coral);
    color: var(--white);
    padding: 24px 28px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-coral);
    z-index: 2;
}

.about-experience-badge .exp-number {
    display: block;
    font-family: 'DM Serif Display', serif;
    font-size: 2.4rem;
    line-height: 1;
}

.about-experience-badge .exp-text {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 4px;
}

.about-content {
    max-width: 500px;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-content .section-title {
    margin-bottom: 28px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 36px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--charcoal);
}

.feature-item svg {
    flex-shrink: 0;
}

/* --- Visit Section --- */
.visit {
    padding: 100px 0;
    background: var(--cream);
}

.visit-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--charcoal);
    border-radius: var(--radius-lg);
    padding: 64px;
    overflow: hidden;
    position: relative;
}

.visit-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 106, 84, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.visit-content {
    position: relative;
    z-index: 1;
}

.visit-content .section-tag {
    background: rgba(232, 106, 84, 0.2);
}

.visit-content .section-title {
    color: var(--white);
    margin-bottom: 20px;
}

.visit-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    max-width: 400px;
}

.visit-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: all var(--transition);
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(6px);
}

.info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--coral);
    border-radius: var(--radius-sm);
    color: var(--white);
    flex-shrink: 0;
}

.info-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--coral-light);
    margin-bottom: 6px;
}

.info-card p {
    font-size: 1rem;
    color: var(--white);
    line-height: 1.6;
}

.info-card a {
    color: var(--white);
}

.info-card a:hover {
    color: var(--coral-light);
}

/* --- Contact Section --- */
.contact {
    padding: 100px 0;
    background: var(--white);
}

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

.contact-info .section-title {
    margin-bottom: 20px;
}

.contact-text {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: 36px;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--charcoal);
    font-weight: 500;
}

.contact-link:hover {
    color: var(--coral);
}

.contact-link svg {
    flex-shrink: 0;
}

/* --- Contact Form --- */
.contact-form-wrapper {
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: 44px;
    box-shadow: var(--shadow-sm);
}

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

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--charcoal);
    letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    padding: 14px 18px;
    border: 2px solid rgba(45, 45, 45, 0.1);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--charcoal);
    transition: all var(--transition);
    outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--coral);
    box-shadow: 0 0 0 4px rgba(232, 106, 84, 0.1);
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: rgba(74, 124, 89, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-success h3 {
    font-size: 1.6rem;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.form-success p {
    color: var(--text-light);
    font-size: 1rem;
}

/* --- Footer --- */
.footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 72px 0 0;
}

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.footer-links h4,
.footer-hours h4,
.footer-contact h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--coral-light);
    margin-bottom: 20px;
}

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

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

.footer-links a:hover {
    color: var(--white);
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    gap: 16px;
}

.footer-hours .closed {
    color: var(--coral-light);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-contact a:hover {
    color: var(--coral-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a:hover {
    color: var(--coral-light);
}

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

[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].aos-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }
    
    .hero-image-wrapper {
        height: 520px;
    }
    
    .about-grid {
        gap: 48px;
    }
    
    .visit-banner {
        padding: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 40px;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .mobile-overlay {
        display: block;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 20px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-subtitle {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        height: 400px;
        order: -1;
    }
    
    .hero-image-float {
        left: -20px;
        bottom: 30px;
    }
    
    .collection-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-images {
        height: 400px;
        order: -1;
    }
    
    .about-content {
        max-width: 100%;
    }
    
    .visit-banner {
        grid-template-columns: 1fr;
        padding: 36px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-image-wrapper {
        height: 300px;
    }
    
    .hero-image-float {
        display: none;
    }
    
    .collection-cta {
        padding: 32px 24px;
    }
    
    .about-images {
        height: 300px;
    }
    
    .about-img-main {
        height: 300px;
    }
    
    .about-img-secondary {
        width: 50%;
    }
    
    .about-experience-badge {
        padding: 16px 20px;
    }
    
    .about-experience-badge .exp-number {
        font-size: 1.8rem;
    }
}
