/* ============================================
   Joy Liquors — Classic & Elegant Stylesheet
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --charcoal-900: #1a1a1a;
    --charcoal-800: #2d2d2d;
    --charcoal-700: #3d3d3d;
    --charcoal-600: #4a4a4a;
    --charcoal-500: #5a5a5a;
    --charcoal-100: #f0ece6;
    --charcoal-50:  #f7f5f2;
    
    --coral-600:  #b5443e;
    --coral-500:  #c9564e;
    --coral-400:  #d4695e;
    --coral-300:  #e08a7e;
    --coral-200:  #edbbb4;
    --coral-100:  #f7d8d4;
    --coral-50:   #fdf1ef;
    
    --gold-400:   #c9a96e;
    --gold-300:   #d4b87e;
    
    --font-serif:   'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans:    'Lato', 'Helvetica Neue', Arial, sans-serif;
    
    --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm:    0 1px 3px rgba(26,26,26,0.08);
    --shadow-md:    0 4px 20px rgba(26,26,26,0.10);
    --shadow-lg:    0 10px 40px rgba(26,26,26,0.12);
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--charcoal-800);
    background: var(--charcoal-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    color: var(--charcoal-900);
}

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

/* --- Section Shared --- */
.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--coral-500);
    margin-bottom: 12px;
    position: relative;
    padding-left: 32px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background: var(--coral-400);
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--charcoal-600);
    max-width: 600px;
    margin: 0 auto;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--coral-500);
    color: #fff;
    border-color: var(--coral-500);
}

.btn-primary:hover {
    background: var(--coral-600);
    border-color: var(--coral-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201,86,78,0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

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

.btn-outline-light:hover {
    background: var(--charcoal-800);
    color: #fff;
}

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

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

.navbar.scrolled {
    background: rgba(26,26,26,0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--coral-500);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    letter-spacing: 0.05em;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}

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

.nav-links a {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    position: relative;
}

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

.nav-links a:hover {
    color: #fff;
}

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

.nav-cta {
    background: var(--coral-500);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--coral-600);
    transform: translateY(-1px);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

.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-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26,26,26,0.70) 0%,
        rgba(26,26,26,0.55) 50%,
        rgba(26,26,26,0.80) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--coral-200);
    border: 1px solid var(--coral-400);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title .accent {
    color: var(--coral-300);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

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

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

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 120px 0;
    background: var(--charcoal-50);
}

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

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

.about-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
}

.about-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 3px solid var(--coral-300);
    border-radius: 4px;
    z-index: -1;
}

.about-content .section-tag {
    padding-left: 0;
}

.about-content .section-tag::before {
    display: none;
}

.about-text {
    font-size: 1.05rem;
    color: var(--charcoal-600);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-text strong {
    color: var(--charcoal-800);
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--charcoal-100);
}

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--coral-500);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--charcoal-500);
}

/* ============================================
   COLLECTION
   ============================================ */
.collection {
    padding: 120px 0;
    background: #fff;
}

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

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

.collection-card {
    display: block;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.card-image {
    position: relative;
    height: 320px;
    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.08);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,26,26,0.50);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: var(--transition);
}

.collection-card:hover .card-overlay {
    opacity: 1;
}

.card-icon {
    width: 56px;
    height: 56px;
    background: var(--coral-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transform: translateY(10px);
    transition: var(--transition);
}

.collection-card:hover .card-icon {
    transform: translateY(0);
}

.card-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    transform: translateY(10px);
    transition: var(--transition);
}

.collection-card:hover .card-label {
    transform: translateY(0);
}

.card-content {
    padding: 24px 28px;
    background: #fff;
}

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

.card-content p {
    font-size: 0.95rem;
    color: var(--charcoal-500);
    line-height: 1.6;
}

/* ============================================
   WHY US
   ============================================ */
.why-us {
    padding: 120px 0;
    background: var(--charcoal-900);
}

.why-us .section-title {
    color: #fff;
}

.why-us .section-subtitle {
    color: rgba(255,255,255,0.6);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.feature-card {
    text-align: center;
    padding: 40px 24px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--coral-400);
    background: rgba(255,255,255,0.03);
    transform: translateY(-4px);
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: rgba(201,86,78,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral-400);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--coral-500);
    color: #fff;
}

.feature-card h3 {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
}

/* ============================================
   CTA
   ============================================ */
.cta {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, var(--coral-600) 0%, var(--coral-500) 50%, var(--coral-400) 100%);
    z-index: 0;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 20px;
}

.cta-title em {
    color: rgba(255,255,255,0.85);
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-actions .btn-primary {
    background: var(--charcoal-900);
    border-color: var(--charcoal-900);
}

.cta-actions .btn-primary:hover {
    background: var(--charcoal-800);
    border-color: var(--charcoal-800);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.cta-actions .btn-outline-light {
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}

.cta-actions .btn-outline-light:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

/* ============================================
   VISIT
   ============================================ */
.visit {
    padding: 120px 0;
    background: var(--charcoal-50);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: stretch;
}

.visit-info .section-tag {
    padding-left: 0;
}

.visit-info .section-tag::before {
    display: none;
}

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

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

.info-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: var(--coral-50);
    border: 1px solid var(--coral-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral-500);
}

.info-item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--charcoal-900);
    margin-bottom: 4px;
}

.info-item p {
    font-size: 0.95rem;
    color: var(--charcoal-600);
    line-height: 1.6;
}

.info-item a {
    color: var(--coral-500);
}

.info-item a:hover {
    color: var(--coral-600);
    text-decoration: underline;
}

.visit-map {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 400px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--charcoal-900);
    padding: 80px 0 0;
}

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

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

.footer-brand p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--coral-400);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.footer-links a:hover {
    color: #fff;
}

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

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

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}

.footer-bottom .responsible {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
    font-style: italic;
}

/* ============================================
   REVEAL ANIMATIONS (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    [data-reveal] {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--charcoal-900);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-wrapper img {
        height: 350px;
    }
    
    .about-accent {
        display: none;
    }
    
    .collection-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .visit-map {
        min-height: 300px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .about-stats {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .about,
    .collection,
    .why-us,
    .cta,
    .visit {
        padding: 80px 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}
