/* GLOBAL */

*{
    box-sizing:border-box;
    margin:0;
    padding:0;
}

body{
    font-family:serif;
}

.container{
    max-width:1200px;
    margin:0 auto;
    padding:0 20px;
}

section{
    padding:80px 0;
}

img{
    max-width:100%;
    height:auto;
    display:block;
}

/* LOGO */

.logo{
    width:auto;
    height:auto;
    object-fit:cover;
    margin:auto;
}

/* HEADER */

header{
    text-align:center;
}

.branding p{
    margin-top:5px;
}

/* NAVIGATION */

.nav-bar{
    margin-top:25px;
}

.nav-links{
    display:flex;
    justify-content:center;
    gap:40px;
    list-style:none;
}

.nav-links a{
    text-decoration:none;
    color:black;
}

/* HAMBURGER */

.menu-toggle{
    display:none;
    position:fixed;
    top:20px;
    left:20px;
    font-size:28px;
    background:none;
    border:none;
    cursor:pointer;
    z-index:3000;
    transition:0.3s;
}

.menu-toggle.active{
    left:220px;
}

/* HERO */

.hero{
    padding-bottom:20px;
}

.hero .container{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:40px;
    align-items:center;
}

.hero-text{
    max-width:500px;
}

.hero-text h2{
    font-size:clamp(28px,4vw,48px);
    margin-bottom:20px;
}

.hero-text p{
    margin-bottom:20px;
}

/* BUTTON */

.cta-button{
    display:inline-block;
    padding:12px 24px;
    background:black;
    color:white;
    border-radius:6px;
    text-decoration:none;
}

/* ABOUT */

.about{
    padding-top:40px;
}

.about .container{
    display:grid;
    grid-template-columns:1fr 2fr;
    gap:40px;
}

.about-left{
    display:flex;
    justify-content:center;
}

.about-left img{
    width:250px;
    height:250px;
    object-fit:cover;
    border-radius:50%;
}

.about-right{
    text-align:center;
}

/* REVIEWS */

.reviews{
    text-align:center;
}

.carousel{
    overflow:hidden;
    position:relative;
}

.carousel-track{
    display:flex;
    transition:transform 0.5s ease;
}

.review{
    flex:0 0 100%;
    padding:30px;
    background:white;
    border-radius:10px;
    box-sizing:border-box;
}

@media (min-width:768px){
    .review{
        flex: 0 0 33.333%;
    }
}

/* ARROWS */

.prev, .next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:black;
    color:white;
    border:none;
    padding:10px 14px;
    cursor:pointer;
    z-index:10;
}

.prev{
    left:10px;
}

.next{
    right:10px;
}

.prev:hover,
.next:hover{
    transform:translateY(-50%) scale(1.1);
}

/* REVIEW TEXT */

.review p{
    font-size:1.2rem;
    margin-bottom:10px;
}

.review h4{
    margin-top:10px;
}

/* DOTS */

.dots{
    display:flex;
    justify-content:center;
    margin-top:20px;
    gap:8px;
}

.dot{
    width:10px;
    height:10px;
    background:#ccc;
    border-radius:50%;
    cursor:pointer;
}

.dot.active{
    background:black;
}

/* CONTACT */

.contact{
    padding:80px 0;
    text-align:center;
}

.contact-label{
    font-size:12px;
    letter-spacing:2px;
    margin-bottom:20px;
}

.contact-heading{
    margin-bottom:40px;
}

.contact-form{
    max-width:700px;
    margin:0 auto;
    display:flex;
    flex-direction:column;
    gap:20px;
    text-align:left;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:12px;
    border:none;
    border-bottom:1px solid #ccc;
    font-family:inherit;
}

.contact-form textarea{
    min-height:120px;
}

.contact-form button{
    margin-top:20px;
    padding:14px;
    border:none;
    background:black;
    color:white;
    cursor:pointer;
}

/* FORM */

.form-group{
    position:relative;
}

.form-group input,
.form-group textarea{
    width:100%;
    padding:12px 0;
    border:none;
    border-bottom:1px solid #ccc;
    background:none;
    outline:none;
}

.form-group label{
    position:absolute;
    left:0;
    top:12px;
    color:#999;
    font-size:14px;
    pointer-events:none;
    transition:0.3s;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label{
    top:-10px;
    font-size:12px;
    color:black;
}

.form-group input:focus,
.form-group textarea:focus{
    border-bottom:2px solid black;
}

.error-message{
    color:red;
    font-size:12px;
    display:none;
    margin-top:5px;
}

.form-group input:not(:placeholder-shown):invalid ~ .error-message,
.form-group textarea:not(:placeholder-shown):invalid ~ .error-message{
    display:block;
}

/* MOBILE */

@media (max-width:768px){

    .menu-toggle{
        display:block;
    }

    /* MOBILE MENU */

    .nav-links{
        position:fixed;
        top:0;
        left:-260px;
        width:260px;
        height:100vh;
        background:white;
        display:flex;
        flex-direction:column;
        justify-content:flex-start; /* ✅ ADD THIS */
        gap:25px;
        padding:80px 30px;
        box-shadow:3px 0 10px rgba(0,0,0,0.1);
        transition:0.3s;
        z-index:2500;
    }

    .nav-links.active{
        left:0;
    }

    /* HERO */

    .hero .container{
        grid-template-columns:1fr;
    }

    .hero-text{
        text-align:center;
    }

    .branding h1{
        font-size:32px;
    }

    /* ABOUT */

    .about .container{
        grid-template-columns:1fr;
        text-align:center;
        gap:20px;
    }

    .hero .container{
        justify-items:center;
        text-align:center;
    }

    .hero-text{
        margin:0 auto;
    }

}



/* EXTRA MOBILE IMAGE FIX */

@media (max-width:768px){
    .about-left img{
        width:150px;
        height:150px;
        margin:0 auto;
    }
}

/* Services */

.service-section {
    padding: 80px 20px;
}

.service-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

/* Reverse layout */
.service-container.reverse {
    flex-direction: row-reverse;
}

/* Make true 50/50 columns */
.service-image,
.service-text {
    flex: 1;
}

.service-text {
    max-width: 500px;
}

/* IMAGE FIX (this is the important part) */
.service-image {
    display: flex;
    justify-content: center;
}


.service-image img {
    width: 100%;
    max-width: 450px;   /* controls max size */
    aspect-ratio: 1 / 1; /* keeps perfect square */
    object-fit: cover;
    border-radius: 50%;
}

/* TEXT */
.service-text {
    text-align: center;
    align-items: center;
}

.service-text h2 {
    margin-bottom: 15px;
}

.service-text p {
    max-width: 500px;
    margin-bottom: 15px;
    line-height: 1.7;
}

.service-text h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.service-text ul {
    padding-left: 20px;
    text-align: left;
}

.service-text li {
    margin-bottom: 8px;
}

/* 📱 MOBILE FIX */
@media (max-width: 768px) {
    .service-container {
        flex-direction: column;
        text-align: center;
    }

    .service-container.reverse {
        flex-direction: column;
    }

    .service-image img {
        max-width: 250px; /* shrink cleanly */
    }
}

/* About */

/* About Page */

.about-section {
    padding: 80px 20px;
}

.about-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

/* 50/50 split */
.about-image,
.about-text {
    flex: 1;
}

/* IMAGE */
.about-image {
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%; /* softer than circle for About */
}

/* TEXT */
.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.7;
    max-width: 500px;
}

/* 📱 MOBILE */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        align-items: center;
    }

    .about-text p {
        max-width: 100%;
    }
}

/* Info Page */

/* General Info Page */

.info-section {
    padding: 80px 20px;
}

.info-container {
    max-width: 700px; /* keeps it readable */
    margin: auto;
}

/* Small subtitle */
.info-subtitle {
    text-align: center;
    letter-spacing: 2px;
    font-size: 12px;
    margin-bottom: 30px;
    color: #888;
}

/* Headings */
.info-container h2 {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Paragraphs */
.info-container p {
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Contact Page */

.contact-section {
    padding: 80px 20px;
}

.contact-container {
    max-width: 700px;
    margin: auto;
    text-align: center;
}

/* Subtitle */
.contact-subtitle {
    letter-spacing: 2px;
    font-size: 12px;
    color: #888;
    margin-bottom: 20px;
}

/* Heading */
.contact-container h2 {
    margin-bottom: 40px;
}

/* Form layout */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Inputs */
.contact-form input,
.contact-form textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 10px 5px;
    font-size: 16px;
    outline: none;
    background: transparent;
}

/* Focus effect */
.contact-form input:focus,
.contact-form textarea:focus {
    border-bottom: 1px solid black;
}

/* Textarea */
.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Button */
.contact-form button {
    margin-top: 20px;
    padding: 15px;
    border: none;
    background: #cbbfb6; /* soft neutral */
    cursor: pointer;
    letter-spacing: 2px;
    font-weight: bold;
    transition: 0.3s ease;
}

.contact-form button:hover {
    background: #b5a79d;
}

/* Forms Section */

.forms-section {
    padding: 80px 20px;
}

.forms-container {
    max-width: 700px;
    margin: auto;
}

/* Subtitle */
.forms-subtitle {
    letter-spacing: 2px;
    font-size: 12px;
    color: #888;
    margin-bottom: 30px;
}

/* Each row */
.form-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #eee9e5; /* soft neutral like your design */
    padding: 18px 20px;
    margin-bottom: 10px;
}

/* Text */
.form-item span {
    font-size: 16px;
}

/* Download link */
.form-item a {
    text-decoration: none;
    color: #6b5f57;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Hover effect */
.form-item a:hover {
    text-decoration: underline;
}

/* 📱 Mobile */
@media (max-width: 600px) {
    .form-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .form-item a {
        align-self: flex-end;
    }
}

html {
    scroll-behavior: smooth;
}

section {
    padding: 80px 20px;
}

button {
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
}

.service-image img {
    transition: transform 0.3s ease;
}

.service-image img:hover {
    transform: scale(1.05);
}

/* Fun Touches */

.nav-links a {
    position: relative;
    text-decoration: none;
}

/* the animated line */
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px; /* space below text */
    width: 0;
    height: 2px;
    background-color: black;
    transition: width 0.3s ease;
}

/* on hover */
.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active::after {
    width: 100%;
}