/* ============================================
   Brochure Page Specific Styles
   ============================================ */

:root {
    /* Inherit mostly, but define specific overrides if needed */
    --color-gold: #D4AF37;
    /* Matches design-system */
    --color-dark: #134E4A;
    /* Teal-dark from design system */
    --color-dark-lighter: #2C7A7B;
}

/* --- Typography --- */
body {
    font-family: var(--font-body, 'Josefin Sans', sans-serif);
    color: var(--color-dark);
}

h1,
h2,
h3,
.eyebrow {
    font-family: var(--font-heading, 'Cinzel', serif);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 1.5rem;
    font-style: normal;
    /* Cinzel usually doesn't need italic for eyebrows */
    color: var(--color-gold);
    font-weight: 600;
}

/* --- Nav --- */
.brochure-nav {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.brochure-nav .logo {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    font-family: var(--font-serif);
}

.brochure-nav .logo span {
    font-weight: 400;
}

.btn-inquire {
    padding: 0.75rem 2rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-inquire:hover {
    background: white;
    color: var(--color-dark);
    border-color: white;
}

/* --- Hero --- */
.brochure-hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-bg-container {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomSlow 20s infinite alternate;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.brochure-hero .title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #ffffff;
}

.brochure-hero .subtitle {
    font-size: 1.5rem;
    opacity: 1;
    font-weight: 400;
    color: #f0f0f0;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .brochure-hero .title {
        font-size: 2.5rem;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.7;
}

.scroll-indicator .line {
    width: 1px;
    height: 50px;
    background: white;
}

/* --- Definition Section --- */
.definition-section {
    padding: 6rem 0;
}

.lead-text {
    font-size: 1.5rem;
    font-family: var(--font-serif);
    line-height: 1.4;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.detail-text {
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-top: 1px solid #eee;
    padding-top: 2rem;
}

.spec-item {
    display: flex;
    flex-direction: column;
}

.spec-item .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.spec-item .value {
    font-size: 1.25rem;
    font-weight: 500;
    font-family: var(--font-serif);
}

.spec-item .value small {
    font-size: 0.5em;
    opacity: 0.7;
}

/* Images */
.image-content {
    position: relative;
    height: 500px;
}

.image-frame {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 100%;
    overflow: hidden;
}

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

.image-frame-small {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 50%;
    height: 300px;
    border: 8px solid white;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-frame-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Blueprint Section --- */
.blueprint-section {
    padding: 5rem 0;
    background-color: var(--color-dark);
    color: white;
}

.text-gold {
    color: var(--color-gold);
}

.text-gray-300 {
    color: #ccc;
}

.blueprint-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: center;
}

/* Blueprint Visual */
.blueprint-visual {
    background: var(--color-primary-dark);
    /* Teal Dark */
    height: 400px;
    position: relative;
    border: 2px solid white;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.blueprint-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.blueprint-outline {
    border: 2px solid white;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 2px;
    background: white;
    /* Gaps become lines */
}

.room {
    background: var(--color-primary-dark);
    /* Teal Dark */
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: monospace;
    font-size: 0.8rem;
    text-transform: uppercase;
    position: relative;
}

.room.living {
    grid-area: 1 / 1 / 3 / 2;
}

.room.bedroom {
    grid-area: 1 / 2 / 2 / 3;
}

.room.kitchen {
    grid-area: 2 / 2 / 3 / 3;
}

.room.bath {
    grid-area: 3 / 2 / 4 / 3;
}

.room.balcony {
    grid-area: 3 / 1 / 4 / 2;
    background: rgba(13, 91, 84, 0.7);
    /* Teal transparent */
}

.blueprint-dims {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: white;
    color: var(--color-primary-dark);
    padding: 0.25rem 0.5rem;
    font-family: monospace;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Data List */
.data-list {
    list-style: none;
    padding: 0;
}

.data-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.data-list li span {
    color: #aaa;
    font-size: 0.9rem;
}

.data-list li strong {
    color: white;
    font-weight: 500;
}

/* --- Context Section --- */
.context-section {
    padding: 5rem 0;
    background: #f9f9f9;
}

.context-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.context-card {
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.context-card:hover {
    transform: translateY(-5px);
}

.context-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.context-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.context-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --- CTA --- */
.bg-primary {
    background-color: var(--color-primary);
}

.btn-white {
    background: white;
    color: var(--color-primary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.btn-outline-white {
    border: 1px solid white;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-outline-white:hover {
    background: white;
    color: var(--color-primary);
}

/* --- Footer --- */
.brochure-footer {
    padding: 2rem 0;
    background: #111;
    color: #666;
    font-size: 0.8rem;
}

.brochure-footer .rera {
    opacity: 0.5;
}

/* --- Animations --- */
@keyframes zoomSlow {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

@media (max-width: 768px) {

    .grid-2,
    .blueprint-container,
    .context-grid {
        grid-template-columns: 1fr;
    }

    .image-content {
        height: 300px;
        order: -1;
        margin-bottom: 2rem;
    }

    .image-frame {
        width: 100%;
        position: relative;
    }

    .image-frame-small {
        display: none;
    }

    .brochure-hero .title {
        font-size: 2.5rem;
    }
}