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

body {
    font-family: "optima-lt-pro", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.container {
    /*max-width: 375px;*/
    margin: 0 auto;
    background-color: #fff9e1;
}

/* Header */
header {
    padding: 20px 20px;
    /*background-color: #fff9e1;*/
    border-radius: 100px;
    /*border: solid orange;*/
}

.logo {
    font-size: 50px;
    font-family: big-caslon-fb, serif;
    font-weight: 700;
    font-style: normal;
    margin-top: 30px;
}

/* Hero Section */
.hero {
    background-image: url("images/hero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    position: relative;
    height: 700px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.4); /* optional dark overlay for readability */
    z-index: 0;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.logo {
    font-size: 50px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #ff9e00;
}

.hero-content h1 {
    font-size: 32px;
    margin-bottom: 20px;
    margin-top: 100px;
    color: #fff9e1;
    font-family: "big-caslon-fb", serif;
    font-weight: 400;
    font-style: normal;
    line-height: 50px;
    padding-left: 5px;
    padding-right: 5px;
}

.cta-button {
    background-color: #fff9e1;
    color: orange;
    padding: 12px 40px;
    font-size: 18px;
    border-radius: 30px;
    border: solid orange;
    font-weight: bold;
    cursor: pointer;
    z-index: 1;
}

/* Stats Section */
.stats {
    display: flex;
    flex-direction: column;
    padding: 35px 45px;
    background-color: #fff9e1;
    text-align: center;
}
.stat-item1 {
    margin-bottom: 70px;
}
.stat-item2 {
    margin-bottom: 70px;
}
.stat-item3 {
    margin-bottom: 70px;
}

.stats h3 {
    font-size: 18px;
    color: black;
    margin-top: 5px;
    margin-bottom: 5px;
    font-weight: bold;
}

.stats p {
    font-size: 14px;
    color: black;
    line-height: 1.3;
}
/* About Section 1 */
.about-section-1 {
    padding: 40px 20px;
    background-color: #c6c09c;
    box-shadow: 0px 15px 30px black;
    margin-bottom: 70px;
}
.polaroid-photo {
    width: 280px; /* Fixed width */
    height: 255px; /* Fixed height for square-ish */
    background: white;
    padding: 10px 10px 50px 10px; /* larger bottom padding for caption */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.7); /* stronger shadow */
    margin: 45px auto 0 auto;
    border: 12px solid white;
    border-bottom: 60px solid white; /* bigger bottom "frame" */
    text-align: center;
    font-family: "Arial", sans-serif;
    border-radius: 4px; /* subtle rounded corners */
    box-sizing: border-box;
    position: relative;
    transform: rotate(6deg);
    margin-bottom: 40px;
}

.polaroid-photo img {
    max-width: 100%;
    max-height: 180px; /* constrain image height */
    object-fit: cover; /* maintain aspect ratio, crop excess */
    margin: 0 auto;
    border-radius: 2px;
}
.about-content {
    max-width: 100%;
}

.about-section-1 h2 {
    font-size: 24px;
    color: black;
    margin-bottom: 15px;
}

.about-section-1 p {
    font-size: 14px;
    color: black;
    line-height: 1.6;
}

/* About Section 2 */
.about-section-2 {
    padding: 40px 20px;
    background-color: #fff9e1;
}

.about-section-2 p {
    font-size: 14px;
    color: black;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Product Section stacked below */
.wrapper {
    position: relative;
    border: 5px dashed #ffb100;
    padding-bottom: 50px;
    background: #fff9e1;
    margin: 40px 20px;
    box-sizing: border-box;
    overflow: hidden; /* hide overflowing parts */
}

.about-section-2 {
    position: relative;
    z-index: 1; /* lower */
    margin-bottom: -60px; /* bring product image over text */
}

.product-section {
    position: relative;
    z-index: 2; /* higher so image stays on top */
    display: flex;
    justify-content: center;
    margin-top: 0;
}

.product-overlay {
    position: relative;
    width: 200px;
    margin-top: -20px; /* negative margin to pull it upward beyond border */
    z-index: 2;
    display: flex;
    justify-content: center;
}

.product-overlay img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transform: rotate(5deg) scale(2.1);
    margin-left: 70px;
}

/* Form Section */
.form-section {
    padding: 40px 20px;
    text-align: center;
    background-color: #c6c09c;
    margin-top: 100px;
    box-shadow: 0px -1px 20px black;
}

.form-section h2 {
    font-size: 24px;
    color: black;
    margin-bottom: 20px;
}

.form-section form {
    max-width: 100%;
}

.form-section input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 14px;
    background-color: #fff9e1;
}

.form-section input:focus {
    outline: none;
    border-color: orange;
}

.form-section button {
    width: 50%;
}
.R {
    font-size: 70px;
    font-family: deseo-medium, sans-serif;
    font-weight: 400;
    font-style: normal;
}
@media (min-width: 1000px) {
    .stats {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 100px;
        padding-top: 80px;
        margin-left: 50px;
    }
    .stat-icon1 {
        display: block;
        margin-bottom: 15px;
        width: 100px;
        height: auto;
        margin-left: auto;
        margin-right: auto;
    }
    .stat-icon2 {
        display: block;
        margin-bottom: 15px;
        width: 60px;
        height: auto;
        margin-left: auto;
        margin-right: auto;
    }
    .stat-icon3 {
        display: block;
        margin-bottom: 15px;
        width: 150px;
        height: auto;
        margin-left: auto;
        margin-right: auto;
    }
    .wrapper {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center; /* vertically center the sections */
        max-width: 1000px;
        margin: 155px auto;
        padding: 30px 20px;
        border: 5px dashed #ffb100;
        background: #fff9e1;
        box-sizing: border-box;
    }

    .about-section-2,
    .product-section {
        flex: 1; /* each take equal space */
        margin: 0;
    }

    .about-section-2 {
        max-width: 600px; /* optional max width */
    }

    .about-section-2 p {
        font-size: 21px; /* increase from previous, e.g., 14px */
        line-height: 1.8; /* make line spacing a bit larger for readability */
    }

    .product-section {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .product-overlay img {
        width: 250px;
        height: auto;
        transform: scale(2) rotate(3deg);
        padding-bottom: 30px;
    }
    .form-section form {
        max-width: 500px; /* limit form width */
        margin: 0 auto; /* center horizontally */
    }

    .form-section input,
    .form-section button {
        width: 100%; /* inputs and button fill container width */
        max-width: 400px; /* optional max width within form */
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .form-section button {
        width: 50%; /* button smaller width */
        max-width: 200px; /* optional for better proportion */
        margin: 20px auto 0 auto; /* center button horizontally */
    }
    .hero-content {
        max-width: 700px; /* limit width */
        margin: 0 auto; /* center horizontally */
        text-align: center; /* center text */
        padding: 0 20px; /* some horizontal padding */
        margin-top: 80px;
    }

    .hero-content h1 {
        font-size: 48px; /* larger font size for desktop */
        line-height: 1.2;
        margin-top: 20px;
        margin-bottom: 30px;
    }
    .about-section-1 {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        background-color: #c6c09c; /* existing green background */
        padding: 75px 150px;
        gap: 40px;
        margin: 50px auto;
        box-sizing: border-box;
        color: black;
    }
    .about-content1 {
        flex: 1;
    }
    f .polaroid-photo img {
        max-width: 100%;
        max-height: 180px;
        object-fit: cover;
        display: block;
        margin: 0 auto;
    }
    .about-section-1 .about-content1 p {
        font-size: 21px; /* ensure paragraph text is bigger */
        line-height: 1.8;
    }
    .about-section-1 .about-content1 h2 {
        font-size: 36px; /* bigger heading */
        margin-bottom: 20px;
        font-weight: 700;
    }
    .polaroid-photo {
        border-left-width: 6px; /* skinnier left border */
        border-right-width: 6px; /* skinnier right border */
        border-top-width: 12px; /* keep top border thick */
        border-bottom-width: 60px; /* keep bottom border thick */
    }
}
