/* ===========================
   VARIABLES
=========================== */
:root {
    --primary-color: #0F0F0F;       /* Ultra Dark Grey/Black */
    --accent-color: #D4AF37;        /* Metallic Gold */
    --text-light: #FFFFFF;
    --text-muted: #A0A0A0;
    --wave-color: #FAFAFA;          /* Matches section above */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

/* ===========================
   1. MAIN CONTAINER
=========================== */
.marketing-container {
    background-color: var(--primary-color);
    width: 100%;
    position: relative;
    margin-top: 60px;
    overflow: hidden;
    
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.marketing-container.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   2. CURVED WAVE DIVIDER
=========================== */
.custom-shape-divider-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 5;
}

.custom-shape-divider-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.custom-shape-divider-top .shape-fill {
    fill: var(--wave-color); 
}

/* ===========================
   3. LAYOUT WRAPPER
=========================== */
.marketing-wrapper {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 600px;
}

/* ===========================
   4. IMAGE SECTION
=========================== */
.marketing-image {
    flex: 1;
    min-width: 400px;
    position: relative;
    margin-top: -2px; 
}

.marketing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 1.5s ease;
    filter: brightness(0.9);
}

.marketing-container:hover .marketing-image img {
    transform: scale(1.03);
}

/* ===========================
   5. CONTENT SECTION
=========================== */
.marketing-content {
    flex: 1;
    padding: 140px 80px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    min-width: 400px;
    background-color: var(--primary-color);
    color: var(--text-light);
    z-index: 2;
}

/* Typography */
.marketing-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 56px;
    color: var(--text-light);
    line-height: 1;
    margin: 0 0 20px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.marketing-subtitle {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.8;
    color: var(--accent-color);
    margin: 0 0 40px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    max-width: 400px;
}

/* ===========================
   6. FORM DESIGN
=========================== */
.email-form {
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.email-form input {
    width: 100%;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.1);
    background-color: #FFFFFF;
    color: #111;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    outline: none;
    box-sizing: border-box;
    transition: box-shadow 0.3s ease;
}

.email-form input:focus {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.email-form button {
    width: 100%;
    padding: 20px;
    border-radius: 50px;
    border: none;
    background-color: var(--accent-color);
    color: #000;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.email-form button:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-2px);
}

/* ===========================
   7. RESPONSIVE DESIGN
=========================== */
/* Tablet */
@media (max-width: 1024px) {
    .marketing-content {
        padding: 120px 50px 80px;
    }
    .marketing-title {
        font-size: 42px;
    }
}

/* Mobile (< 768px) */
@media (max-width: 768px) {
    .marketing-wrapper {
        flex-direction: column;
    }

    .marketing-image {
        width: 100%;
        min-width: unset;
        height: 350px; 
        flex: none;
        order: 1; 
    }

    .marketing-content {
        width: 100%;
        min-width: unset;
        flex: none;
        order: 2; 
        padding: 60px 30px 60px;
        text-align: center;
        align-items: center;
    }

    .marketing-title {
        font-size: 36px;
    }

    .marketing-subtitle {
        font-size: 13px;
        margin-bottom: 30px;
    }
    
    .custom-shape-divider-top svg {
        height: 50px;
    }
}