/* =========================
   FLORENCE COURT WEBSITE
   ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f1f6e9;
    color: #111;
    line-height: 1.6;
}

/* =========================
   HERO SECTION
   ========================= */

.hero {
    position: relative;
    min-height: 760px;
    padding: 38px 7%;
    overflow: hidden;
    background: #f1f6e9;
}

.hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.brand-logo {
    position: relative;
    top: -15px;
}

.brand-logo img {
    width: 205px;
    height: auto;
}

.florence-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0px;
}

.florence-logo img {
    width: 185px;
    height: auto;
}

.hero-circles {
    position: absolute;
    border: 2px solid #8dcc35;
    border-radius: 50%;
    pointer-events: none;
}

.circle-one {
    width: 500px;
    height: 500px;
    top: -250px;
    right: -150px;
}

.circle-two {
    width: 360px;
    height: 360px;
    top: -190px;
    right: -90px;
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-top: 85px;
}

.hero-title {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 35px;
    position: relative;
    top: 60px;
}

.hero-title h1 {
    font-size: 50px;
    font-weight: 400;
    line-height: 1.05;
    margin: 0;
}

.hero-image {
    width: 70%;
    margin-left: auto;
    margin-right: -9%;
    margin-top: 110px;
    border-radius: 95px 0 0 0;
    overflow: hidden;
}

.hero-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* =========================
   GENERAL SECTIONS
   ========================= */

.section {
    padding: 90px 7%;
}

.project-stage {
    padding-top: 50px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 45px;
    font-weight: 600;
}

/* =========================
   VISION
   ========================= */

.vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 55px;
}

.vision-grid h3,
.why-grid h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.vision-grid p,
.why-grid p {
    font-size: 14px;
    line-height: 1.7;
}

/* =========================
   PROJECT OVERVIEW
   ========================= */

.overview {
    padding-top: 30px;
}

.overview-content {
    max-width: 1200px;
    margin: auto;
}

.overview-content p {
    margin-bottom: 20px;
    font-size: 14px;
}

.project-stage {
    padding-top: 20px !important;
}

/* =========================
   PROJECT PROGRESS
   ========================= */

.progress-gallery {
    max-width: 1100px;
    margin: 0 auto;
}

.progress-gallery img {
    display: block;
    width: 85% !important;
    height: auto;
    object-fit: cover;
    margin: 0 auto;
}

.progress-main {
    margin-bottom: 40px;
}

.progress-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* =========================
   STAGES
   ========================= */

.stage {
    padding: 80px 7%;
}

.stage-gallery {
    max-width: 1100px;
    margin: 0 auto;
}

.stage-gallery .stage-main-image {
    width: 85%;
    height: auto !important;
    max-height: none !important;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
    object-fit: contain !important;
    display: block;
}

.stage-gallery .stage-small-images {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 85%;
    margin: 0 auto;
}

.stage-gallery .stage-small-images img {
    width: calc(50% - 10px);
    height: auto;
    object-fit: contain;
    display: block;
}

.stage-gallery img {
    width: 100%;
    display: block;
}
/* =========================
   CASTING STAGE
========================= */

.casting-stage .stage-main-image {
    width: 80%;
    margin: 0 auto 35px;
}

.casting-stage .stage-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.casting-stage .stage-small-images {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 25px;
    width: 75%;
    margin: 0 auto;
}

.casting-stage .stage-small-images img {
    width: calc(50% - 12.5px);
    height: auto;
    display: block;
}

/* =========================
   WHY FLORENCE COURT
   ========================= */

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.property-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
    max-width: 1100px;
    margin: 80px auto;
}

.property-cta .cta-image img {
    width: 100%;
    display: block;
}

.cta-button {
    display: inline-block;
    background: #8dcc35;
    color: white;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 3px;
    margin-top: 15px;
}

/* =========================
   FOOTER
   ========================= */

footer {
    background: #8dcc35;
    color: white;
    padding: 60px 7% 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}

footer h3 {
    margin-bottom: 18px;
}

footer a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

footer p {
    margin-bottom: 8px;
}

.macprime-link {
    text-decoration: underline;
}

.social-icons {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}

.copyright {
    text-align: center;
    margin-top: 60px;
}
/* =========================
   IMAGE LIGHTBOX
========================= */

.image-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    z-index: 9999;
}

.image-lightbox img {
    max-width: 95%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    border: none;
    color: white;
    font-size: 45px;
    line-height: 1;
    cursor: pointer;
}

.lightbox-close:hover {
    opacity: 0.7;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .hero {
        min-height: auto;
        padding: 30px 5%;
    }

   .hero-title h1 {
    font-size: 28px !important;
    font-weight: 400 !important;
    line-height: 1.15;
    margin: 0;
}

    .hero-image {
        width: 100%;
        margin-top: 0;
        border-radius: 40px 40px 0 0;
    }
@media (max-width: 768px) {

    .circle-one {
        width: 500px !important;
        height: 500px !important;
        top: -350px !important;
        right: -300px !important;
    }

    .circle-two {
        width: 360px !important;
        height: 360px !important;
        top: -260px !important;
        right: -200px !important;
    }

}

.florence-logo {
    top: 20px !important;
}

.florence-logo img {
    width: 135px;
}

.hero-title {
    transform: translateY(-10px);
}
    
    /* GENERAL GRIDS */
  .vision-grid {
    grid-template-columns: 1fr;
}

.why-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.why-grid h3 {
    font-size: 16px;
    line-height: 1.25;
}

.why-grid p {
    font-size: 13px;
    line-height: 1.5;
}

.footer-grid,
.cta-section {
    grid-template-columns: 1fr;
}

    /* PROJECT PROGRESS - MOBILE */
.progress-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.progress-grid img {
    width: 100%;
    height: auto;
    display: block;
}

/* PROJECT PROGRESS - MOBILE */

.stage-gallery {
    width: 100%;
}

.stage-gallery .stage-main-image {
    width: 100%;
    margin-left: 0;
    margin-bottom: 20px;
}

.stage-gallery .stage-small-images {
    display: flex;
    flex-direction: row;
    gap: 12px;
    width: 100%;
    margin: 0;
}

.stage-gallery .stage-small-images img {
    width: calc(50% - 6px);
    height: 150px;
    object-fit: cover;
    display: block;
}

    /* GENERAL SECTIONS */
    .section,
    .stage {
        padding: 50px 5%;
    }

    /* MOBILE HEADINGS */
    h2 {
        font-size: 28px;
        line-height: 1.2;
    }

    h3 {
        font-size: 20px;
        line-height: 1.3;
    }

    p {
        font-size: 15px;
        line-height: 1.6;
    }

    /* CTA */
    .cta-section {
        gap: 30px;
        margin: 50px auto;
    }

    .cta-section img {
        width: 100%;
    }

        /* FOOTER */
    .footer-grid {
        gap: 35px;
    }

    /* MOBILE HERO CURVES */
    .circle-one {
        top: -350px;
        right: -250px;
    }

    .circle-two {
        top: -250px;
        right: -160px;
    }

    /* MOBILE LOGO POSITION */
    .brand-logo {
        top: 25px;
    }

    .florence-logo {
        top: 125px;
    }

      /* MOBILE HERO CONTENT POSITION */
    .hero-content {
        margin-top: 80px;
    }

    .hero-image {
        margin-top: 85px;
    }

    /* WHY FLORENCE COURT - MOBILE */

.reasons-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 35px;
    width: 100%;
}

.reasons-grid > div {
    width: 100%;
}

.reasons-grid h3 {
    font-size: 21px;
    line-height: 1.3;
    margin-bottom: 10px;
}

.reasons-grid p {
    font-size: 15px;
    line-height: 1.6;
}

/* =========================
   PROPERTY CTA - MOBILE
========================= */

.property-cta {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.property-cta .cta-image {
    width: 100%;
}

.property-cta .cta-image img {
    width: 100%;
    height: auto;
    display: block;
}

.property-cta .cta-content {
    width: 100%;
}

}   /* CLOSES THE MOBILE MEDIA QUERY */


/* =========================================
   FLORENCE COURT PROPERTY ENQUIRY FORM
   ========================================= */

.enquiry-section {
    background: #f1f5e9;
    padding: 80px 20px;
}

.enquiry-section .container {
    max-width: 900px;
    margin: 0 auto;
}

/* HEADER */

.enquiry-header {
    text-align: center;
    margin-bottom: 55px;
}

.enquiry-header h2 {
    margin: 0 0 10px;
    font-size: 32px;
    font-weight: 700;
    color: #111;
    letter-spacing: 0.3px;
}

.enquiry-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    color: #222;
}

/* FORM */

.enquiry-form {
    width: 100%;
}

/* SECTIONS */

.enquiry-form .form-section {
    margin-bottom: 42px;
}

.enquiry-form .form-section h4 {
    margin: 0 0 22px;
    font-size: 14px;
    font-weight: 700;
    color: #111;
    letter-spacing: 0.3px;
}

/* FORM GROUP */

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

.enquiry-form label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 500;
    color: #222;
}

/* INPUTS */

.enquiry-form input[type="text"],
.enquiry-form input[type="tel"],
.enquiry-form input[type="email"],
.enquiry-form input[type="date"],
.enquiry-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;
    border: 1px solid #b8beb0;
    border-radius: 3px;
    background: #fff;
    color: #222;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.enquiry-form input::placeholder,
.enquiry-form textarea::placeholder {
    color: #92978f;
}

.enquiry-form input:focus,
.enquiry-form textarea:focus {
    border-color: #7fa63d;
    box-shadow: 0 0 0 2px rgba(127, 166, 61, 0.12);
}

/* PHONE + WHATSAPP */

.enquiry-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* CHECKBOXES / RADIO BUTTONS */

.enquiry-form .checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
}

.enquiry-form .checkbox-group.vertical {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.enquiry-form .checkbox-group label {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}

.enquiry-form input[type="checkbox"],
.enquiry-form input[type="radio"] {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: #7fa63d;
    cursor: pointer;
}

/* COMMENTS */

.enquiry-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* DATE */

.enquiry-form .form-date {
    max-width: 280px;
}

/* SUBMIT BUTTON */

.enquiry-form .form-submit {
    margin-top: 30px;
}

.enquiry-submit {
    background: #8dc63f !important;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 13px 28px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.enquiry-submit:hover {
    background: #66882f;
    transform: translateY(-1px);
}

/* MOBILE */

@media (max-width: 768px) {

    .enquiry-section {
        padding: 55px 18px;
    }

    .enquiry-header {
        margin-bottom: 40px;
    }

    .enquiry-header h2 {
        font-size: 25px;
        line-height: 1.25;
    }

    .enquiry-header h3 {
        font-size: 17px;
        line-height: 1.4;
    }

    .enquiry-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .enquiry-form .checkbox-group:not(.vertical) {
        flex-direction: column;
        gap: 10px;
    }

.enquiry-form .form-section {
    margin-bottom: 35px;
}
}