/* ===== CUSTOM STYLES FOR HVAC MECHANICAL SPECIALISTS ===== */

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

/* Selection color */
::selection {
    background: rgba(118, 215, 196, 0.3);
    color: #0B1628;
}

/* ===== NAVIGATION ===== */
.navbar-scrolled {
    background: rgba(6, 13, 31, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 1023px) {
    .hero-section {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}

/* ===== BUTTONS ===== */
.btn-primary-custom {
    background: linear-gradient(135deg, #76D7C4, #48C9B0);
    color: #0B1628;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #48C9B0, #1ABC9C);
    transition: left 0.3s ease;
    z-index: 0;
}

.btn-primary-custom:hover::before {
    left: 0;
}

.btn-primary-custom span {
    position: relative;
    z-index: 1;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(118, 215, 196, 0.35);
}

.btn-secondary-custom {
    border: 1.5px solid #76D7C4;
    color: #76D7C4;
    transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
    background: rgba(118, 215, 196, 0.1);
    transform: translateY(-2px);
}

/* ===== SERVICE CARDS ===== */
.service-card-custom {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card-custom:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(11, 22, 40, 0.15);
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card-custom {
    position: relative;
    border-left: 3px solid #76D7C4;
}

.testimonial-card-custom::before {
    content: '\201C';
    font-family: 'Lora', Georgia, serif;
    font-size: 4rem;
    color: #76D7C4;
    opacity: 0.2;
    position: absolute;
    top: -10px;
    left: 12px;
    line-height: 1;
}

/* ===== FORM INPUTS ===== */
.form-input-custom {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(118, 215, 196, 0.3);
    color: #EDECE6;
    transition: all 0.3s ease;
}

.form-input-custom:focus {
    border-color: #76D7C4;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
    box-shadow: 0 0 0 3px rgba(118, 215, 196, 0.15);
}

.form-input-custom::placeholder {
    color: rgba(237, 236, 230, 0.4);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 1;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-left {
        opacity: 0;
        transform: translateX(-30px);
    }

    .reveal-left.visible {
        opacity: 1;
        transform: translateX(0);
    }

    .reveal-right {
        opacity: 0;
        transform: translateX(30px);
    }

    .reveal-right.visible {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== MOBILE MENU ===== */
.mobile-menu-custom {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-custom.open {
    transform: translateX(0);
}

/* ===== IMAGE TREATMENTS ===== */
.img-elegant-custom {
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(6, 13, 31, 0.2);
}

/* ===== DECORATIVE LINE ===== */
.deco-line-custom {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #76D7C4, #48C9B0);
}

/* ===== SECTION DIVIDER ===== */
.section-divider-custom {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(118, 215, 196, 0.3), transparent);
}

/* ===== COUNTER ANIMATION ===== */
.counter {
    display: inline-block;
}

/* ===== HAMBURGER ANIMATION ===== */
.hamburger-line {
    transition: all 0.3s ease;
}

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

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Focus visible for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #76D7C4;
    outline-offset: 2px;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 767px) {
    html {
        font-size: 15px;
    }

    .hero-section {
        min-height: auto;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-section {
        grid-template-columns: 1fr;
    }
}
