/* --- Global Reset and Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
    font-family: 'Poppins', Arial, sans-serif;
}

:root {
    --color-primary: #0d1b2a; /* Dark Blue */
    --color-accent: #c7a900;  /* Gold/Yellow Accent */
    --color-text-dark: #333;
    --color-bg-light: #f9f9f9;
}

body {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    padding-top: 80px; 
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--color-accent);
    transition: color 0.3s;
}

/* ---------------- NAVIGATION ---------------- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #ddd;
    padding: 10px 20px;
    height: 75px; 
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700; 
    color: var(--color-primary); 
}

.logo img {
    height: 50px;
    width: auto;
    margin-right: 10px;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: var(--color-text-dark);
    font-weight: 600;
    font-size: 16px;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:hover {
    color: var(--color-accent); 
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-accent);
    transition: width 0.3s ease-in-out;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ----------- HAMBURGER (FIXED) ----------- */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1100;
}

.hamburger div {
    width: 28px;
    height: 3px;
    background-color: var(--color-primary);
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ----------- MOBILE MENU ----------- */
.mobile-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    padding: 12px 20px;
    border-top: 1px solid #eee;
    color: var(--color-primary);
    text-align: center;
}

/* ---------------- HEADER ---------------- */
header {
    background: linear-gradient(135deg, var(--color-primary), #2a415a); 
    color: #ffffff;
    text-align: center;
    padding: 120px 20px 50px;
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
}

header p {
    font-size: 1.2rem;
    margin-top: 10px;
}

/* ---------------- SERVICE ITEM LAYOUT ---------------- */
.services-content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 50px;
    margin: 60px 0;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.service-item.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
    min-width: 40%;
}

.service-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    cursor: zoom-in;
}

.service-description {
    flex: 1.5;
}

.service-description h2 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.service-description p {
    font-size: 1.1rem;
    color: #555;
}

/* ---------------- SCROLL REVEAL ---------------- */
.reveal {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.5, 0, 0, 1);
}

.service-item:not(.reverse) .service-description {
    transform: translateX(-100px);
}
.service-item:not(.reverse) .service-image {
    transform: translateX(100px);
}
.service-item.reverse .service-description {
    transform: translateX(100px);
}
.service-item.reverse .service-image {
    transform: translateX(-100px);
}

.reveal.active {
    opacity: 1;
}

.reveal.active .service-description,
.reveal.active .service-image {
    transform: translateX(0);
}

/* ---------------- CONTACT CTA & FOOTER ---------------- */
.contact-cta {
    background-color: var(--color-primary);
    color: #fff;
    text-align: center;
    padding: 60px 25px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--color-accent);
    color: var(--color-primary);
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background: #a89000;
    color: #fff;
    transform: scale(1.05);
}

footer {
    background-color: #333;
    color: #fff;
    padding: 25px 20px;
    text-align: center;
}

/* ---------------- MOBILE VIEW ---------------- */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .service-item,
    .service-item.reverse {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .service-image img {
        height: 250px;
    }

    .service-description h2 {
        font-size: 1.7rem;
    }

    .service-description p {
        font-size: 1rem;
    }

    .service-item .service-description,
    .service-item .service-image {
        transform: translateY(20px);
    }

    .reveal.active .service-description,
    .reveal.active .service-image {
        transform: translateY(0);
    }
}
