/* ========== VARIABLES ========== */
:root {
    --header-height: 4.5rem;

    /* Colors */
    --primary-color: #FF6B35;
    --primary-dark: #E65527;
    --secondary-color: #FFD23F;
    --accent-color: #F4A259;
    --dark-color: #1A1A1D;
    --dark-alt: #2D2D30;
    --text-color: #4A4A4A;
    --text-light: #757575;
    --white-color: #FFFFFF;
    --body-color: #FAFAFA;
    --container-color: #FFFFFF;

    /* Typography */
    --body-font: 'Poppins', sans-serif;
    --title-font: 'Bebas Neue', cursive;
    --biggest-font-size: 4rem;
    --h1-font-size: 2.5rem;
    --h2-font-size: 2rem;
    --h3-font-size: 1.5rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;

    /* Font Weight */
    --font-light: 300;
    --font-regular: 400;
    --font-semi-bold: 600;
    --font-bold: 700;
    --font-extra-bold: 800;

    /* Spacing */
    --mb-0-25: 0.25rem;
    --mb-0-5: 0.5rem;
    --mb-0-75: 0.75rem;
    --mb-1: 1rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;
    --mb-3: 3rem;

    /* z-index */
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* Responsive Typography */
@media screen and (max-width: 992px) {
    :root {
        --biggest-font-size: 3rem;
        --h1-font-size: 2rem;
        --h2-font-size: 1.75rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 0.938rem;
        --small-font-size: 0.813rem;
        --smaller-font-size: 0.75rem;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    color: var(--dark-color);
    font-weight: var(--font-bold);
}

ul {
    list-style: none;
}

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

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

button {
    cursor: pointer;
    border: none;
    outline: none;
}

/* ========== REUSABLE CLASSES ========== */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section {
    padding: 5rem 0 4rem;
}

.section__subtitle {
    display: block;
    font-size: var(--small-font-size);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: var(--font-semi-bold);
    margin-bottom: var(--mb-0-75);
}

.section__title {
    font-size: var(--h1-font-size);
    margin-bottom: var(--mb-2);
    line-height: 1.2;
}

.button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: var(--font-semi-bold);
    transition: var(--transition);
    text-align: center;
}

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

.button--primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

.button--secondary {
    background-color: transparent;
    color: var(--dark-color);
    border: 2px solid var(--dark-color);
}

.button--secondary:hover {
    background-color: var(--dark-color);
    color: var(--white-color);
    transform: translateY(-3px);
}

/* ========== HEADER & NAV ========== */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    background-color: var(--white-color);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo img {
    height: 50px;
    width: auto;
}

.nav__list {
    display: flex;
    column-gap: 2rem;
    align-items: center;
}

.nav__link {
    color: var(--text-color);
    font-weight: var(--font-semi-bold);
    transition: var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav__link:hover::after,
.nav__link.active-link::after {
    width: 100%;
}

.nav__link:hover,
.nav__link.active-link {
    color: var(--primary-color);
}

.nav__toggle,
.nav__close {
    display: none;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 8rem;
    background: linear-gradient(135deg, #FFF5F0 0%, #FFFFFF 100%);
    overflow: hidden;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.hero__content {
    animation: fadeInUp 1s ease;
}

.hero__title {
    display: flex;
    flex-direction: column;
    line-height: 0.9;
    margin-bottom: var(--mb-1-5);
}

.hero__title-accent {
    font-family: var(--title-font);
    font-size: var(--biggest-font-size);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero__title-main {
    font-family: var(--title-font);
    font-size: calc(var(--biggest-font-size) * 0.7);
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero__description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: var(--mb-2);
    max-width: 500px;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: var(--mb-2);
}

.hero__info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: var(--small-font-size);
}

.hero__info-item svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.hero__image {
    position: relative;
    animation: fadeInRight 1s ease;
}

.hero__image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
}

.hero__image-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 30px;
    top: 20px;
    left: 20px;
    z-index: 1;
}

.hero__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero__wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

/* ========== ABOUT ========== */
.about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.about__image {
    position: relative;
}

.about__image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.about__badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.about__badge-number {
    display: block;
    font-size: 2.5rem;
    font-weight: var(--font-bold);
    line-height: 1;
}

.about__badge-text {
    display: block;
    font-size: var(--smaller-font-size);
}

.about__content {
    max-width: 550px;
}

.about__description {
    margin-bottom: var(--mb-1-5);
    color: var(--text-light);
}

.about__features {
    display: grid;
    gap: 1rem;
}

.about__feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--container-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.about__feature:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.about__feature svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.about__feature span {
    font-weight: var(--font-semi-bold);
    color: var(--dark-color);
}

/* ========== GALLERY ========== */
.gallery {
    background-color: var(--body-color);
}

.gallery__header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--mb-3);
}

.gallery__text {
    color: var(--text-light);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    grid-auto-flow: dense;
}

.gallery__item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    height: 300px;
}

.gallery__item--large {
    grid-column: span 2;
    grid-row: span 2;
    height: 615px;
}

.gallery__item--wide {
    grid-column: span 2;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery__item:hover img {
    transform: scale(1.1);
}

.gallery__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery__item:hover .gallery__overlay {
    transform: translateY(0);
}

.gallery__overlay h3 {
    color: var(--white-color);
    font-size: var(--h3-font-size);
    margin: 0;
}

/* ========== SERVICES ========== */
.services {
    background-color: var(--container-color);
}

.services__header {
    text-align: center;
    margin-bottom: var(--mb-3);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service__card {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.service__card:hover::before {
    transform: scaleX(1);
}

.service__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service__card--featured {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.service__card--featured .service__icon,
.service__card--featured .service__title,
.service__card--featured .service__description {
    color: var(--white-color);
}

.service__icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 107, 53, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--mb-1);
}

.service__card--featured .service__icon {
    background-color: rgba(255, 255, 255, 0.2);
}

.service__icon svg {
    width: 30px;
    height: 30px;
    color: var(--primary-color);
}

.service__card--featured .service__icon svg {
    color: var(--white-color);
}

.service__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-75);
}

.service__description {
    color: var(--text-light);
    line-height: 1.8;
}

.service__card--featured .service__description {
    color: rgba(255, 255, 255, 0.9);
}

.service__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: var(--smaller-font-size);
    font-weight: var(--font-bold);
}

/* ========== REVIEWS ========== */
.reviews {
    background-color: var(--body-color);
}

.reviews__header {
    text-align: center;
    margin-bottom: var(--mb-3);
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.review__card {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.review__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.review__stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: var(--mb-1);
}

.review__stars svg {
    width: 20px;
    height: 20px;
    color: var(--secondary-color);
}

.review__text {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: var(--mb-1-5);
    font-style: italic;
}

.review__author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review__author-info h4 {
    font-size: var(--normal-font-size);
    margin-bottom: 0.25rem;
}

.review__author-date {
    font-size: var(--small-font-size);
    color: var(--text-light);
}

/* ========== CONTACT ========== */
.contact {
    background-color: var(--container-color);
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.contact__description {
    color: var(--text-light);
    margin-bottom: var(--mb-2);
}

.contact__details {
    display: grid;
    gap: 1.5rem;
}

.contact__detail {
    display: flex;
    gap: 1rem;
}

.contact__detail-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 107, 53, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact__detail-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.contact__detail-info h4 {
    font-size: var(--h3-font-size);
    margin-bottom: 0.5rem;
}

.contact__detail-info p {
    color: var(--text-light);
}

.contact__detail-info a {
    color: var(--primary-color);
    transition: var(--transition);
}

.contact__detail-info a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact__social {
    margin-top: var(--mb-2);
    text-align: center;
}

.contact__social h4 {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-1);
}

.contact__social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.contact__social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #E1306C, #C13584, #833AB4);
    color: var(--white-color);
    border-radius: 50px;
    transition: var(--transition);
}

.contact__social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(225, 48, 108, 0.3);
}

.contact__social-link svg {
    width: 20px;
    height: 20px;
}

.contact__map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact__map iframe {
    border-radius: 15px;
}

/* ========== FOOTER ========== */
.footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 4rem 0 2rem;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: var(--mb-3);
}

.footer__logo img {
    height: 60px;
    margin-bottom: var(--mb-1);
}

.footer__description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--mb-1-5);
    line-height: 1.8;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #E1306C, #C13584, #833AB4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer__social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(225, 48, 108, 0.4);
}

.footer__social-link svg {
    width: 20px;
    height: 20px;
    color: var(--white-color);
}

.footer__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-1-5);
}

.footer__links,
.footer__schedule,
.footer__contact {
    display: grid;
    gap: 0.75rem;
}

.footer__links a,
.footer__schedule span,
.footer__contact span,
.footer__contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer__links a:hover,
.footer__contact a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer__schedule li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__contact li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.footer__contact svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer__bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--small-font-size);
    margin-bottom: var(--mb-1);
}

.footer__legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--mb-1-5);
}

.footer__legal-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--small-font-size);
    transition: var(--transition);
}

.footer__legal-links a:hover {
    color: var(--primary-color);
}

.footer__legal-links span {
    color: rgba(255, 255, 255, 0.4);
}

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

.footer__gov img {
    max-width: 400px;
    height: auto;
    opacity: 0.9;
}

/* ========== SCROLL TO TOP ========== */
.scrolltop {
    position: fixed;
    right: 2rem;
    bottom: -20%;
    background-color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-tooltip);
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.scrolltop:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.scrolltop svg {
    width: 24px;
    height: 24px;
    color: var(--white-color);
}

.show-scroll {
    bottom: 2rem;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== RESPONSIVE ========== */
@media screen and (max-width: 992px) {
    .hero__container,
    .about__container,
    .contact__content {
        grid-template-columns: 1fr;
    }

    .hero__image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .about__image {
        max-width: 500px;
        margin: 0 auto;
    }

    .gallery__item--large {
        grid-column: span 1;
        grid-row: span 1;
        height: 300px;
    }

    .gallery__item--wide {
        grid-column: span 1;
    }
}

@media screen and (max-width: 768px) {
    .header {
        box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100%;
        background-color: var(--white-color);
        padding: 4rem 2rem;
        transition: var(--transition);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .nav__menu.show-menu {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        row-gap: 2rem;
    }

    .nav__link {
        font-size: var(--h3-font-size);
    }

    .nav__close {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        font-size: 1.5rem;
        cursor: pointer;
        width: 32px;
        height: 32px;
    }

    .nav__toggle {
        display: block;
        width: 32px;
        height: 32px;
        cursor: pointer;
    }

    .section {
        padding: 3rem 0 2rem;
    }

    .hero {
        padding-bottom: 5rem;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .gallery__grid {
        grid-template-columns: 1fr;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .reviews__grid {
        grid-template-columns: 1fr;
    }

    .footer__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .scrolltop {
        right: 1rem;
    }

    .show-scroll {
        bottom: 1rem;
    }
}

@media screen and (max-width: 350px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero__title-accent {
        font-size: 2.5rem;
    }

    .hero__title-main {
        font-size: 2rem;
    }

    .section__title {
        font-size: 1.5rem;
    }
}
