/* ===== VARIABLES ===== */
:root {
    /* Colors */
    --primary-color: #A60303;
    --primary-dark: #8a0202;
    --secondary-color: #1B378C;
    --secondary-dark: #152b6e;
    --text-color: #2c3e50;
    --text-light: #7f8c8d;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --lighter-bg: #ecf0f1;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    
    /* Typography */
    --font-family: 'Poppins', sans-serif;
    --h1-size: 2.5rem;
    --h2-size: 2rem;
    --h3-size: 1.5rem;
    --normal-size: 1rem;
    --small-size: 0.875rem;
    
    /* Spacing */
    --header-height: 4rem;
    --section-padding: 5rem 0;
    --container-width: 1200px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

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

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

button {
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
}

ul {
    list-style: none;
}

/* ===== UTILITIES ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section__subtitle {
    display: block;
    font-size: var(--small-size);
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.section__title {
    font-size: var(--h2-size);
    color: var(--text-color);
    margin-bottom: 2rem;
}

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

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

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.nav__logo-icon {
    width: 55px;
    height: 55px;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    padding: 0.5rem;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: var(--transition);
}

.nav__list {
    display: flex;
    gap: 2rem;
}

.nav__link {
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

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

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

.nav__link:hover::after {
    width: 100%;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0.95;
}

.hero__container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: calc(100vh - var(--header-height));
    padding: 2rem 1.5rem;
}

.hero__content {
    z-index: 10;
}

.hero__subtitle {
    display: inline-block;
    font-size: var(--small-size);
    font-weight: 600;
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.hero__title {
    font-size: var(--h1-size);
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero__description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero__button {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero__button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero__image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.hero__image-bg {
    position: absolute;
    width: 400px;
    height: 400px;
    color: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.hero__icon {
    position: relative;
    width: 200px;
    height: 200px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.hero__icon svg {
    width: 100px;
    height: 100px;
    color: var(--primary-color);
}

.hero__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: scaleY(-1);
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: var(--section-padding);
    background-color: var(--white);
}

.about__header {
    text-align: center;
    margin-bottom: 4rem;
}

.about__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.about__story {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about__text {
    font-size: 1.0625rem;
    color: var(--text-light);
    line-height: 1.8;
    text-align: justify;
}

.about__text strong {
    color: var(--primary-color);
    font-weight: 600;
}

.about__services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service__card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.service__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow);
    border-color: var(--primary-color);
}

.service__icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service__icon svg {
    width: 35px;
    height: 35px;
    color: var(--white);
}

.service__title {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.service__description {
    font-size: var(--normal-size);
    color: var(--text-light);
}

.about__values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    text-align: center;
}

.value__item {
    color: var(--white);
}

.value__number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.value__icon {
    width: 77px;
    height: 77px;
    margin: 0 auto 0.5rem;
    color: var(--white);
}

.value__icon svg {
    width: 83%;
    height: 83%;
}

.value__text {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===== LOCATION SECTION ===== */
.location {
    padding: var(--section-padding);
    background-color: var(--light-bg);
}

.location__header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.location__info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location__card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
}

.location__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.location__card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.location__card-icon svg {
    width: 30px;
    height: 30px;
    color: var(--white);
}

.location__card-title {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.location__card-text {
    font-size: 1.0625rem;
    color: var(--text-light);
    line-height: 1.8;
}

.location__hours {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hours__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--lighter-bg);
}

.hours__item:last-child {
    border-bottom: none;
}

.hours__day {
    font-weight: 500;
    color: var(--text-color);
}

.hours__time {
    color: var(--primary-color);
    font-weight: 600;
}

.hours__item--closed .hours__time {
    color: var(--text-light);
}

.location__map {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
}

.location__map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===== CTA SECTION ===== */
.cta {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta__container {
    position: relative;
    z-index: 10;
}

.cta__content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta__title {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta__description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta__button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 1.25rem 3rem;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta__button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.cta__button svg {
    width: 26px;
    height: 26px;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

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

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer__logo-icon {
    width: 40px;
    height: 40px;
}

.footer__description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer__title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__list li {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer__list strong {
    color: var(--white);
}

.footer__social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer__social-link {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer__social-link:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(166, 3, 3, 0.3);
}

.footer__social-link svg {
    width: 22px;
    height: 22px;
}

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

.footer__developer {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media screen and (max-width: 768px) {
    :root {
        --h1-size: 2rem;
        --h2-size: 1.75rem;
        --h3-size: 1.25rem;
        --section-padding: 3rem 0;
    }

    .nav__menu {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 70%;
        height: calc(100vh - var(--header-height));
        background-color: var(--white);
        box-shadow: -2px 0 10px var(--shadow);
        padding: 2rem;
        transition: var(--transition);
    }

    .nav__menu.active {
        right: 0;
    }

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

    .nav__toggle {
        display: flex;
    }

    .nav__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav__toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero__container {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 3rem 1.5rem;
    }

    .hero__image {
        order: -1;
    }

    .hero__image-bg {
        width: 300px;
        height: 300px;
    }

    .hero__icon {
        width: 150px;
        height: 150px;
    }

    .hero__icon svg {
        width: 75px;
        height: 75px;
    }

    .hero__title {
        font-size: 1.75rem;
    }

    .hero__description {
        font-size: 1rem;
    }

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

    .about__values {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .value__number {
        font-size: 2.5rem;
    }

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

    .location__map {
        min-height: 400px;
        order: -1;
    }

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

/* Mobile */
@media screen and (max-width: 480px) {
    :root {
        --h1-size: 1.75rem;
        --h2-size: 1.5rem;
        --normal-size: 0.9375rem;
    }

    .container {
        padding: 0 1rem;
    }

    .hero {
        padding-bottom: 5rem;
    }

    .hero__container {
        padding: 2rem 1rem;
    }

    .hero__image-bg {
        width: 250px;
        height: 250px;
    }

    .hero__icon {
        width: 120px;
        height: 120px;
    }

    .hero__icon svg {
        width: 60px;
        height: 60px;
    }

    .hero__button {
        padding: 0.875rem 2rem;
        font-size: 0.9375rem;
    }

    .nav__logo-text {
        font-size: 1rem;
    }

    .nav__logo-icon {
        width: 45px;
        height: 45px;
    }

    .service__card {
        padding: 1.5rem;
    }

    .about__values {
        padding: 2rem 1rem;
    }

    .location__card {
        padding: 1.5rem;
    }

    .location__map {
        min-height: 300px;
    }

    .cta__title {
        font-size: 1.75rem;
    }

    .cta__description {
        font-size: 1rem;
    }

    .cta__button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Large Desktop */
@media screen and (min-width: 1200px) {
    :root {
        --h1-size: 3rem;
        --h2-size: 2.5rem;
    }

    .hero__container {
        padding: 4rem 1.5rem;
    }
}

