/* ==========================================================================
   Marea Development Group - Styles
   ========================================================================== */

/* --- Fonts --- */
@font-face {
    font-family: 'Gill Sans';
    src: url('../assets/fonts/GillSans.ttc') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Skolar Latin';
    src: url('../assets/fonts/Skolar Latin.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Skolar Latin Light';
    src: url('../assets/fonts/Skolar Latin Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* --- Variables --- */
:root {
    /* Brand Colors */
    --color-navy: #1e303e;
    --color-terracotta: #a9431d;
    --color-teal: #04778a;
    --color-sand: #f5f1ed;
    --color-sand-dark: #dcd7d3;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-text: #333333;
    --color-text-light: #666666;

    /* Typography */
    --font-primary: 'Gill Sans', sans-serif;
    --font-secondary: 'Skolar Latin', serif;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    color: var(--color-navy);
    font-weight: normal;
    margin-bottom: 20px;
}

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

a:hover {
    color: var(--color-navy);
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

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

.padding-section {
    padding: 100px 0;
}

.bg-sand {
    background-color: var(--color-sand);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

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

.btn-outline {
    background-color: transparent;
    color: var(--color-navy);
    border: 1px solid var(--color-navy);
}

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

/* --- Top Bar --- */
.top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-sand);
    padding: 10px 0;
    font-size: 13px;
    font-family: var(--font-secondary);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: var(--color-sand);
    margin-left: 15px;
}

.top-bar a:hover {
    color: var(--color-terracotta);
}

/* --- Header --- */
.site-header {
    position: absolute;
    top: 40px; /* Below top bar */
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    background-color: transparent;
    transition: all var(--transition-fast);
}

.site-header.sticky {
    position: fixed;
    top: 0;
    background-color: var(--color-navy);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    transition: height var(--transition-fast);
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--color-white);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-terracotta);
    transition: width var(--transition-fast);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--color-white);
    transition: all var(--transition-fast);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-color: transparent;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay removed as requested */

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--color-white);
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.5s;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 22vh;
    padding-bottom: 8vh;
}

.hero-content h1 {
    font-family: var(--font-secondary);
    font-size: 80px;
    font-style: italic;
    color: var(--color-white);
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 22px;
    font-family: var(--font-primary);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

@keyframes fadeInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* --- Property Filter Removed --- */

/* --- About Section --- */
.about-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 30px;
}

.about-text p {
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 40px;
}

.signature {
    display: flex;
    align-items: center;
    gap: 20px;
}

.signature p {
    margin: 0;
    font-size: 14px;
    color: var(--color-navy);
}

.about-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.about-image img {
    box-shadow: -20px 20px 0 var(--color-sand);
    max-width: 80%;
}

/* --- Properties Grid --- */
.section-title h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--color-text-light);
    margin-bottom: 50px;
    font-size: 18px;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.property-card {
    background-color: var(--color-white);
    overflow: hidden;
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.property-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.property-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 5px 15px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.property-badge.pre-sale {
    background-color: var(--color-terracotta);
}

.property-price {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: var(--color-white);
    color: var(--color-navy);
    padding: 10px 20px;
    font-family: var(--font-secondary);
    font-size: 20px;
    font-weight: bold;
}

.property-content {
    padding: 30px;
    border: 1px solid var(--color-sand-dark);
    border-top: none;
}

.property-content h3 {
    margin-bottom: 5px;
    font-size: 24px;
}

.property-content h3 a {
    color: var(--color-navy);
}

.property-content h3 a:hover {
    color: var(--color-terracotta);
}

.property-location {
    color: var(--color-text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

.property-amenities {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--color-sand);
    padding-top: 20px;
    font-size: 14px;
    color: var(--color-text-light);
}

.property-amenities i {
    font-style: normal;
    color: var(--color-terracotta);
    margin-right: 5px;
}

/* --- CTA Section --- */
.cta-section {
    position: relative;
    background-size: cover;
    background-position: center;
    /* background-attachment: fixed removed — causes paint storms on mobile */
    padding: 120px 0;
    text-align: center;
    color: var(--color-white);
}

.cta-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(4, 119, 138, 0.65); /* Teal overlay */
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta-content h2 {
    color: var(--color-white);
    font-size: 48px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* --- Blog Section --- */
.blog-section {
    background-color: var(--color-white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-sand);
    transition: box-shadow var(--transition-slow);
}

.blog-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.blog-image {
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.blog-content {
    padding: 30px;
}

.blog-date {
    font-size: 12px;
    color: var(--color-terracotta);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.blog-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.blog-content h3 a {
    color: var(--color-navy);
}

.blog-content h3 a:hover {
    color: var(--color-terracotta);
}

.blog-content p {
    color: var(--color-text-light);
    margin-bottom: 20px;
    font-size: 15px;
}

.read-more {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-navy);
}

.read-more:hover {
    color: var(--color-terracotta);
}

/* --- Map Section --- */
.map-section {
    line-height: 0;
}
.map-container iframe {
    display: block;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--color-navy);
    color: var(--color-sand-dark);
    padding-top: 80px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

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

.widget h4 {
    color: var(--color-white);
    font-family: var(--font-primary);
    text-transform: uppercase;
    font-size: 16px;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.widget p {
    margin-bottom: 10px;
    font-size: 15px;
}

.widget ul li {
    margin-bottom: 10px;
}

.widget ul a {
    color: var(--color-sand-dark);
}

.widget ul a:hover {
    color: var(--color-terracotta);
}

.newsletter form {
    display: flex;
    margin-top: 20px;
}

.newsletter input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    background-color: rgba(255,255,255,0.1);
    color: var(--color-white);
    outline: none;
}

.newsletter input::placeholder {
    color: var(--color-sand-dark);
}

.newsletter button {
    background-color: var(--color-terracotta);
    color: var(--color-white);
    border: none;
    padding: 0 20px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color var(--transition-fast);
}

.newsletter button:hover {
    background-color: var(--color-teal);
}

.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    padding: 20px 0;
    font-size: 13px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .hero-content h1,
    .page-title-section h1 {
        font-size: 60px;
    }
}

@media (max-width: 768px) {
    /* Layout */
    .container {
        padding: 0 20px;
    }
    .padding-section {
        padding: 60px 0;
    }

    /* Header */
    .top-bar {
        display: none;
    }
    .site-header {
        top: 0;
        background-color: var(--color-navy);
        padding: 15px 0;
    }
    .main-nav {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }

    /* Hero */
    .hero-content h1,
    .page-title-section h1 {
        font-size: 36px;
    }
    .hero-content p {
        font-size: 16px;
    }

    /* About section */
    .about-inner {
        flex-direction: column;
        gap: 30px;
    }
    .about-text {
        order: -1;
    }
    .about-text h2 {
        font-size: 28px;
    }
    .about-text p {
        font-size: 16px;
    }
    .about-image {
        width: 100%;
    }
    .about-image img {
        max-width: 100%;
        box-shadow: none;
    }

    /* Contact */
    .contact-container {
        flex-direction: column;
        gap: 40px;
    }
    .contact-form-wrapper {
        width: 100%;
    }
    .contact-form {
        grid-template-columns: 1fr;
        padding: 24px 16px;
        box-shadow: none;
        border: 1px solid var(--color-sand-dark);
    }
    .contact-info h3 {
        font-size: 28px;
    }
    .contact-form button.btn {
        width: 100%;
        text-align: center;
    }

    /* Page title sections */
    .page-title-section {
        padding: 120px 0 60px;
    }

    /* CTA */
    .cta-section {
        padding: 80px 0;
    }
    .cta-content h2 {
        font-size: 28px;
    }
    .cta-content p {
        font-size: 16px;
    }

    /* Single property */
    .single-property-wrapper {
        flex-direction: column;
    }
    .property-main-content,
    .property-sidebar {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .property-sidebar {
        position: static;
        margin-top: 40px;
    }
    .property-amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .property-gallery-grid .full-width-img {
        height: 220px;
    }
    .property-gallery-grid img {
        height: 180px;
    }
    .property-gallery-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* --- Page Title Section --- */
.page-title-section {
    position: relative;
    padding: 180px 0 100px;
    background-color: var(--color-navy);
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    text-align: center;
}

.page-title-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 48, 62, 0.6); /* Navy overlay */
    z-index: 1;
}

.page-title-section .container {
    position: relative;
    z-index: 2;
}

.page-title-section h1 {
    font-family: var(--font-secondary);
    font-size: 80px;
    color: var(--color-white);
    margin: 0;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* --- Enhanced Contact Page / Form --- */
.contact-container {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-form-wrapper {
    flex: 1.2;
}

.contact-info h3 {
    font-size: 40px;
    margin-bottom: 25px;
    font-family: var(--font-secondary);
    color: var(--color-navy);
    line-height: 1.2;
}

.contact-info p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 40px;
}

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

.contact-details-item {
    display: flex;
    flex-direction: column;
}

.contact-details-item h4 {
    font-family: var(--font-primary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-terracotta);
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-details-item p {
    font-family: var(--font-secondary);
    font-size: 20px;
    color: var(--color-navy);
    margin: 0;
    line-height: 1.4;
}

/* Premium Form Styling */
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: var(--color-white);
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid var(--color-sand);
}

.contact-form .full-width {
    grid-column: 1 / -1;
}

.contact-form .input-group {
    position: relative;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid var(--color-sand-dark);
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--color-navy);
    background: transparent;
    outline: none;
    transition: border-color var(--transition-fast);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
    font-style: italic;
    font-family: var(--font-secondary);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-bottom-color: var(--color-terracotta);
}

.contact-form textarea {
    height: 120px;
    resize: none;
    padding-top: 20px;
}

.contact-form button.btn {
    margin-top: 10px;
    padding: 20px 40px;
    font-size: 13px;
    letter-spacing: 2px;
    background-color: var(--color-navy);
}

.contact-form button.btn:hover {
    background-color: var(--color-terracotta);
}

@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
        gap: 40px;
    }
    .contact-form {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .contact-form {
        grid-template-columns: 1fr;
    }
}

/* --- Single Property Page --- */
.single-property-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.property-main-content {
    flex: 0 0 65%;
    max-width: 65%;
}

.property-sidebar {
    flex: 0 0 calc(35% - 50px);
    max-width: calc(35% - 50px);
    position: sticky;
    top: 120px; /* offset for header */
}

/* Property Header Content */
.property-title-header {
    margin-bottom: 40px;
    border-bottom: 1px solid var(--color-sand);
    padding-bottom: 20px;
}

.property-title-header h1,
.property-title-header h2 {
    font-size: 42px;
    margin-bottom: 5px;
}

.property-title-header p.location {
    font-size: 16px;
    color: var(--color-text-light);
}

.property-price-tag {
    font-size: 28px;
    color: var(--color-terracotta);
    font-family: var(--font-secondary);
    margin-top: 10px;
}

/* Property Details Block */
.property-section {
    margin-bottom: 50px;
}

.property-section h3 {
    font-size: 24px;
    margin-bottom: 25px;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.property-section p {
    color: var(--color-text-light);
    font-size: 17px;
    margin-bottom: 15px;
    line-height: 1.8;
}

.property-details-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background-color: var(--color-sand);
    padding: 30px;
}

.property-details-list div {
    flex: 1 1 30%;
}

.property-details-list h4 {
    font-family: var(--font-primary);
    font-size: 12px;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.property-details-list p {
    font-family: var(--font-secondary);
    font-size: 18px;
    color: var(--color-navy);
    margin-bottom: 0;
}

/* Amenities */
.property-amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.property-amenities-grid span {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: var(--color-text-light);
}

.property-amenities-grid span::before {
    content: "✓";
    color: var(--color-terracotta);
    margin-right: 10px;
    font-weight: bold;
}

/* Floor Plans Accordion / Gallery */
.floor-plans-gallery {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.floor-plan-item img {
    border: 1px solid var(--color-sand);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.floor-plan-item h4 {
    margin-top: 15px;
    font-family: var(--font-primary);
    font-size: 18px;
}

/* Sidebar Widget */
.sidebar-widget {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.sidebar-widget h3 {
    color: var(--color-white);
    font-size: 24px;
    margin-bottom: 20px;
    font-family: var(--font-secondary);
}

.sidebar-form input,
.sidebar-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--color-white);
    font-family: var(--font-primary);
}

.sidebar-form input::placeholder,
.sidebar-form textarea::placeholder {
    color: var(--color-sand-dark);
}

.sidebar-form textarea {
    height: 100px;
    resize: none;
}

.sidebar-form button {
    width: 100%;
    text-align: center;
    background-color: var(--color-terracotta);
}

.sidebar-form button:hover {
    background-color: var(--color-teal);
}

/* Image Gallery Grid */
.property-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.property-gallery-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform var(--transition-fast);
}

.property-gallery-grid .full-width-img {
    grid-column: 1 / -1;
    height: 500px;
}

/* Responsive */
@media (max-width: 992px) {
    .single-property-wrapper {
        flex-direction: column;
    }
    .property-main-content,
    .property-sidebar {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .property-sidebar {
        position: static;
        margin-top: 40px;
    }
    .property-amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .property-gallery-grid .full-width-img {
        height: 350px;
    }
}
@media (max-width: 768px) {
    .property-details-list div {
        flex: 1 1 45%;
    }
    .property-gallery-grid {
        grid-template-columns: 1fr;
    }
    .property-gallery-grid img,
    .property-gallery-grid .full-width-img {
        height: 250px;
    }
}

/* --- Brochure Modal --- */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(30, 48, 62, 0.85); /* Navy overlay */
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--color-white);
    margin: auto;
    padding: 40px;
    border: 1px solid var(--color-sand);
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.close-modal {
    color: var(--color-text-light);
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.close-modal:hover,
.close-modal:focus {
    color: var(--color-terracotta);
    text-decoration: none;
}

.modal-header h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.modal-header p {
    color: var(--color-text-light);
    margin-bottom: 25px;
    font-size: 15px;
}

.modal-content .form-group {
    margin-bottom: 20px;
}

.modal-content input[type="text"],
.modal-content input[type="email"] {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--color-sand-dark);
    font-family: var(--font-primary);
    font-size: 15px;
    outline: none;
    transition: border-color var(--transition-fast);
}

.modal-content input:focus {
    border-color: var(--color-navy);
}

.btn-full {
    width: 100%;
    margin-top: 10px;
}

/* --- Brochure Download Box --- */
.brochure-download-box {
    background-color: var(--color-sand);
    padding: 40px;
    text-align: center;
    border: 1px solid var(--color-sand-dark);
}

.brochure-download-box h3 {
    margin-bottom: 15px;
}

.brochure-download-box p {
    color: var(--color-text-light);
    margin-bottom: 25px;
}
