/* Modern CSS Variables */
:root {
    --bg-base: #07090e; 
    --bg-surface: #111827; 
    --bg-card: rgba(30, 41, 59, 0.4);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-primary: #ff4d00; 
    --accent-secondary: #ff8c00;
    --accent-glow: rgba(255, 77, 0, 0.25);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-radius: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-base);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Helper Classes */
.bg-surface {
    background-color: var(--bg-surface);
}

/* Entrance Animation */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade {
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Glassmorphism Header */
header {
    background-color: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Clickable Logo */
.logo {
    text-decoration: none;
    z-index: 1001;
}

.logo h1 {
    font-weight: 900;
    font-size: 1.7rem;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #fff, #94a3b8);
    -webkit-background-clip: text;
    color: transparent;
    transition: transform 0.3s ease;
}

.logo:hover h1 {
    transform: scale(1.02);
}

.logo h1 span {
    color: var(--accent-primary);
    -webkit-background-clip: unset;
}

/* Header Right Side (Contact + Nav) */
.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Header Contact Info */
.header-contact {
    display: flex;
    gap: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 30px;
}

.header-contact a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header-contact a:hover {
    color: var(--text-main);
}

.header-contact svg {
    width: 14px;
    height: 14px;
    color: var(--accent-primary);
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    color: var(--text-main);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Hidden Mobile Contact Info (only shows on mobile menu) */
.mobile-menu-contact {
    display: none; 
}

/* Hamburger Menu Icon (Hidden on Desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 60px;
    background: 
        radial-gradient(circle at 50% 50%, var(--accent-glow) 0%, transparent 50%),
        linear-gradient(to bottom, rgba(7, 9, 14, 0.4), var(--bg-base)),
        url('assets/hero_bg.jpg') no-repeat center center/cover;
}

.hero h3 {
    color: var(--accent-secondary);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 600;
}

.hero h2 {
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    max-width: 900px;
    letter-spacing: -1px;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    max-width: 700px;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-btn {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #fff;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px var(--accent-glow);
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 77, 0, 0.4);
}

/* Layout & Typography */
section {
    padding: 100px 5%;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff, #64748b);
    -webkit-background-clip: text;
    color: transparent;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
    margin: 0 auto 50px auto;
    border-radius: 2px;
}

.text-center { text-align: center; }

.about-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* Services Glass Cards - FLEXBOX UPDATE */
.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    max-width: 1250px;
    margin: 0 auto;
}

.service-card {
    flex: 1 1 320px; 
    max-width: 380px; 
    width: 100%;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: var(--border-radius);
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-primary), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 41, 59, 0.7);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px var(--accent-glow);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--accent-primary);
}

.service-card p {
    color: var(--text-muted);
    font-weight: 300;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.service-card ul {
    list-style: none;
    margin-top: 15px;
}

.service-card ul li {
    color: #cbd5e1;
    font-size: 0.9rem;
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.service-card ul li::before {
    content: '▹';
    color: var(--accent-primary);
    position: absolute;
    left: 0;
    top: -1px;
}

/* Modern Contact & Location */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.contact-info h3 {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    margin-bottom: 30px;
    color: #fff;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 15px;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--accent-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item p { color: var(--text-muted); line-height: 1.5; word-break: break-word;}
.contact-item strong { display: block; color: #fff; font-weight: 600; margin-bottom: 2px;}

/* Map Placeholder */
.map-wrapper {
    background: rgba(15, 23, 42, 0.5);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Footer */
footer {
    background: #000;
    color: #475569;
    text-align: center;
    padding: 40px 20px;
    font-size: 0.9rem;
    border-top: 1px solid #1e293b;
}

/* =========================================
   RESPONSIVE BREAKPOINTS 
   ========================================= */

@media (max-width: 950px) {
    .header-contact { display: none; } 
    .contact-container { grid-template-columns: 1fr; } 
}

@media (max-width: 768px) {
    section { padding: 80px 5%; }
    .hero-btn { padding: 14px 30px; font-size: 1rem; }
    .service-card { padding: 30px 20px; }
    .contact-info { padding: 30px 20px; }
    
    /* Enable Hamburger Menu */
    .hamburger {
        display: flex;
    }

    /* Mobile Full-Screen Menu Overlay */
    nav {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 100vw;
        height: 100vh;
        background: rgba(7, 9, 14, 0.98); 
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    nav a {
        font-size: 1.8rem; 
        font-weight: 700;
        color: #fff;
    }
    
    /* Mobile Menu Contact Box */
    .mobile-menu-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        margin-top: 50px;
        padding-top: 40px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        width: 80%;
    }

    .mobile-menu-contact a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        font-size: 1.2rem;
        font-weight: 500;
        color: var(--text-muted);
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .mobile-menu-contact a:active,
    .mobile-menu-contact a:hover {
        color: var(--accent-primary);
    }

    .mobile-menu-contact svg {
        width: 22px;
        height: 22px;
        color: var(--accent-primary);
    }

    /* Hamburger Animation to "X" */
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: var(--accent-primary);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: var(--accent-primary);
    }
}