/* ============================================
   SUBPAGES.CSS — Clothesline Sub Pages
   Clean, editorial style with premium visual flair
   ============================================ */

:root {
    --accent-gold: #9e8158;
    --text-dark: #1a1a1a;
    --bg-light: #fdfdfd;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.3);
    --soft-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
}

/* ---------- Global Flair Utilities ---------- */
.text-serif-italic {
    font-family: 'IBM Plex Serif', serif;
    font-style: italic;
    font-weight: 500;
}

.flair-bg {
    position: relative;
    background-color: var(--bg-light);
}

.flair-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3%3Cfilter id='noiseFilter'%3%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3%3C/filter%3%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3%3C/svg%3%3E");
    opacity: 0.05;
    pointer-events: none;
    z-index: 1;
}

.flair-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(158, 129, 88, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(158, 129, 88, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

/* ---------- Editorial Hero with Image ---------- */
.editorial-hero {
    display: flex;
    flex-direction: column;
    padding: 7rem 1.5rem 3rem;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

@media (min-width: 992px) {
    .editorial-hero {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 4rem;
        padding: 9rem 4rem 5rem;
        max-width: 1400px;
        margin: 0 auto;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 600px;
    text-align: left;
}

@media (max-width: 991px) {
    .editorial-hero {
        padding: 6rem 1rem 2.5rem;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto 3rem;
    }
}

/* Elegant Iconography Behind Text */
.hero-content::before {
    content: '';
    position: absolute;
    top: -60px;
    left: -40px;
    width: 250px;
    height: 250px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3%3Cpath fill='none' stroke='%239e8158' stroke-width='0.3' d='M50,5 C65,30 95,50 50,95 C5,50 35,30 50,5 Z'/%3%3E%3C/svg%3%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.15;
    animation: slowSpin 35s linear infinite;
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 991px) {
    .hero-content::before {
        left: 50%;
        transform: translateX(-50%);
        top: -60px;
        animation: slowSpinMobile 35s linear infinite;
    }
}

@keyframes slowSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes slowSpinMobile {
    from {
        transform: translateX(-50%) rotate(0deg);
    }

    to {
        transform: translateX(-50%) rotate(360deg);
    }
}

/* ---------- Classic Editorial Hero (Side by Side) ---------- */
.classic-editorial-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10rem 4rem 6rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 4rem;
}

.classic-editorial-hero .hero-content {
    flex: 1;
    max-width: 600px;
}

.classic-editorial-hero .page-title {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 3.5rem !important;
    color: var(--text-dark);
    margin: 0 0 1.25rem !important;
    line-height: 1.1;
    letter-spacing: -0.01em;
    position: relative;
    text-transform: none;
}

.classic-editorial-hero .page-intro {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.15rem;
    color: #444;
    line-height: 1.8;
}

.classic-editorial-hero .hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    padding: 2rem 0;
}

/* Clean Landscape Image Wrapper */
.museum-frame {
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s ease;
    border-radius: 4px;
    overflow: hidden;
}

.museum-frame:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Hide the old gold frame border */
.museum-frame::before {
    display: none;
}

.museum-frame img.hero-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
}

/* Mobile */
@media (max-width: 991px) {
    .classic-editorial-hero {
        flex-direction: column;
        text-align: center;
        padding: 7rem 1.5rem 4rem;
        gap: 3rem;
    }

    .classic-editorial-hero .page-title {
        font-size: 2.2rem !important;
    }
}

.page-intro {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.15rem;
    color: #4f4f4f;
    line-height: 1.8;
    font-weight: 300;
    margin: 0;
    padding: 0;
}

/* ---------- Feature Grid ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 1rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    fill: #9e8158;
}

.feature-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.feature-item p {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* ---------- Philosophical Quote (Entourage) ---------- */
.quote-section {
    max-width: 100%;
    margin: 0 auto 2rem;
    padding: 3rem 2rem;
    text-align: center;
    background: radial-gradient(circle at center, rgba(158, 129, 88, 0.05) 0%, transparent 70%);
}

.quote-section blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #1a1a1a;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 2rem;
    border: none;
    padding: 0;
}

.quote-section cite {
    font-family: 'Quicksand', sans-serif;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #9e8158;
    font-weight: 600;
    font-size: 0.85rem;
}

.quote-section cite::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 1px;
    background-color: #9e8158;
    vertical-align: middle;
    margin-right: 15px;
}

/* ---------- Artisan Spotlight (Accessories) ---------- */
.spotlight-section {
    padding: 3rem 2rem;
    background: #f9f9f9;
    margin-bottom: 3rem;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.spotlight-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: left;
    /* Ensure alignment is correct */
}

.spotlight-text p {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

/* ---------- Showcase Section (Formal Gowns) ---------- */
.showcase-section {
    padding: 4rem 2rem;
    text-align: center;
}

.showcase-header {
    margin-bottom: 2rem;
}

.showcase-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.dark-section {
    background-color: #111;
    color: #fff;
}

.dark-section h2,
.dark-section .page-intro {
    color: #fff;
}

.dark-section .accent-line {
    background: rgba(255, 255, 255, 0.3);
}

.accent-line {
    width: 60px;
    height: 1px;
    background: #9e8158;
    margin: 2rem auto;
}




/* ---------- Gallery Layout handled in photog.css ---------- */


/* ---------- Gallery Hint ---------- */
.gallery-hint {
    display: block;
    text-align: center;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.85rem;
    color: #aaa;
    margin: 0 auto 1.5rem;
}

.gallery-hint img {
    height: 1rem;
    vertical-align: middle;
    margin-right: 0.3rem;
    box-shadow: none !important;
}

/* ---------- Contact Strip ---------- */
.contact-strip {
    text-align: center;
    padding: 3.5rem 2rem;
    margin: 3rem auto 2rem;
    max-width: 650px;
    background-color: #111111;
    border: 1px solid rgba(158, 129, 88, 0.3);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-strip::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 1px solid rgba(158, 129, 88, 0.15);
    border-radius: 4px;
    pointer-events: none;
}

.contact-strip p {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #ffffff;
    margin: 0 0 1.8rem;
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

.contact-strip a.whatsapp-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #111111;
    background-color: #9e8158;
    border: 1px solid #9e8158;
    padding: 0.9rem 2.2rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    z-index: 2;
}

.contact-strip a.whatsapp-link svg {
    width: 1.25em;
    height: 1.25em;
    fill: currentColor;
}

.contact-strip a.whatsapp-link:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #111111;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* Mobile CTA Scaling */
@media (max-width: 768px) {
    .contact-strip {
        padding: 2.5rem 1rem;
        margin: 2rem 1rem 1rem;
    }

    .contact-strip p {
        font-size: 1.3rem;
        margin-bottom: 2rem;
    }

    .contact-strip a.whatsapp-link {
        width: 100%;
        /* Force button to use max available width */
        padding: 0.9rem 1rem;
        font-size: 0.8rem;
        letter-spacing: 0.08em;
        /* Reduced to prevent text wrap on small phones */
    }

    .contact-strip a.whatsapp-link svg {
        min-width: 1.2em;
        /* Ensure the SVG doesn't squish */
    }
}

/* ---------- Instagram ---------- */
.instagram-note {
    text-align: center;
    margin: 1rem auto 4rem;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.95rem;
    color: #888;
}

.instagram-note a {
    color: #9e8158;
    text-decoration: none;
}

.instagram-note a:hover {
    color: #7a6341;
    background: none;
}

/* ---------- Editorial Journey Stack (Bridal Gowns) ---------- */
.editorial-journey {
    padding: 8rem 2rem;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.journey-sticky-left {
    flex: 1;
    min-width: 300px;
    position: sticky;
    top: 15vh;
    /* sticks near the top */
    align-self: flex-start;
    /* crucial for sticky flex items */
    z-index: 5;
}

.journey-sticky-left h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    line-height: 1.1;
    color: var(--text-dark);
}

.journey-sticky-left p {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.1rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 1.5rem;
    font-weight: 600;
}

.journey-scroll-right {
    flex: 2;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 8rem;
    padding-top: 4rem;
    padding-left: 2rem;
    /* space for the huge numbers */
}

.journey-step {
    position: relative;
    padding-left: 3rem;
    border-left: 1px solid rgba(158, 129, 88, 0.2);
    transition: border-color 0.4s ease, opacity 0.5s ease;
    opacity: 0.3;
    scroll-snap-align: center;
}

.journey-step.is-active,
.journey-step:hover {
    border-color: var(--accent-gold);
    opacity: 1;
}

.step-number {
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(158, 129, 88, 0.3);
    line-height: 0.8;
    margin-bottom: 1rem;
    display: block;
    position: absolute;
    left: -5rem;
    /* overlaps the border */
    top: -2.5rem;
    z-index: 0;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    user-select: none;
}

.journey-step.is-active .step-number,
.journey-step:hover .step-number {
    color: rgba(158, 129, 88, 0.05);
    /* faint fill on active/hover */
    transform: translateX(15px);
    -webkit-text-stroke: 1px rgba(158, 129, 88, 0.8);
}

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

.step-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.step-content p {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.15rem;
    line-height: 1.9;
    color: #444;
    max-width: 550px;
}

@media (max-width: 900px) {
    .editorial-journey {
        flex-direction: column;
        gap: 0;
        padding: 4rem 1.5rem 3rem;
    }

    .journey-sticky-left {
        position: relative;
        top: 0;
        text-align: center;
        margin-bottom: 3rem;
        width: 100%;
        min-width: auto;
    }

    .journey-sticky-left h2 {
        font-size: 2.4rem;
    }

    .journey-sticky-left p {
        font-size: 0.85rem;
        letter-spacing: 0.2em;
    }

    .journey-scroll-right {
        padding-top: 0;
        padding-left: 2.5rem;
        gap: 0;
        position: relative;
    }

    /* Gray track (background line) */
    .journey-scroll-right::before {
        content: '';
        position: absolute;
        left: 5px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: rgba(0, 0, 0, 0.08);
        z-index: 0;
    }

    /* Gold progress fill — height driven by JS via --progress */
    .journey-scroll-right::after {
        content: '';
        position: absolute;
        left: 5px;
        top: 0;
        width: 2px;
        height: calc(var(--progress, 0) * 1%);
        background: #9e8158;
        z-index: 1;
        transition: height 0.15s linear;
    }

    .journey-step {
        padding-left: 1.5rem;
        padding-bottom: 2.5rem;
        border-left: none;
        opacity: 1;
        position: relative;
    }

    /* Dot on the timeline for each step */
    .journey-step::before {
        content: '';
        position: absolute;
        left: -2.5rem;
        top: 4px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.08);
        border: 2px solid #fff;
        z-index: 2;
        transition: background 0.3s ease;
    }

    /* Dot fills gold when step is scrolled past */
    .journey-step.is-reached::before {
        background: #9e8158;
    }

    .step-number {
        position: relative;
        left: 0;
        top: 0;
        font-size: 3rem;
        -webkit-text-stroke: 1px rgba(158, 129, 88, 0.3);
        margin-bottom: 0.5rem;
    }

    .step-content h3 {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
    }

    .step-content p {
        font-size: 0.95rem;
        line-height: 1.75;
    }
}

/* ========== ABOUT PAGE ========== */

.about-hero {
    position: relative;
    width: 100%;
    max-height: 65vh;
    overflow: hidden;
}

.about-hero img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 65vh;
}

.about-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 2rem 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
}

.about-hero-overlay h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 2.8rem;
    color: #fff;
    margin: 0 0 0.3rem;
    text-decoration: none;
    width: auto;
    text-align: left;
}

.about-hero-overlay p {
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    margin: 0;
}

.photogallery-container {
    max-width: 1400px;
    margin: 1.5rem auto 2.5rem;
    padding: 0 2rem;
}

.gallery-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    letter-spacing: 0.3rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.gallery-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background-color: var(--accent-gold);
}

.about-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.about-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    text-align: left;
    margin: 2.5rem 0 1rem;
}

.about-content p {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.9;
    margin: 0 0 1rem;
}

.about-photo-inline {
    float: right;
    width: 240px;
    margin: 0 0 1.5rem 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.about-content .credentials {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.95rem;
    color: #9e8158;
    font-weight: 600;
    font-style: italic;
    margin-top: 0.5rem;
}

/* ========== RESPONSIVE ========== */

@media screen and (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .editorial-hero {
        padding: 4.5rem 1rem 1.5rem;
        min-height: auto;
    }

    .page-title {
        font-size: 2.2rem;
        margin-bottom: 0.75rem !important;
    }

    .page-intro {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .feature-item {
        padding: 2rem 1.25rem;
    }

    .spotlight-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .spotlight-text h2 {
        font-size: 2rem;
    }

    .quote-section {
        margin-bottom: 2rem;
        padding: 3rem 1rem;
    }

    .quote-section blockquote {
        font-size: 1.3rem;
    }

    .spotlight-section {
        padding: 2rem 1rem;
        margin-bottom: 1.5rem;
    }

    .showcase-header h2 {
        font-size: 1.8rem;
    }

    .gallery-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
    }
}

@media screen and (max-width: 480px) {
    .editorial-hero {
        padding: 4.5rem 1rem 1rem;
    }

    .page-title {
        font-size: 1.8rem;
    }

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

/* --- Artisan Highlights (for Accessories) --- */
.artisan-highlights {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.highlight-block {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.highlight-block:nth-child(even) {
    grid-template-columns: 2fr 1fr;
}

.highlight-block:nth-child(even) .highlight-info {
    order: 1;
}

.highlight-num {
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    font-weight: 900;
    line-height: 1;
    color: var(--accent-gold);
    opacity: 0.15;
    user-select: none;
}

.highlight-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.highlight-info p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #666;
    max-width: 600px;
}

@media (max-width: 768px) {

    .highlight-block,
    .highlight-block:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .highlight-num {
        font-size: 4rem;
    }

    .highlight-info p {
        margin: 0 auto;
    }
}

/* --- End of Subpage Styles --- */