/* -------------------------
   GOLD & BLACK PREMIUM THEME
------------------------- */
:root {
    --gold: #C19A36;
    --gold-dark: #A57E1B;
    --off-black: #121110;
    --off-white: #F8F5E6;
}

/* -------------------------
   BASE RESET
------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Albert Sans', Times, serif;
}

html, body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(180deg, var(--off-white) 0%, var(--off-white) 75%, var(--gold) 100%);
    background-attachment: fixed;
    color: var(--off-black);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* -------------------------
   FOOTER
------------------------- */
.footer {
    margin-top: auto;
    padding: 20px;
    background: var(--off-black);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 10px;
    color: var(--off-white);
}

/* -------------------------
   NAVIGATION
------------------------- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--off-black);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    color: var(--off-white);
}

.logo img {
    width: 50px;
    height: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--off-white);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a:hover::after {
    width: 100%;
}

/* -------------------------
   BANNER
------------------------- */
.banner {
    padding: 125px 1rem 30px 1rem;
    background: linear-gradient(rgba(18,17,16,0.8), rgba(108, 82, 16, 0.7)), 
                url('kuala-lumpur.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.banner-logo {
    width: 200px;      /* Adjust size as needed */
    max-width: 90vw;
    display: block;
    margin: 0 auto 18px auto; /* Center and add space below */
}

.banner-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.banner-content p {
    font-size: 1.1rem;
    max-width: 600px;
}

/* -------------------------
   BUTTONS
------------------------- */
.button {
    background: var(--gold);
    color: white;
    padding: 10px 15px; /* Reduced padding */
    border: none;
    border-radius: 50px; /* Slightly smaller border-radius */
    font-size: 14px; /* Reduced font size */
    text-decoration: none; /* Removes underline from the link */
    cursor: pointer;
    transition: background 0.3s ease;
}

.button:hover {
    background: var(--gold-dark);
    color: white !important;
    text-decoration: none !important;
    transition: background 0.3s ease;
}

/* -------------------------
   CONTENT CARDS & BOXES
------------------------- */
.main-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px; /* space left/right */
    width: 100%;
}

.content-card {
    background: rgba(18,17,16,0.85);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
    color: var(--off-white);
}

.content-card a {
    color: inherit;           /* Match normal text color */
    text-decoration: none;    /* Remove underline */
    transition: color 0.2s;
}

.content-card a:hover {
    color: #cd9c20;           /* Change to gold on hover */
    text-decoration: underline; /* Optional: add underline on hover */
}

.img-section {
    display: flex;
    align-items: stretch; /* Makes columns equal height */
    min-height: 500px; /* Set a minimum height */
    border-radius: 12px;
    overflow: hidden; /* For rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    position: relative;
}

.img-section-container {
    flex: 1;
    position: relative;
    min-height: 100%; /* Ensure it takes full height */
}

.img-section-full {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers area without distortion */
    object-position: center;
    position: absolute; /* Helps with full coverage */
    top: 0;
    left: 0;
}

.img-section-text-container {
    flex: 1;
    padding: 2rem;
    background: rgba(18,17,16,0.85);
    color: var(--off-white);
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically centers content */
    position: relative;
    z-index: 1;
}

.side-by-side-container {
    display: flex;
    gap: 40px;
    align-items: stretch;
    margin-bottom: 40px;
    padding-left: 32px;   /* Add horizontal padding */
    padding-right: 32px;  /* Add horizontal padding */
    box-sizing: border-box;
    max-width: 1100px;    /* Optional: limit width */
    margin-left: auto;    /* Center container */
    margin-right: auto;
}

.side-container {
    flex: 2;
    background: #fffef963;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(193,154,54,0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.side-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* -------------------------
   HEADINGS
------------------------- */
h1 {
    color: var(--off-black);
    text-align: center;
}

h2 {
    color: var(--gold);
    text-align: center;
}

h3 {
    color: var(--gold);
}

.highlight-header {
    color: var(--gold);
}

/* -------------------------
   DIVIDERS
------------------------- */
hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    width: 80%;
    margin: 20px auto;
}

/* -------------------------
   RESPONSIVE NAV
------------------------- */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle div {
    width: 25px;
    height: 3px;
    background-color: var(--off-white);
    margin: 4px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .side-by-side-container {
        flex-direction: column;
        padding: 0 20px;
    }

    .side-container {
        width: 100%;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background-color: rgba(18,17,16,0.95);
        position: absolute;
        top: 75px;
        right: 0;
        width: 100%;
        text-align: center;
        padding: 20px 0; /* Add this line for more vertical space */
    }

    .nav-links.active {
        display: flex;
    }

    .img-section{
        flex-direction: column;
        min-height: auto;
    }

    .img-section-container {
        height: 300px; /* Fixed height on mobile */
        min-height: auto;
    }

    .img-section-full {
        position: relative;
    }
}
