/* ============================================================================
   VARIABLES AND RESET
   ============================================================================ */
:root {
    --primary-blue: rgb(39, 120, 176);
    --primary-blue-dark: rgb(25, 80, 130);
    --primary-blue-light: rgb(80, 150, 200);
    --accent-red: rgb(200, 71, 50);
    --accent-red-dark: rgb(160, 50, 30);
    --accent-red-light: rgb(230, 100, 80);
    --dark-navy: rgb(20, 35, 60);
    --light-bg: rgb(248, 250, 252);
    --gray-light: rgb(240, 242, 245);
    --gray-medium: rgb(120, 130, 140);
    --gray-dark: rgb(60, 70, 80);
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--gray-dark);
    background-color: var(--light-bg);
    line-height: 1.6;
}

/* ============================================================================
   HEADER AND NAVIGATION
   ============================================================================ */
.header {
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-light);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    display: flex;
    justify-content: center;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--gray-light);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 900px;
}

.logo-container img {
    width: 120px;
    height: auto;
    transition: var(--transition);
}

.label-container {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.company-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-navy);
    letter-spacing: 1px;
}

.company-license {
    font-size: 0.9rem;
    color: var(--gray-medium);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    padding: 0;
    gap: 0;
}

.nav-links {
    display: flex;
    gap: 0;
    align-items: center;
}

.nav-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
}

.nav-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent-red);
    transition: width 0.3s ease;
}

.nav-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-button:hover::after {
    width: 100%;
}

.nav-hamburger {
    display: none;
    background-color: transparent;
    border: none;
    width: 50px;
    height: 50px;
    padding: 0.5rem;
    cursor: pointer;
    margin-right: 1rem;
    transition: var(--transition);
}

.nav-hamburger img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.nav-hamburger:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* ============================================================================
   MAIN CONTENT
   ============================================================================ */
.main-content {
    background-color: var(--light-bg);
    padding: 0;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================================================
   CAROUSEL
   ============================================================================ */
.carousel {
    position: relative;
    margin: 3rem auto;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    background-color: #000;
    display: group;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Arrow buttons */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    color: #000;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    padding: 0;
}

.carousel:hover .carousel-arrow {
    opacity: 0.8;
}

.carousel-arrow:hover {
    background-color: rgba(255, 255, 255, 1);
    opacity: 1;
}

.carousel-arrow svg {
    width: 24px;
    height: 24px;
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* ============================================================================
   SECTIONS
   ============================================================================ */
.section {
    background-color: var(--white);
    border-radius: 8px;
    padding: 3rem 2rem;
    margin: 2rem auto;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    scroll-margin-top: 275px;
}

.section:hover {
    box-shadow: var(--shadow-md);
}

.section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--accent-red);
    display: inline-block;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-dark);
    max-width: 800px;
    margin-top: 1.5rem;
}

.services-header {
    font-size: 1.9rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent-red);
    display: inline-block;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-list li {
    font-size: 1.4rem;
    font-weight: 550;
    color: var(--primary-blue);
    padding-left: 1.8rem;
    position: relative;
    line-height: 1.6;
}

.services-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    font-weight: bold;
    color: var(--accent-red);
    font-size: 1.3rem;
}

/* ============================================================================
   GALLERY
   ============================================================================ */
.gallery-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-row img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-row img:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* ============================================================================
   CONTACT SECTION
   ============================================================================ */
.contact-section {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-light) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1rem;
    margin: 0.5rem 0;
    color: var(--gray-dark);
}

.contact-detail {
    font-weight: 500;
    color: var(--primary-blue);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border: 2px solid var(--gray-light);
    border-radius: 6px;
    font-family: inherit;
    transition: var(--transition);
    background-color: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(39, 120, 176, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    padding: 0.85rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-dark) 100%);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--accent-red-light) 0%, var(--accent-red) 100%);
}

.submit-btn:active {
    transform: translateY(0);
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.footer {
    background-color: var(--dark-navy);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */
@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }

    .header-top {
        padding: 1rem;
    }

    .logo-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .logo-container img {
        width: 100px;
    }

    .company-name {
        font-size: 1.4rem;
    }

    .nav-links {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-blue-dark);
        display: none;
        width: 100%;
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-button {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1.2rem;
    }

    .nav-button::after {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .navbar {
        position: relative;
    }

    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 2rem 1.5rem;
        margin: 1.5rem auto;
    }

    .section h2 {
        font-size: 1.6rem;
    }

    .gallery-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-row img {
        height: 200px;
    }

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

    .carousel {
        margin: 1.5rem auto;
    }

    .carousel-container {
        height: 350px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
    }

    .carousel-arrow svg {
        width: 20px;
        height: 20px;
    }
}