/* ===== Reset & Box Sizing ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    /* apply to everything (fixes many overflow issues) */
}

/* Optional: hide webkit scrollbar if you want */
/* ::-webkit-scrollbar {
    display: none;
} */

/* Basic reset */
html,
body,
main,
header,
footer,
section,
article {
    margin: 0;
    padding: 0;
}

/* sensible default font-size for easy rem math */
html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

/* ===== Font-face (unchanged) ===== */
@font-face {
    font-family: "Brown Sugar";
    src: url("fonts/brown-sugar.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

/* ===== Design tokens ===== */
:root {
    --pink: #ff5f9a;
    --light-pink: #fcb1cc;
    --dark--pink: #ff005d;
    --white: #F7EDE2;
    --black: #131200;
    --black-bean: #3D0000;

    --space-xxs: 0.25rem;
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-xxl: 3rem;

    --font-family-system: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    --line-height: 1.45;
    --radius-sm: 4px;
    --radius-md: 8px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* ===== Base typography and body ===== */
html,
body {
    overflow-x: hidden;
    /* safety net for horizontal overflow */
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: var(--font-family-system);
    font-size: 1rem;
    /* 16px */
    line-height: var(--line-height);
    color: var(--white);
    background-color: var(--pink);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: inherit;
    margin: 0 0 var(--space-md) 0;
    line-height: 1.15;
    font-family: 'Brown Sugar', cursive;
}

/* sizes */
h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1rem;
}

h5 {
    font-size: 0.8rem;
}

h6 {
    font-size: 0.8rem;
}

/* Paragraphs */
p {
    margin: 0 0 var(--space-md) 0;
    color: var(--black);
}

/*button*/
button {
    background-color: var(--dark--pink);
    font-family: "Brown Sugar", cursive;
}

/* ===== Layout fixes (prevent horizontal overflow) ===== */
.site-wrapper {
    width: 100%;
    /* DON'T use 100vw — it causes overflow with scrollbars */
    max-width: 100%;
}

/* .page used as main container — avoid forced huge heights */
.hero-page {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    /* use min-height instead of height:120vh */

    box-sizing: border-box;
    min-width: 0;
    /* allow flex children to shrink */
}

section {
    overflow: hidden;
}

/* Ensure images never overflow their containers */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Example section backgrounds */
.hero-page {
    height: 120vh;
    background: linear-gradient(0deg, #F7EDE2 0%, #fcb1cc 90%);
}

/* if r1 is a decorative strip keep width controlled */
.header {
    width: 100%;
    height: 60px;
    margin: 10px 0px;
    /* background-color: red; */
    box-sizing: border-box;
}

/* ===== Nav & flex children improvements ===== */
nav {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
    height: 100%;
    gap: 8px;
    box-sizing: border-box;
    overflow: hidden;
    padding: 0 24px;
    /* guard against children overflow */
}

/* prefer flexible columns to fixed width percentages */
nav .navbar-logo,
.navbar-links,
.navbar-action {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-width: 0;
    padding: 0 8px;
}

/* small logo rules */
nav img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* Brown Sugar logo text — keep it on one line */
.logo {
    display: flex;
    width: 60px;
    height: 60px;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    font-family: "Brown Sugar", cursive;
    color: var(--white);
    overflow: hidden;
    border-radius: 50%;
    padding: 4px;
    background-color: var(--dark--pink);
}


/* nav links */
.navbar-logo {
    flex: 1;
    /* background-color: /rebeccapurple; */
}

nav .navbar-links {
    flex: 8;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    /* background-color: red; */
}

.navbar-links a {

    justify-content: space-evenly;
    text-decoration: none;
    color: var(--black);
    /* font-weight: 600; */
    font-size: 16px;
    white-space: nowrap;
    font-family: "Sulphur Point", sans-serif;
    letter-spacing: 1px;
    padding: 4px 8px;
    box-shadow: 10px 10px 0px #fcb1cc;
}

.navbar-links a:hover {
    border-bottom: solid 1px var(--black);
}

.navbar-action {
    flex: 1;
    justify-content: flex-end;
}

.navbar-action button {
    width: fit-content;
    height: fit-content;
    border: none;
    color: var(--white);
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
}

button:hover {
    background-color: var(--dark--pink);
    box-shadow: 5px 5px 0px #F7EDE2;
}

.hero-content {
    width: 100%;
    height: 100%;
    /* background-color: red; */
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    /* background-color: red; */
    width: 50%;
    height: 100%;

}

.hero-text h1 {
    font-size: 70px;
    margin-top: 100px;
    color: var(--black);
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-text p {

    font-family: "Sulphur Point", sans-serif;
}

.btn-primary {
    width: fit-content;
    height: fit-content;
    border: none;
    color: var(--white);
    text-transform: uppercase;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 20px;
}

.testimonial {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-evenly;
    /* background-color: red; */
    align-items: flex-start;
}

.brands-container {
    width: 100%;
    height: 100px;
    background-color: var(--dark--pink);
}

.hero-images {
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 50%;
    height: 100%;
    opacity: 95%;
    /* background-color: blue; */
    position: relative;
}

.hero-model {
    width: 500px;
    object-fit: contain;
    /* background-color: red; */
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    mix-blend-mode: normal;
}

.bg-layer-1 {
    position: relative;
    opacity: 50%;
    width: 50%;
    height: 60%;
    z-index: 2;
    top: 60%;
    left: 60%;
    transform: translate(-50%, -50%);
    border-radius: 42px;
    background-color: var(--dark--pink);
}

.bg-layer-2 {
    position: absolute;
    opacity: 50%;
    border-radius: 50%;
    width: 40%;
    height: 40%;
    z-index: 2;
    top: 30%;
    left: 35%;

    transform: translate(-50%, -50%);
    background-color: var(--black-bean);
}

.bg-layer-3 {
    position: absolute;
    width: 50%;
    height: 50%;
    z-index: 3;
    top: 70%;
    left: 25%;
    opacity: 30%;
    transform: translate(-50%, -50%) rotate(-95deg);
    mix-blend-mode: luminosity;
}

.services-page {
    height: 110vh;
    background: linear-gradient(90deg, #F7EDE2 0%, #fcb1cc 90%);
}

.service-header {
    display: flex;
    height: 30%;
    /* background-color: red; */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;

}

.service-header p {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--black);
    font-family: "Sulphur Point", sans-serif;
    letter-spacing: 2px;
}

.service-header h1 {
    font-size: 28px;
    text-align: center;
    color: var(--black);
    margin-top: 10px;
    line-height: 1.4;
    font-family: "Brown Sugar", cursive;
    letter-spacing: 2px;
}

.service-image-crousel {
    width: 100%;
    height: 70%;
    display: flex;
    /* background-color: rebeccapurple; */
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    gap: 20px;
}

.service-card {
    width: 300px;
    height: 100%;
    /* background-color: var(--pink); */
    display: flex;
    border: 1px solid var(--dark--pink);
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
    padding: 0px 14px;
    margin-bottom: 8px;
    scale: 90%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* box-shadow: 5px 5px 0px #fcb1cc; */
}

.service-card:nth-child(2),
.service-card:nth-child(4) {
    margin-top: 50px;
}

.service-card-img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    background-color: var(--pink);
}

.service-title {
    font-size: 24px;
    color: var(--black);
    font-family: "Brown Sugar", cursive;
    font-weight: 600;
    letter-spacing: 1px;
    padding-left: 18px;
}

.service-paragraph {
    font-size: 14px;
    color: var(--black);
    font-family: "Sulphur Point", sans-serif;
    padding-left: 18px;
    line-height: 1.2;
}

.discover {
    width: fit-content;
    height: fit-content;
    border: none;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 18px;
    font-family: "Brown Sugar", cursive;
    color: var(--dark--pink);
}

.service-card:nth-child(4) {
    background-color: var(--dark--pink);
    align-items: center;
    justify-content: center;
}

.more-service-btn {
    width: 300px;
    height: 100%;
    scale: 90%;
    color: var(--white);
    font-family: "Brown Sugar", cursive;
    transition: all 0.3s ease;
    background-color: var(--dark--pink);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--dark--pink);
}

.more-service-btn h1 {
    transform: rotate(-90deg);
    font-size: 100px;

}

.more-service-btn:hover {
    color: var(--black);
    background-color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.about-page {
    padding: 4%;
    height: 100vh;
    background-color: var(--dark--pink);
}

.about-page .content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    padding: 3%;
    background-color: var(--dark--pink);
}

.about-page .content h1 {
    font-size: 66px;
    color: var(--white);
    text-align: center;
    margin-bottom: 20px;
    font-family: "Brown Sugar", cursive;
}

.about-page .content p {
    width: 70%;
    font-size: 18px;
    color: var(--white);
    text-align: center;
    line-height: 1.6;
    font-family: "Sulphur Point", sans-serif;
}

.gallery-page {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    height: 100vh;
}

.gallery-page img {
    width: 25%;
    height: 50%;
    object-fit: cover;
    object-position: top;
}

.img-grp-1 {
    display: flex;
    width: 50%;
    height: 50%;
}

.img-grp-1 img {
    width: 100%;
    height: 100%;
    /* background-color: var(--black); */
}

.contact-page {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background: linear-gradient(-45deg, #F7EDE2 0%, #fcb1cc 90%);
}

.contact-form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 50%;
    height: 100%;
    /* background-color: red; */
}

.contact-page h1 {
    font-size: 48px;
    color: var(--black);
    text-align: center;
    margin-bottom: 20px;
    font-family: "Brown Sugar", cursive;
}

.contact-page form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50%;
    /* background-color: red; */
}

.contact-page input,
.contact-page textarea {
    width: 50%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 1px solid var(--dark--pink);
    border-radius: 4px;
    background-color: var(--white);
    font-family: "Sulphur Point", sans-serif;
    font-size: 16px;
    color: var(--black);
}

.contact-page p {
    width: 50%;
    font-size: 18px;
    color: var(--black);
    text-align: center;
    line-height: 1.6;
    font-family: "Sulphur Point", sans-serif;
    margin-bottom: 20px;
}

.contact-page button {
    width: fit-content;
    height: fit-content;
    border: none;
    color: var(--white);
    text-transform: uppercase;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 20px;
    background-color: var(--dark--pink);
    font-family: "Brown Sugar", cursive;
}

button:hover {
    background-color: var(--dark--pink);
    box-shadow: 5px 5px 0px #F7EDE2;
}

.contact-page form input::placeholder,
.contact-page form textarea::placeholder {
    color: var(--black);
    font-family: "Sulphur Point", sans-serif;
}

.service-paragraph {
    font-size: 14px;
    color: var(--black);
    font-family: "Sulphur Point", sans-serif;
    padding-left: 18px;
    line-height: 1.2;
}

.contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 50%;
    height: 100%;
}

footer {
    width: 100%;
    height: 60vh;
    display: flex;
    flex-direction: row;
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 50%;
    font-size: 100px;
    background-color: var(--dark--pink);
    border-right: solid 1px var(--white);
    border-bottom: solid 1px var(--white);

}

.footer-links,
.footer-socials {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    width: 80%;
}

.footer-links a,
.footer-socials a {
    width: 100%;
    height: 16.55%;
    text-decoration: none;
    color: var(--white);
    background-color: var(--dark--pink);
    font-size: 40px;
    font-family: "Brown Sugar", cursive;
    letter-spacing: 1px;
    padding: 4px 8px;
    display: flex;
    justify-content: center;
    text-align: center;
    border: solid 1px var(--white);
}

.footer-links a:hover {
    background-color: var(--black);
    color: var(--white);
    font-style: italic;
}

.footer-socials a {
    height: 25%;
    overflow: hidden;
    border: none;
    transition: all 0.3s ease;
}

.footer-bottom {
    display: flex;
    text-wrap: nowrap;
    justify-content: center;
    width: 12%;
    height: 100%;
    /* background-color: rebeccapurple; */
}

.footer-socials a img {
    /* scale: 0.5; */
    object-fit: contain;
}

.footer-socials a:hover {
    height: 70%;
}

.facebook,
.instagram,
.linkedin {
    scale: 2.5;
}

.x {
    padding: 20px;
}

.footer-bottom p {
    color: var(--white);
    font-family: "Sulphur Point", sans-serif;
    align-items: center;
    display: flex;
    height: 100%;
    transform: rotate(90deg);
}

.hamburger-links,
.hamburger-menu {
    display: none;
}

#hamburger-menu-close{
    display: none;
}


@media (max-width: 600px) {
    .navbar {
        padding: 10px;
        align-items: center;
    }

    .hamburger-menu {
        display: flex;
        border: none;
        justify-content: center;
        align-items: center;
        background-color: transparent;
        transform: rotate(90deg);
        line-height: 10px;
        width: fit-content;
        height: fit-content;
        font-size: 32px;
        color: var(--dark--pink);
        height: 100%;
        cursor: pointer;
    }

    .hamburger-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 90px;
        right: 10px;
        width: 95%;
        height: 30%;
        justify-content: space-evenly;
        background-color: var(--dark--pink);
        /* border: 1px solid var(--dark--pink); */
        /* border-radius: 8px; */
        /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
        z-index: 1000;
        padding: 8px;
        transition: all 0.3s ease-in-out ;
    }
    .hamburger-links a{
        width: 100%;
        color: var(--white);
        text-align: center;
        text-decoration: none;
        font-family: "Brown Sugar",cursive;
        font-weight: 600;
        font-style: italic;
        font-size: 20px;
    }

    .hamburger-menu:hover {
        background: none;
        box-shadow: none;
    }

    #hamburger-menu-close{
        margin-left: 20px;
        margin-right:5px;
        scale: 1.2;
        transition: all 0.5s ease;
    }

    #hamburger-menu-close .line1, #hamburger-menu-close .line2{
        position: absolute;
        transform: translate(-50%,-50%);
        top: 50%;
        left: 50%;
        transition: all .5s ease;
    }
    
    #hamburger-menu-close .line1 {
        transform: rotate(45deg);
        font-size: 40px;
    }
    #hamburger-menu-close .line2 {
        transform: rotate(-45deg);
        font-size: 40px;
    }

    .navbar-links {
        display: none;
    }

    .hero-page {
        flex-direction: column;
        overflow: hidden;
    }

    .hero-content {
        overflow: hidden;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    .hero-text {
        width: 100%;
        height: 50%;
        margin-top: 20px;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 24px;
    }

    .hero-text h1 {
        font-size: 30px;
        margin-top: 20px;
    }

    .hero-text p {
        font-size: 12px;
        text-align: left;
    }

    .btn-primary {
        margin: 12px;
        margin-left: 0px;
    }

    .testimonial {
        display: none;
    }

    .hero-images {
        width: 100%;
        height: 50%;
    }

    .hero-model {
        width: 60%;
        left: 70%;
        overflow: hidden;
    }

    .bg-layer-1 {
        width: 80%;
        height: 30%;
        top: 80%;
        left: 70%;
        overflow: hidden;
    }

    .bg-layer-2 {
        width: 30vw;
        height: 30vw;
        top: 30%;
        left: 50%;
        overflow: hidden;
    }

    .service-header h1 {
        font-size: 16px;
        margin: 0px;
    }

    .service-header p {
        font-size: 12px;
        padding: 0px;
    }

    .service-image-crousel {
        justify-content: flex-start;
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .service-card {
        border: none;
        height: 100%;
    }

    .service-title {
        padding: 0px;
    }

    .service-paragraph {
        display: none;
    }

    .discover {
        margin: 0;
        padding: 0;
        font-size: 12px;
    }

    .service-card:nth-child(2),
    .service-card:nth-child(4) {
        margin-top: 0px;
    }

    .about-page {
        width: 100vw;
        height: 100vh;
    }

    .about-page .content h1 {
        font-size: 32px;
    }

    .about-page .content p {
        width: 100%;
        font-size: 14px;
    }

    .contact-page {
        flex-direction: column;
        justify-content: flex-start;
        overflow: hidden;
    }

    .contact-form {
        justify-content: flex-start;
        width: 100%;
        height: 55%;
    }

    .contact-info {
        width: 100%;
        height: 30%;
    }

    .contact-page h1 {
        font-size: 32px;
        margin: 0px;
        margin-top: 25px;
    }

    .contact-page form {
        scale: .8;
        height: 100%;
    }

    .contact-page input,
    .contact-page textarea {
        width: 80%;
        font-size: 12px;
    }

    .contact-page p {
        width: 80%;
        font-size: 14px;
        margin: 0px;
    }

    .footer-links a {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 20px;
    }

    .facebook,
    .instagram,
    .linkedin {
        scale: 1.5;
        overflow: hidden;
    }

    .footer-bottom p {
        font-size: 12px;
        width: fit-content;
    }

    .footer-logo {
        font-size: 30px;
    }

    footer {
        overflow: hidden;
    }

}
