/**
 * Cohen House Homepage — Cinema Grade CSS
 * Option B Rebuild — Ultra Luxury
 * Fonts: Playfair Display (headings), Cormorant Garamond (body/accent), DM Sans (UI)
 */

:root {
    --ch-gold: #C9A227;
    --ch-gold-light: #E8D5A3;
    --ch-gold-dark: #7A6008;
    --ch-navy: #0A1628;
    --ch-navy-light: #142238;
    --ch-cream: #FAF8F5;
    --ch-text: #1C1C1C;
    --ch-text-light: #4A4A4A;
}

/* ═══════════════════════════════════════════
   HERO — CINEMATIC FULLSCREEN
   ═══════════════════════════════════════════ */
.ch-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: -80px; /* overlap WP header */
}
.ch-hero-video {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}
.ch-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,22,40,0.4) 0%, rgba(10,22,40,0.2) 40%, rgba(10,22,40,0.5) 100%);
}
.ch-hero-vignette {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 200px rgba(0,0,0,0.5);
}
.ch-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 1000px;
    padding: 0 2rem;
}
.ch-hero-location {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: chFadeUp 1s 0.5s forwards;
}
.ch-hero-location::before,
.ch-hero-location::after {
    content: '';
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ch-gold));
}
.ch-hero-location::after {
    background: linear-gradient(90deg, var(--ch-gold), transparent);
}
.ch-hero-location span {
    font-family: 'Playfair Display', serif;
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--ch-gold);
}
.ch-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(4rem, 12vw, 9rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: chFadeUp 1s 0.7s forwards;
}
.ch-hero-title span {
    display: block;
    font-style: italic;
    font-weight: 400;
}
.ch-hero-divider {
    width: 1px;
    height: 80px;
    background: linear-gradient(180deg, transparent, var(--ch-gold), transparent);
    margin: 2rem auto;
    opacity: 0;
    animation: chFadeUp 1s 0.9s forwards;
}
.ch-hero-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 300;
    font-style: italic;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0;
    animation: chFadeUp 1s 1.1s forwards;
}
.ch-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: transparent;
    color: #fff;
    padding: 1.2rem 3rem;
    border: 1px solid rgba(255,255,255,0.4);
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    transition: all 0.5s;
    opacity: 0;
    animation: chFadeUp 1s 1.3s forwards;
}
.ch-hero-cta:hover {
    background: var(--ch-gold);
    border-color: var(--ch-gold);
    color: var(--ch-navy);
}
.ch-scroll-indicator {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: chFadeUp 1s 1.5s forwards;
}
.ch-scroll-indicator span {
    font-family: 'Playfair Display', serif;
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
}
.ch-scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--ch-gold), transparent);
    animation: chScrollPulse 2s ease-in-out infinite;
}

@keyframes chFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes chScrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* ═══════════════════════════════════════════
   SECTIONS — SHARED
   ═══════════════════════════════════════════ */
.ch-intro,
.ch-apartments,
.ch-experience,
.ch-blog-section,
.ch-tours,
.ch-cta-section {
    padding: clamp(6rem, 15vw, 12rem) 5%;
}
.ch-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}
.ch-section-overtitle {
    font-family: 'Playfair Display', serif;
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--ch-gold-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}
.ch-section-overtitle::before,
.ch-section-overtitle::after {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--ch-gold);
}
.ch-section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--ch-text);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}
.ch-section-title em {
    font-style: italic;
    color: var(--ch-gold-dark);
}
.ch-section-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.1rem, 1.8vw, 1.25rem);
    color: var(--ch-text-light);
    line-height: 1.8;
}

/* ═══════════════════════════════════════════
   INTRO — STATS
   ═══════════════════════════════════════════ */
.ch-intro { background: #fff; }
.ch-intro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 4rem auto 0;
    padding-top: 4rem;
    border-top: 1px solid rgba(201,162,39,0.2);
}
.ch-stat { text-align: center; }
.ch-stat-value {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.5rem, 6vw, 5rem);
    font-weight: 400;
    color: var(--ch-gold-dark);
    line-height: 1;
}
.ch-stat-value span {
    font-size: 0.5em;
    vertical-align: super;
}
.ch-stat-label {
    font-family: 'Playfair Display', serif;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ch-text-light);
    margin-top: 0.75rem;
}

/* ═══════════════════════════════════════════
   APARTMENTS — THE COLLECTION
   ═══════════════════════════════════════════ */
.ch-apartments { background: var(--ch-cream); }
.ch-apt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}
.ch-apt-card {
    position: relative;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.08);
    transition: all 0.6s cubic-bezier(0.4,0,0.2,1);
    text-decoration: none;
    color: inherit;
}
.ch-apt-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 50px 100px rgba(0,0,0,0.15);
}
.ch-apt-img {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
}
.ch-apt-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.4,0,0.2,1);
}
.ch-apt-card:hover .ch-apt-img img {
    transform: scale(1.1);
}
.ch-apt-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10,22,40,0.9) 100%);
}
.ch-apt-name {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
}
.ch-apt-name h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}
.ch-apt-name p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-style: italic;
    color: rgba(255,255,255,0.8);
}
.ch-apt-body { padding: 2rem; }
.ch-apt-specs {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.ch-apt-spec { text-align: center; }
.ch-apt-spec-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--ch-text);
}
.ch-apt-spec-label {
    font-family: 'Playfair Display', serif;
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ch-text-light);
}
.ch-apt-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Playfair Display', serif;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ch-gold-dark);
    transition: gap 0.3s;
}
.ch-apt-card:hover .ch-apt-link { gap: 1.25rem; }

/* ═══════════════════════════════════════════
   EXPERIENCE
   ═══════════════════════════════════════════ */
.ch-experience {
    background: var(--ch-navy);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.ch-experience::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(201,162,39,0.08) 0%, transparent 50%);
}
.ch-experience .ch-section-title { color: #fff; }
.ch-experience .ch-section-subtitle { color: rgba(255,255,255,0.85); }
.ch-exp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.ch-exp-item {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(201,162,39,0.15);
    border-radius: 4px;
    transition: all 0.5s;
}
.ch-exp-item:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(201,162,39,0.3);
    transform: translateY(-8px);
}
.ch-exp-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(201,162,39,0.15), rgba(201,162,39,0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}
.ch-exp-icon svg { stroke: var(--ch-gold); }
.ch-exp-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ch-gold);
    margin-bottom: 1rem;
}
.ch-exp-item p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════
   BLOG CAROUSEL
   ═══════════════════════════════════════════ */
.ch-blog-section { background: #fff; overflow: hidden; }
.ch-blog-carousel {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}
.ch-blog-track {
    display: flex;
    gap: 2.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 2rem 0;
}
.ch-blog-track::-webkit-scrollbar { display: none; }
.ch-blog-card {
    flex: 0 0 400px;
    scroll-snap-align: start;
    background: var(--ch-cream);
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.5s;
}
.ch-blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(0,0,0,0.1);
}
.ch-blog-card-img {
    aspect-ratio: 16/10;
    background: var(--ch-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.ch-blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ch-blog-icon {
    width: 80px;
    height: 80px;
    background: rgba(201,162,39,0.1);
    border: 1px solid rgba(201,162,39,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ch-blog-icon svg { stroke: var(--ch-gold); }
.ch-blog-card-body { padding: 2rem; }
.ch-blog-card-cat {
    font-family: 'Playfair Display', serif;
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ch-gold-dark);
    margin-bottom: 0.75rem;
}
.ch-blog-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--ch-text);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}
.ch-blog-card-excerpt {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.95rem;
    color: var(--ch-text-light);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}
.ch-blog-card-link {
    font-family: 'Playfair Display', serif;
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ch-gold-dark);
}
.ch-carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}
.ch-carousel-btn {
    width: 50px;
    height: 50px;
    background: var(--ch-cream);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.ch-carousel-btn:hover {
    background: var(--ch-gold);
    border-color: var(--ch-gold);
}
.ch-carousel-btn svg { stroke: var(--ch-text); }
.ch-carousel-btn:hover svg { stroke: var(--ch-navy); }

/* ═══════════════════════════════════════════
   TOURS
   ═══════════════════════════════════════════ */
.ch-tours { background: var(--ch-cream); }
.ch-tours-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.ch-tour-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0,0,0,0.05);
    transition: all 0.5s;
}
.ch-tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(0,0,0,0.1);
}
.ch-tour-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(201,162,39,0.1), rgba(201,162,39,0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}
.ch-tour-icon svg { stroke: var(--ch-gold); }
.ch-tour-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ch-text);
    margin-bottom: 0.75rem;
}
.ch-tour-card p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.95rem;
    color: var(--ch-text-light);
    line-height: 1.6;
}
.ch-tours-cta {
    text-align: center;
    margin-top: 4rem;
}
.ch-tours-cta a {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: transparent;
    color: var(--ch-navy);
    padding: 1.2rem 3rem;
    border: 2px solid var(--ch-navy);
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.4s;
}
.ch-tours-cta a:hover {
    background: var(--ch-navy);
    color: #fff;
}

/* ═══════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════ */
.ch-cta-section {
    background: linear-gradient(135deg, rgba(201,162,39,0.08), rgba(201,162,39,0.15));
    text-align: center;
}
.ch-cta-box { max-width: 800px; margin: 0 auto; }
.ch-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
}
.ch-btn-gold {
    background: linear-gradient(135deg, var(--ch-gold), var(--ch-gold-light));
    color: var(--ch-navy);
    padding: 1.3rem 3.5rem;
    border: none;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.4s;
    box-shadow: 0 15px 40px rgba(201,162,39,0.3);
}
.ch-btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(201,162,39,0.4);
}
.ch-btn-outline {
    background: transparent;
    color: var(--ch-navy);
    padding: 1.3rem 3.5rem;
    border: 2px solid var(--ch-navy);
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.4s;
}
.ch-btn-outline:hover {
    background: var(--ch-navy);
    color: #fff;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .ch-apt-grid,
    .ch-exp-grid,
    .ch-tours-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .ch-apt-grid,
    .ch-exp-grid,
    .ch-tours-grid { grid-template-columns: 1fr; }
    .ch-intro-stats { grid-template-columns: 1fr; gap: 2rem; }
    .ch-cta-buttons { flex-direction: column; align-items: center; }
    .ch-blog-card { flex: 0 0 320px; }
    .ch-hero { margin-top: -60px; }
}
