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

body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'Cinzel', serif;
    background-image: url('images/alasyabg.jpg');
    background-size: cover;
    overflow-x: hidden;
    /* Avoid horizontal scrolling */
}

/* ============ Header ============ */



/* header section starts here */

/* Header Styling */
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    position: relative;
    z-index: 100;
    width: 100%;
}

.logo img {
    max-width: 220px;
    /* increase this as needed */
    height: auto;
}


/* Navigation Menu */
nav ul {
    display: flex;
    list-style: none;
    gap: 60px;
    margin-top: 40px;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: #5C4A36;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

nav ul li a:hover {
    color: #805b32;
    border-bottom: 4px solid #825c30;
}

/* Dropdown Styling */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 160px;
    display: none;
    flex-direction: column;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    z-index: 9999;
}

.dropdown-content a {
    padding: 10px 20px;
    text-align: left;
    font-size: 0.85rem;
    color: #5C4A36;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: rgba(88, 115, 68, 0.2);
    /* Very light transparent green */
    color: #805b32;
}


/* Show dropdown on hover (desktop) */
@media (min-width: 768px) {
    .dropdown:hover .dropdown-content {
        display: flex;
    }
}

/* Hamburger Icon */
.hamburger {
    display: none;
    font-size: 28px;
    color: #5C4A36;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

/* Mobile Menu */
@media (max-width: 767px) {
    .hamburger {
        display: block;
    }

    nav {
        display: none;
        flex-direction: column;
        align-items: center;
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        z-index: 1000;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
        width: 100%;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        display: block;
        width: 100%;
        padding: 10px 0;
    }

    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
    }

    .dropdown-content.show {
        display: flex;
    }

    .dropdown-content a {
        padding: 12px 20px;
        width: 100%;
        text-align: center;
        font-size: 0.9rem;
        color: #5C4A36;
        text-decoration: none;
        background-color: transparent;
        transition: background-color 0.3s ease;
    }

    .dropdown-content a:hover {
        background-color: rgba(88, 115, 68, 0.1);
        /* subtle green */
        color: #805b32;
    }

}

/* header section ends here */

/* ============ Page Headings & Lines ============ */
.connection-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0 10px;
}

.connection-container .line-image.lefts,
.connection-container .line-image.rights {
    width: 300px;
    height: auto;
    display: block;
    filter: invert(1) brightness(1.9);
}

.connection-container .line-image.lefts {
    margin-right: -18px;
}

.connection-container .line-image.rights {
    margin-left: -20px;
}

.connection-container .main-title {
    font-size: 75px;
    font-weight: 400;
    margin: 0;
    letter-spacing: 1px;
    white-space: nowrap;
    padding: 0 4px;
}

/* Responsive Title Lines */
@media (max-width: 768px) {
    .connection-container {
        margin: 10px 0 20px;
    }

    .connection-container .main-title {
        font-size: 32px;
        padding: 0 3px;
    }

    .connection-container .line-image.lefts,
    .connection-container .line-image.rights {
        width: 100px;
    }

    .connection-container .line-image.lefts {
        margin-right: -10px;
    }

    .connection-container .line-image.rights {
        margin-left: -12px;
    }
}

/* ============ Clients Section Top ============ */
.clients-section {
    text-align: center;
    margin-bottom: 3em;
}

.clients-header {
    background-color: #ab8e76;
    padding: 2em 0;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.clients-header h2 {
    font-size: 2rem;
    margin: 0;
    color: white;
}

.clients-header h1 {
    font-size: 5rem;
    margin: auto;
}

/* Responsive Heading Size */
@media (max-width: 576px) {
    .clients-header h1 {
        font-size: 2.5rem;
    }
}

.clients-section p {
    max-width: 860px;
    margin: 25px auto 0 auto;
    line-height: 1.6;
    font-size: 16px;
    color: #5C4A36;
}

/* ============ Collaborations Section ============ */
.collaborations {
    background-color: #ab8e76;
    padding: 2em 0 6em;
    text-align: center;
    position: relative;
    z-index: 1;
}

.collaborations h3 {
    font-size: 38px;
    color: white;
    margin-bottom: 0.5em;
    position: relative;
    z-index: 2;
}

@media (max-width: 576px) {
    .collaborations {
        padding: 1em 1em 5em;
    }

    .collaborations h3 {
        font-size: 30px;
    }
}

/* ============ Clients Grid (Cards) ============ */
.clients-grid-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 80px 40px;
    padding: 0 40px 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.clients-grid-section.overlap-above {
    margin-top: -130px;
    z-index: 5;
    position: relative;
}

.client-card {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 60px auto 80px;
    background-color: transparent;
}

.hotel-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    transform-origin: top;
    transition: transform 0.4s ease;
}

.logo-info {
    position: absolute;
    bottom: -70px;
    left: 30px;
    display: flex;
    align-items: center;
    background-color: transparent;
    gap: 12px;
}

.brand-logo {
    height: 110px;
    width: 130px;
    object-fit: contain;
    background-color: transparent;
}

.hotel-name {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 600;
    color: #5C4A36;
    margin: 0;
    text-transform: uppercase;
    max-width: 250px;
    margin-top: 10%;
}

/* ============ Clients Logos Footer Style ============ */
.clients {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px 0;
}

.clients img {
    height: 200px;
    width: auto;
    max-width: 100%;
}

/* Universal image safety */
img {
    max-width: 100%;
    height: auto;
}

/* ============ Mobile Adjustments ============ */
@media (max-width: 576px) {
    .clients-grid-section {
        padding: 0 15px 40px 15px;
        gap: 10px 0;
        /* Slightly increased vertical gap */
    }

    .client-card {
        margin: 0 auto 90px;
        /* Slightly increased bottom margin */
    }

    .logo-info {
        left: 10px;
    }

    .clients {
        gap: 20px;
        padding: 20px 0;
    }

    .clients img {
        padding: 20px 0;
    }
}