/* --- Global Styles --- */
body {
    font-family: 'Lora', serif;
    color: #333;
    margin: 0;
    line-height: 1.6;
    background-color: #c3c6bf; 
}


.hero-image {
  width: 100%;
}


.paragraph{
    padding: 0 30px;
    font-size: 18px;
}


h1, h2, h3 {
    font-family: 'Playfair Display', serif; 
    font-weight: 700;
    margin-top: 0;
}

strong {
    font-weight: 700;
}


.intro-section, .value-column, .data-column, .image-grid {
    border-bottom: 2px solid #c3c6bf;
    border-top: 2px solid #c3c6bf;
}


.btn {
    display: inline-block;
    padding: 10px 25px;
    text-decoration: none;
    font-family: 'Lora', serif;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.primary-btn {
    background-color: rgba(77, 117, 90, 1);
    color: white;
    font-family: playfair-display, serif;
    font-style: normal;
    font-weight: 400;
}

.primary-btn:hover {
    background-color: #555;
}

/* --- Header Section (Image Background) --- */

.header-section {
    background: url('desktop.jpg') center top / cover no-repeat; 
    height: 1000px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #c3c6bf;
    text-align: center;
    padding: 20px 0;
}


.header-content {
    align-self: center;
    padding: 20px;
}

.header-title {
    font-size: 50px;
    margin-bottom: 3px;
    color: black;
}

.header-subtitle {
    font-size: 20px;
    color: black;
    font-family: 'Lora', serif;
    font-weight: 400;
    margin-bottom: 20px;
}

/* Banner (Green Box) */
.header-banner {
    background-color: rgba(77, 117, 90, 1); 
    padding: 15px 10px;
    width: 100%;
    align-self: flex-end;
    box-sizing: border-box;
}

.banner-text {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 400;
    margin: 0 0 5px 0;
    color: black;
    padding-top: 30px;
    margin-top: 35px; 
}

.banner-subtext {
    font-size: 20px;
    font-family: 'Lora', serif;
    font-weight: 400;
    margin: 0;
    color: black;
    max-width: 1000px;
}

/* --- Intro Section --- */
.intro-section {
    padding: 30px 20px;
    text-align: center;
    background-color: #c3c6bf;
    padding-top: 50px;

    
}
.intro-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1em;
}


/* --- Value and Data Grid (Mobile Stacking) --- */
.value-data-grid {
    display: flex;
    flex-direction: column;
    text-align: center;
    background-color: #e0ddd9; 
}

.column-title {
    font-size: 40px;
    padding-top: 30px;
    margin-bottom: 20px;
}

.value-column {
    padding: 0 20px 30px 20px;
    background-color: #a7a8a3;
    border-bottom: 2px solid #c3c6bf;
}

.value-item {
    margin-bottom: 35px;
    font-size: 17px;
}

.value-heading {
    font-size: 25px;
    font-family: 'Lora', serif;
    font-weight: 700;
    margin-bottom: 5px;
    margin-top: 35px;
}

.data-column {
    padding: 0 20px 30px 20px;
    background-color: #a7a8a3;
    border-top: none; 
}

.data-statistic {
    font-family: 'Playfair Display', serif;
    font-size: 3em;
    font-weight: 700;
    margin: 20px 0 5px 0;
    line-height: 1;
}

.data-description {
    font-size: 17px;
    margin-bottom: 30px;
    padding: 0 10%;
}



.image-grid {
    display: flex;
    flex-direction: column;
    padding: 0;
    border-top: none;
    border-bottom: 2px solid #ccc;
}

.grid-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.footer-grid {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.footer-cta {
    padding: 40px 20px;
    background-color: #c3c6bf;
    border-bottom: 2px solid #ccc;
}

.footer-contact {
    padding: 30px 20px;
    font-size: 18px;
    background-color: #c3c6bf;
}

.footer-title {
    font-size: 30px;
    margin-bottom: 20px;
}
.footer-contact p {
    margin: 5px 0;
    font-size: 1em;
}


/* =======================================
    DESKTOP VIEW (Media Query)
   ======================================= */
@media (min-width: 1000px) {

    
    .header-section {
        background-position: left center;
        flex-direction: row;
        align-items: stretch;
        height: 600px;
        text-align: left;
    }

    .header-content {
        align-self: flex-start;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 40%;
        min-width: 350px;
        max-width: 450px;
        background-color: #c3c6bf; 
        padding: 0 40px;
        box-sizing: border-box;
    }

    .header-title {
        font-size: 3.5em;
    }

    .paragraph{
    padding: 0 110px;
    font-size: 18px;
}
    
    .header-banner {
        align-self: flex-end;
        text-align: center;
        width: 50%;
        max-width: 450px;
        padding: 20px 10px;
        background-color: rgba(77, 117, 90, 1);
        order: 2;
    }
    
    body{
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }
    
    
    /* Move banner next to the content block */
    .header-section > .header-content + .header-banner {
        margin-left: -50px; 
    }
    
    .intro-section {
        padding: 30px 30px;
        text-align: left;
        
    }
    .intro-section p {
        font-size: 1.15em;
        margin: 0;
    }

    .value-data-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }

    .value-column {
        padding: 50px;
        border-bottom: none;
        border-right: 2px solid #ccc;
    }

    .data-column {
        padding: 50px;
        border-top: 2px solid #ccc; 
        text-align: center;
    }

    .data-description {
        padding: 0 15%;
    }

  
    .image-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        border-top: none;
        border-bottom: 2px solid #c3c6bf;
    }

  
    .footer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        text-align: center;
    }

    .footer-cta {
        padding: 50px;
        border-right: 2px solid #cccccc;
        border-bottom: none;
    }

    .footer-contact {
        padding: 50px;
    }
}
