/* ==========================================
   VARIABLES & RESET
   ========================================== */

:root {
    --primary-color: #1e3a8a;
    --primary-light: #3b82f6;
    --primary-dark: #1e40af;
    /* --accent-color: #d97706; */
    /* --accent-color: #d4af37; */
    --accent-color: #1e3a5f;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

/* ==========================================
   CONTAINER & LAYOUT
   ========================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   NAVIGATION
   ========================================== */

.navbar {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--primary-color);
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo:hover .logo-text {
    color: var(--primary-light);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-menu a:hover {
    color: var(--primary-light);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--bg-white);
        border-bottom: 1px solid var(--border-color);
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.active {
        max-height: 500px;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
    }
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    background: #000000;
    background-image: url('/img/btw_logo.png');
    background-size: 65vh;
    background-position: center 50%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--bg-white);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--bg-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    background-color: #b45309;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================
   SERVICES SECTION
   ========================================== */

.services {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.services h2,
.expertise h2,
.about h2,
.contact h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--accent-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================
   EXPERTISE SECTION
   ========================================== */

.expertise {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
}

.expertise-group h3 {
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    font-size: 1.15rem;
}

.expertise-group ul {
    list-style: none;
}

.expertise-group li {
    padding: 0.6rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.expertise-group li:last-child {
    border-bottom: none;
}

.expertise-group li:before {
    content: "✓ ";
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */

.about {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

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

.about-content p {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-content p:last-child {
    margin-bottom: 0;
    color: var(--primary-color);
    font-weight: 600;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */

.contact {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.contact-intro {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.contact-form button {
    width: 100%;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background-color: var(--primary-color);
    color: var(--bg-white);
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    margin: 0;
    opacity: 0.9;
}

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

@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.95rem;
    }

    .hero {
        padding: 4rem 0;
        background-attachment: scroll;
        background-size: 90% auto;      /* Adjust size to fit mobile screens */
        background-position: center;
    }

    .hero-content h1 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .services,
    .expertise,
    .about,
    .contact {
        padding: 3rem 0;
    }

    .services h2,
    .expertise h2,
    .about h2,
    .contact h2 {
        margin-bottom: 2rem;
        font-size: 1.75rem;
    }

    .services-grid,
    .expertise-grid {
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .contact-form {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-content {
        padding: 0.75rem 0;
    }

    .logo {
        font-size: 1.25rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .services h2,
    .expertise h2,
    .about h2,
    .contact h2 {
        font-size: 1.5rem;
    }

    .service-card {
        padding: 1.25rem;
    }

    .service-icon {
        font-size: 2rem;
    }

    .btn {
        padding: 0.65rem 1.5rem;
        font-size: 0.9rem;
    }
}
