/* 
   GENERAL STYLES
*/

:root {
    --primary-color: #12355b;
    --secondary-color: #1f6f8b;
    --accent-color: #de7017;
    --light-background: #f5f7f9;
    --white: #ffffff;
    --dark-text: #1f2933;
    --light-text: #5f6c76;
    --border-color: #d9e0e5;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Open Sans", sans-serif;
    color: var(--dark-text);
    background-color: var(--white);
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: "Montserrat", sans-serif;
    line-height: 1.2;
}

h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

section {
    padding: 3.5rem 1.25rem;
}

/* HEADER */

header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.logo {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.logo img {
    width: 250px;
    max-width: 100%;
    height: auto;
}

#menu {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: none;
    background: none;
    color: var(--primary-color);
    font-size: 2rem;
    cursor: pointer;
}

#menu::before {
    content: "☰";
}

#menu.open::before {
    content: "✕";
}

header nav {
    display: none;
    width: 100%;
    margin-top: 0.5rem;
    background-color: var(--primary-color);
}

header nav.open {
    display: flex;
    flex-direction: column;
}

header nav a {
    display: block;
    padding: 1rem;
    color: var(--white);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

header nav a:hover {
    background-color: var(--secondary-color);
}

/*BUTTONS*/

.button {
    display: inline-block;
    padding: 0.85rem 1.4rem;
    border-radius: 6px;
    background-color: var(--accent-color);
    color: var(--dark-text);
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    text-align: center;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.button:hover {
    background-color: #ee8f41;
    transform: translateY(-2px);
}

/*HERO*/

.hero {
    padding: 0;
    background-color: var(--light-background);
}

.hero-text {
    padding: 3.5rem 1.25rem;
    text-align: center;
}

.hero h1 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 2rem;
}

.hero p {
    max-width: 600px;
    margin: 0 auto 1.75rem;
    
}

.hero img {
    width: 100%;
    min-height: 280px;
    object-fit: cover;
}

/* HOME CONTACT OPTIONS */

.home-contact-options {
    margin-top: 1.75rem;
}

.contact-label {
    margin-bottom: 0.8rem;
    color: var(--light-text);
    font-weight: 600;
}

.home-contact-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
}

.home-contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 7px;
    color: var(--primary-color);
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    text-align: center;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.home-contact-button:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.home-contact-button i {
    font-size: 1.1rem;
}

.whatsapp-home {
    border-color: #25d366;
    color: #25d366;
}

.whatsapp-home:hover {
    background-color: #25d366;
    color: var(--white);
}

.estimate-text{
    margin: 2rem 0 1.5rem;
    padding: 0.9rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 7px;
    background-color: #ee8f41;
    color: var(--dark-text);
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    text-align: center;
}

/*SERVICES*/

.services {
    background-color: var(--white);
}

.services-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1600px;
    margin: 0 auto;
}

.service-card {
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.service-card img {
    height: 350px;
    object-fit: cover;
}

.service-card h3 {
    margin: 1.25rem 1.25rem 0.6rem;
    color: var(--primary-color);
}

.service-card p {
    padding: 0 1.25rem 1.5rem;
    color: var(--light-text);
}

/*WHY CHOOSE US*/

.why-us {
    background-color: var(--primary-color);
    color: var(--white);
}

.why-us h2 {
    color: var(--white);
}

.why-us ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
    list-style: none;
}

.why-us li {
    position: relative;
    padding: 1.25rem 1.25rem 1.25rem 3.25rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.08);
}

.why-us li::before {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 1.15rem;
    color: var(--accent-color);
    font-size: 1.4rem;
    font-weight: 700;
    transform: translateY(-50%);
}

/* BEFORE AND AFTER */

.before-after {
    background-color: var(--light-background);
}

.section-intro {
    max-width: 650px;
    margin: -0.5rem auto 2rem;
    color: var(--light-text);
    text-align: center;
}

.gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.before-after-card {
    overflow: hidden;
    border-radius: 12px;
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.before-after-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.before-after-card figcaption {
    padding: 1rem;
    color: var(--primary-color);
    font-family: "Montserrat", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
}

/* TESTIMONIALS */

.testimonials {
    background-color: var(--white);
}

.testimonials article {
    max-width: 650px;
    margin: 0 auto 1.5rem;
    padding: 1.75rem;
    border-radius: 12px;
    background-color: var(--light-background);
    box-shadow: var(--shadow);
}

.testimonials article:last-child {
    margin-bottom: 0;
}

.testimonials h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
    letter-spacing: 0.15rem;
}

.testimonials p {
    margin-bottom: 1rem;
    color: var(--light-text);
    font-style: italic;
}

.testimonials strong,
.testimonials span {
    display: block;
}

.testimonials strong {
    color: var(--primary-color);
}

.testimonials span {
    margin-top: 0.2rem;
    color: var(--light-text);
    font-size: 0.9rem;
}

/*CALL TO ACTION*/

.cta {
    padding: 4rem 1.25rem;
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    margin-bottom: 1rem;
    color: var(--white);
}

.cta p {
    max-width: 650px;
    margin: 0 auto 1.75rem;
    font-size: 1.05rem;
}

.cta .button {
    background-color: var(--accent-color);
    color: var(--dark-text);
}

/*FOOTER*/

footer {
    padding: 2rem 1.25rem;
    background-color: var(--dark-text);
    color: var(--white);
    text-align: center;
}

footer p {
    margin-bottom: 0.75rem;
}

footer nav a {
    color: var(--accent-color);
}

footer nav a:hover {
    text-decoration: underline;
}

/* SERVICES PAGE */

.services-hero {
    padding: 4rem 1.25rem;
    background-color: var(--light-background);
    text-align: center;
}

.services-hero h1 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 2.2rem;
}

.services-hero p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--light-text);
}

.services-page {
    display: grid;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-detail {
    overflow: hidden;
    border-radius: 12px;
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.service-detail img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.service-detail div {
    padding: 1.5rem;
}

.service-detail h2 {
    margin-bottom: 1rem;
    text-align: left;
}

.service-detail p {
    margin-bottom: 1rem;
    color: var(--light-text);
}

.service-detail ul {
    padding-left: 1.25rem;
}

.service-detail li {
    margin-bottom: 0.5rem;
}

/* CONTACT PAGE */

.contact-hero {
    padding: 4rem 1.25rem;
    background-color: var(--light-background);
    text-align: center;
}

.contact-hero h1 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 2.2rem;
}

.contact-hero p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--light-text);
}

.contact-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info,
.contact-options {
    padding: 1.75rem;
    border-radius: 12px;
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.contact-info h2,
.contact-options h2 {
    margin-bottom: 1.25rem;
    text-align: left;
}

.contact-info > p,
.contact-options > p {
    margin-bottom: 2rem;
    color: var(--light-text);
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item h3 {
    margin-bottom: 0.35rem;
    color: var(--primary-color);
}

.contact-item p {
    color: var(--light-text);
}


/* CONTACT BUTTONS */

.contact-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    color: var(--primary-color);
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    text-align: center;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.contact-button i {
    font-size: 1.2rem;
}

.contact-button:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.primary-contact {
    border-color: var(--accent-color);
    background-color: var(--accent-color);
    color: var(--dark-text);
}

.primary-contact:hover {
    border-color: #ee8f41;
    background-color: #ee8f41;
    color: var(--dark-text);
}

.whatsapp-button {
    border-color: #25d366;
    color: #25d366;
}

.whatsapp-button:hover {
    background-color: #25d366;
    color: var(--white);
    transform: translateY(-2px);
}

