/* style.css */
:root {
    --bg-dark: #0a0a0c;
    --panel-bg: #141416;
    --text-main: #f0f0f0;
    --text-muted: #8b949e;
    --gold: #d4af37;
    --gold-hover: #f1c40f;
    --border-color: #2a2a2c;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    display: flex;
}

/* Sidebar Menu */
.sidebar {
    width: 260px;
    height: 100vh;
    background-color: var(--panel-bg);
    border-right: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
    z-index: 100;
}

.sidebar .logo {
    width: 180px;
    height: auto;
    margin-bottom: 3rem;
}

.sidebar nav {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.sidebar nav a {
    text-decoration: none;
    color: var(--text-muted);
    padding: 1rem 2rem;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.sidebar nav a:hover, .sidebar nav a.active {
    color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
    border-left: 3px solid var(--gold);
}

/* Main Content Area */
.main-content {
    margin-left: 260px;
    width: calc(100% - 260px);
    min-height: 100vh;
}

/* Hero Section (Home Page) */
.hero {
    position: relative;
    width: 100%;
    height: 500px;
    background-image: url('HAIA_banner.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

/* Dark overlay to make text readable over the banner */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 10, 12, 0.75);
}

.hero-text {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin: 0 0 10px 0;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero h2 {
    font-size: 1.2rem;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.btn-gold {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #d4af37, #997a15);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: opacity 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-gold:hover {
    opacity: 0.9;
}

/* Services Section (Home Page) */
.services {
    padding: 4rem 2rem;
    text-align: center;
}

.services h3 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #fff;
}

.card-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.card {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.card h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Contact Page Styles */
.contact-container {
    padding: 5rem 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h1 {
    font-size: 3rem;
    margin: 0 0 10px 0;
}

.contact-header p {
    color: var(--gold);
    letter-spacing: 1.5px;
    font-weight: bold;
}

.contact-layout {
    display: flex;
    gap: 4rem;
}

.contact-form {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    padding: 1rem;
    color: var(--text-main);
    border-radius: 4px;
    font-family: inherit;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    flex: 1;
}

.info-block {
    margin-bottom: 2rem;
}

.info-block h4 {
    color: var(--gold);
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.info-block p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}
/* Internal Page Styles */
.page-container {
    padding: 5rem 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
}

.page-header h1 {
    font-size: 3rem;
    margin: 0 0 10px 0;
}

.page-header p {
    color: var(--gold);
    letter-spacing: 1.5px;
    font-weight: bold;
    text-transform: uppercase;
}

.content-section {
    margin-bottom: 3rem;
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.content-section:hover {
    border-color: var(--gold);
}

.content-section h2 {
    color: var(--text-main);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.content-section h2 span {
    color: var(--gold);
}

.content-section p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

.about-banner {
    width: 100%;
    height: 250px;
    background-image: url('HAIA_banner.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
}
/* =========================================================
   Mobile Responsiveness (Samsung S25, iPhone 17, etc.)
   ========================================================= */

@media screen and (max-width: 900px) {
    /* Stack the body layout vertically instead of horizontally */
    body {
        flex-direction: column;
    }

    /* Convert fixed sidebar to a sticky top navigation bar */
    .sidebar {
        width: 100%;
        height: auto;
        position: sticky;
        top: 0;
        flex-direction: column;
        padding: 1rem 0 0 0;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        z-index: 1000;
        background-color: var(--panel-bg);
    }

    .sidebar .logo {
        width: 120px;
        margin-bottom: 1rem;
    }

    /* Make navigation links horizontally swipeable */
    .sidebar nav {
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 0px;
        /* Hide scrollbars for a clean app-like look */
        -ms-overflow-style: none; 
        scrollbar-width: none; 
    }
    
    .sidebar nav::-webkit-scrollbar {
        display: none;
    }

    .sidebar nav a {
        padding: 0.75rem 1.2rem;
        font-size: 0.85rem;
        border-left: none;
        border-bottom: 3px solid transparent;
    }

    /* Move the active state indicator to the bottom of the link */
    .sidebar nav a:hover, .sidebar nav a.active {
        border-left: none;
        border-bottom: 3px solid var(--gold);
        background: transparent;
    }

    /* Expand main content to full width */
    .main-content {
        margin-left: 0;
        width: 100%;
    }

    /* Adjust Hero Banner for smaller screens */
    .hero {
        height: 400px;
    }

    .hero h1 {
        font-size: 2.2rem;
        padding: 0 1rem;
    }

    .hero h2 {
        font-size: 0.9rem;
        padding: 0 1rem;
        line-height: 1.4;
    }

    /* Adjust padding for internal pages */
    .page-container, .contact-container {
        padding: 2.5rem 1.5rem;
    }

    .page-header h1, .contact-header h1 {
        font-size: 2rem;
    }

    .page-header p, .contact-header p {
        font-size: 0.85rem;
    }

    /* Stack flex elements vertically */
    .contact-layout {
        flex-direction: column;
        gap: 2.5rem;
    }

    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 100%;
        max-width: 350px;
        box-sizing: border-box;
    }

    .content-section {
        padding: 1.5rem;
    }

    .about-banner {
        height: 150px;
    }
}
