:root {
    /* Color Palette */
    --color-bg-base: rgb(215, 218, 222);
    --color-bg-lightest: rgb(235, 238, 242);
    --color-bg-light: rgb(195, 198, 202);
    --color-bg-medium: rgb(175, 178, 182);
    --color-bg-dark: rgb(135, 138, 142);
    --color-bg-darkest: rgb(95, 98, 102);
    --color-text-light: rgb(95, 98, 102);
    --color-text-dark: rgb(45, 48, 52);
    --color-accent-metallic: rgb(135, 138, 142);
    --color-accent-highlight: rgb(165, 168, 172);

    /* Typography */
    --font-primary: 'Inter', sans-serif;
}

a {
    color: var(--color-accent-metallic);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
    background-image: linear-gradient(
        currentColor, 
        currentColor
    );
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size 0.3s, color 0.3s;
}

a:hover {
    color: var(--color-accent-highlight);
    background-size: 100% 2px;
}

a:active {
    color: var(--color-text-dark);
    opacity: 0.7;
}

a:focus {
    outline: 2px solid var(--color-accent-metallic);
    outline-offset: 3px;
}


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

ul {
    padding-left: 2rem;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-text-dark);
    scroll-behavior: smooth;
    background-color: var(--color-bg-base);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: blur(15px);
    z-index: 1000000;
    transition: color 0.3s ease;
}

.site-header.header-dark-theme {
    color: rgb(220, 225, 230);
    background-color: rgba(45, 48, 52, 0.9);
}

.site-header.header-dark-theme .main-nav a {
    color: rgb(220, 225, 230);
    transition: color 0.3s ease;
}

.site-header.header-dark-theme .main-nav a:hover {
    color: rgb(180, 185, 190);
}

.site-header.header-dark-theme .company-name {
    color: rgb(220, 225, 230);
    background: linear-gradient(45deg, rgb(200, 205, 210), rgb(220, 225, 230));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-header.header-dark-theme .contact-info .phone {
    color: rgb(220, 225, 230);
}

.site-header.header-dark-theme .social-icons .icon {
    color: rgb(180, 185, 190);
}

.site-header.header-dark-theme .hamburger span {
    background-color: rgb(220, 225, 230);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center, 
        var(--color-bg-lightest) 0%, 
        var(--color-bg-medium) 100%
    );
    z-index: -1;
    transition: transform 0.1s linear;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
}

.hero-text-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    gap: 2rem;
    height: 100%;
    align-items: center;
    justify-content: space-evenly;
}

.hero-carousel {
    display: flex;
    gap: 1.5rem;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hero-carousel::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    flex: 0 0 calc(25% - 1rem);
    aspect-ratio: 4/3;
    position: relative;
    scroll-snap-align: center;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.carousel-item:hover {
    transform: scale(1.05);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.carousel-item:hover .carousel-item-overlay {
    transform: translateY(0);
}

.carousel-item-overlay h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.carousel-item-overlay p {
    font-size: 0.9rem;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title-main {
    font-size: 6rem;
    font-weight: 900;
    background: linear-gradient(45deg, rgb(70, 85, 100), rgb(125, 135, 145));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    text-align: left;
}

.hero-title-sub {
    font-size: 3rem;
    font-weight: 300;
    color: var(--color-text-dark);
    opacity: 0.8;
    text-align: left;
}

.hero-description {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-top: 1rem;
    text-align: right;
}

.logo .company-name {
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(45deg, rgb(70, 85, 100), rgb(125, 135, 145));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}

.logo .company-name:hover {
    transform: scale(1.05);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--color-accent-metallic);
}

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

.contact-info .phone {
    text-decoration: none;
    color: var(--color-text-dark);
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icons .icon {
    color: black;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.social-icons .icon:hover {
    color: var(--color-accent-metallic);
}

.hamburger {
    display: none;
    flex-direction: column;
    width: 30px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 100%;
    background-color: var(--color-text-dark);
    margin: 3px 0;
    transition: 0.4s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
}

.mobile-menu.menu-open {
    opacity: 1;
    visibility: visible;
    display: block;
    z-index: 100000;
}

.mobile-menu-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
    padding-left: 0rem;
}

.mobile-menu a {
    display: block;
    padding: 1rem;
    text-decoration: none;
    color: var(--color-text-dark);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--color-accent-metallic);
}

@media screen and (max-width: 768px) {
    .main-nav, .contact-info {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-text-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .hero-title-main {
        font-size: 3rem;
    }

    .hero-title-sub {
        font-size: 1.5rem;
    }

    .hero-description {
        text-align: center;
        margin-top: 0.5rem;
    }

    .hero-carousel {
        flex-wrap: nowrap;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
    }

    .carousel-item {
        flex: 0 0 80%; /* Take up most of the screen width */
        margin-right: 1rem;
        scroll-snap-align: center;
    }
}
