@font-face {
    font-family: 'Helvetica Thin';
    src: url('fonts/HelveticaNeueThin.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Trajan Pro';
    src: url('fonts/TrajanPro-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Trajan Pro';
    src: url('fonts/TrajanPro-Bold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Trajan Pro';
    src: url('fonts/Trajan Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

:root {
    --warm-sand: #F3EFE6;
    --stone-beige: #BAB99D;
    --moss-green: #5F6C5A;

    --clay-brown: #8B796B;
    --earth-brown: #4a423e;

    --white: #ffffff;

    --body-font: 'Helvetica Thin', sans-serif;
    --heading-font: 'Trajan Pro', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    background-color: var(--warm-sand);
    color: var(--earth-brown);
    line-height: 1.8;
    overflow-x: hidden;
    padding-top: 80px;
    font-size: 1.1rem;
    font-weight: 600;
}

h1,
h2,
h3,
h4 {
    font-family: var(--heading-font);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4%;
    z-index: 1000;
    border-bottom: 1px solid rgba(186, 185, 157, 0.3);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    color: var(--earth-brown);
    transition: 0.3s;
}

.header-left:hover {
    color: var(--moss-green);
}

.menu-icon {
    width: 24px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: currentColor;
}

.menu-text {
    font-family: var(--heading-font);

    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 600;
}

.header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.brand-logo {
    font-family: var(--heading-font);

    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 4px;

    color: var(--earth-brown);
    text-transform: uppercase;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
    color: var(--earth-brown);
    transition: 0.3s;
}

.search-icon:hover {
    color: var(--moss-green);
}

.book-btn {
    background-color: var(--moss-green);
    color: var(--warm-sand);
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--heading-font);

    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(95, 108, 90, 0.2);
}

.book-btn:hover {
    background-color: var(--earth-brown);
    transform: translateY(-2px);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--moss-green);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2rem;
    color: var(--warm-sand);
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover {
    transform: rotate(90deg);
}

.menu-overlay ul {
    list-style: none;
    text-align: center;
}

.menu-overlay ul li {
    margin: 25px 0;
    transform: translateY(30px);
    opacity: 0;
    transition: 0.5s ease;
}

.menu-overlay.active ul li {
    transform: translateY(0);
    opacity: 1;
}

.menu-overlay.active ul li:nth-child(1) {
    transition-delay: 0.1s;
}

.menu-overlay.active ul li:nth-child(2) {
    transition-delay: 0.2s;
}

.menu-overlay.active ul li:nth-child(3) {
    transition-delay: 0.3s;
}

.menu-overlay.active ul li:nth-child(4) {
    transition-delay: 0.4s;
}

.menu-overlay.active ul li:nth-child(5) {
    transition-delay: 0.5s;
}

.menu-overlay a {
    font-family: var(--heading-font);
    font-size: 24px;
    color: var(--warm-sand);
    text-decoration: none;
    position: relative;
}

.menu-overlay a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--stone-beige);
    transition: 0.3s;
}

.menu-overlay a:hover::after {
    width: 100%;
}

section {
    padding: 100px 10%;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--earth-brown);
    margin-bottom: 15px;
}

.line {
    width: 60px;
    height: 3px;
    background-color: var(--stone-beige);
    margin: 0 auto;
}

.hero {
    height: 100vh;
    background: linear-gradient(rgba(95, 108, 90, 0.3), rgba(96, 87, 80, 0.4)), url('images/Amenities\ 1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 5px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    letter-spacing: 2px;
    font-weight: 600;
}

.hero-btn {
    padding: 15px 40px;
    background-color: var(--warm-sand);
    color: var(--earth-brown);
    border: 1px solid var(--warm-sand);
    font-family: var(--heading-font);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.hero-btn:hover {
    background: transparent;
    color: var(--warm-sand);
}

.intro {
    display: flex;
    align-items: center;
    gap: 50px;
}

.intro-text {
    flex: 1;
}

.intro-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--moss-green);
    letter-spacing: 2px;
}

.intro-img {
    flex: 1;
    position: relative;
}

.intro-img img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 20px 20px 0px var(--stone-beige);
}

.amenities {
    background-color: #ECE8DE;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--warm-sand);
    padding: 40px;
    text-align: center;
    border: 1px solid var(--stone-beige);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--moss-green);
    box-shadow: 0 10px 30px rgba(95, 108, 90, 0.15);
}

.card h3 {
    margin-bottom: 15px;
    color: var(--clay-brown);
    font-family: var(--heading-font);
}

.gallery-container {
    display: flex;
    gap: 10px;
    height: 400px;
}

.gallery-item {
    flex: 1;
    background-size: cover;
    background-position: center;
    transition: flex 0.5s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.gallery-item.active,
.gallery-item:hover {
    flex: 3;
}

.gallery-item div {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: var(--warm-sand);
    opacity: 0;
    transition: 0.3s;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
    font-family: var(--heading-font);
    letter-spacing: 2px;
}

.gallery-item.active div,
.gallery-item:hover div {
    opacity: 1;
}

footer {
    background-color: var(--earth-brown);
    color: var(--warm-sand);
    padding: 80px 10% 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-family: var(--heading-font);
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--stone-beige);
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-form input {
    padding: 10px;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--stone-beige);
    color: var(--warm-sand);
    margin-right: 10px;
    outline: none;
    font-family: var(--body-font);
}

.footer-form button {
    padding: 10px 20px;
    background: var(--stone-beige);
    border: none;
    color: var(--earth-brown);
    cursor: pointer;
    font-family: var(--heading-font);
}

.copyright {
    text-align: center;
    font-size: 0.8rem;
    border-top: 1px solid rgba(186, 185, 157, 0.2);
    padding-top: 20px;
    color: var(--stone-beige);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.units-section {
    text-align: center;
    padding: 100px 10%;
    background-color: var(--warm-sand);
    min-height: 500px;

}

.units-header {
    margin-bottom: 40px;
}

.units-subtitle {
    font-family: var(--body-font);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--stone-beige);
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
}

.units-title {
    font-family: var(--heading-font);
    font-size: 3.5rem;
    color: var(--earth-brown);
    font-weight: normal;
    margin: 0;
    line-height: 1.2;
}

.units-nav {
    display: flex;
    justify-content: center;
    gap: 50px;
    font-family: var(--body-font);
    margin-bottom: 50px;
}

.unit-link {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #888;
    padding-bottom: 8px;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
    cursor: pointer;
    font-family: var(--body-font);

    font-weight: 600;
}

.unit-link:hover {
    color: var(--earth-brown);
}

.unit-link.active {
    color: var(--earth-brown);
    border-bottom: 1px solid var(--earth-brown);
}

.unit-content {
    display: none;

    animation: fadeIn 0.8s;
}

.unit-content.active {
    display: block;
}

.content-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.type-box {
    border: 1px solid var(--stone-beige);
    padding: 30px 50px;
    min-width: 200px;
}

.type-box h3 {
    font-family: var(--heading-font);
    color: var(--earth-brown);
    margin-bottom: 10px;
}

.type-box p {
    font-family: var(--body-font);
    font-size: 0.9rem;
}

.content-desc {
    max-width: 600px;
    margin: 0 auto;
}

.content-desc h3 {
    font-family: var(--heading-font);
    margin-bottom: 20px;
}

.btn-download {
    display: inline-block;
    padding: 6px 12px;

    color: #5F6C5A;
    text-decoration: none;
    font-weight: bold;
    border-radius: 2px;
    transition: background-color 0.3s ease;
    border: 1px solid #4a423e;
}

.btn-download:hover {
    background-color: #ece6e6; 
    cursor: pointer;
}

.unit-content {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.unit-content.active {
    opacity: 1;
}

#brochure.unit-content.active {
    display: block !important;
    visibility: visible !important;
}

.about-section {
    padding: 100px 10%;
    background-color: var(--warm-sand);
    border-top: 1px solid rgba(186, 185, 157, 0.2);
    border-bottom: 1px solid rgba(186, 185, 157, 0.2);
}

.about-section .intro {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-section .intro-img {
    flex: 1;
    position: relative;
}

.about-section .intro-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 20px 20px 0px var(--stone-beige);
}

.about-section .intro-text {
    flex: 1;
}

.about-section .intro-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--moss-green);
    letter-spacing: 2px;
}

.about-section .intro-text p {
    font-family: var(--body-font);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--earth-brown);
    margin-bottom: 20px;
    font-weight: 600;
}

.mission-vision-section {
    padding: 100px 10%;
    background-color: #ECE8DE;
}

.mv-container {
    max-width: 1200px;
    margin: 0 auto;
}

.mv-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.mv-card {
    flex: 1;
    background: var(--warm-sand);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--stone-beige);
    transition: all 0.3s ease;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.mv-card:hover {
    transform: translateY(-5px);
    border-color: var(--moss-green);
    box-shadow: 0 10px 30px rgba(95, 108, 90, 0.15);
}

.mv-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--stone-beige) 0%, var(--clay-brown) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mv-icon svg {
    width: 32px;
    height: 32px;
    color: var(--warm-sand);
}

.mv-card h3 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    color: var(--earth-brown);
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mv-card p {
    font-family: var(--body-font);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--earth-brown);
    font-weight: 600;
}

.mv-values-card {
    flex: 1;
    background: var(--warm-sand);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--stone-beige);
    transition: all 0.3s ease;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.mv-values-card:hover {
    transform: translateY(-5px);
    border-color: var(--moss-green);
    box-shadow: 0 10px 30px rgba(95, 108, 90, 0.15);
}

.mv-values-card h3 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    color: var(--earth-brown);
    margin-bottom: 25px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.values-list {
    text-align: left;
    width: 100%;
}

.value-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(139, 121, 107, 0.2);
}

.value-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.value-item strong {
    color: var(--moss-green);
    font-family: var(--heading-font);
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: block;
}

.value-item {
    font-family: var(--body-font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--earth-brown);
    font-weight: 600;
}

.footer-col .social-links {
    margin-top: 20px;
}

.footer-col .social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.2); 
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
}

.footer-col .social-links a:hover {
    color: #24262b;      
    background-color: #ffffff;
}

@media (max-width: 1024px) {
    .about-section .intro {
        gap: 40px;
    }

    .about-section .intro-img img {
        height: 350px;
    }

    .mv-row {
        gap: 30px;
    }

    .mv-card,
    .mv-values-card {
        padding: 35px 25px;
        min-height: 320px;
    }
}

@media (max-width: 768px) {

    .about-section,
    .mission-vision-section {
        padding: 80px 5%;
    }

    .about-section .intro {
        flex-direction: column;
        text-align: center;
    }

    .about-section .intro-img img {
        height: 300px;
        box-shadow: 15px 15px 0px var(--stone-beige);
    }

    .about-section .intro-text h3 {
        font-size: 1.6rem;
    }

    .about-section .intro-text p {
        font-size: 1rem;
    }

    .mv-row {
        flex-direction: column;
        gap: 30px;
    }

    .mv-card,
    .mv-values-card {
        width: 100%;
        min-height: auto;
    }

    .values-list {
        text-align: center;
    }

    .value-item {
        text-align: center;
    }
}

@media (max-width: 480px) {

    .about-section,
    .mission-vision-section {
        padding: 60px 20px;
    }

    .about-section .intro-img img {
        height: 250px;
        box-shadow: 10px 10px 0px var(--stone-beige);
    }

    .about-section .intro-text h3 {
        font-size: 1.4rem;
    }

    .mv-card,
    .mv-values-card {
        padding: 30px 20px;
    }

    .mv-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .mv-icon svg {
        width: 28px;
        height: 28px;
    }

    .mv-card h3,
    .mv-values-card h3 {
        font-size: 1.3rem;
    }
}

.about-section .reveal,
.mission-vision-section .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.about-section .reveal.active,
.mission-vision-section .reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.mission-vision-section .mv-card:nth-child(1) {
    transition-delay: 0.1s;
}

.mission-vision-section .mv-card:nth-child(2) {
    transition-delay: 0.2s;
}

.mission-vision-section .mv-values-card {
    transition-delay: 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 768px) {
    .units-nav {
        flex-direction: column;
        gap: 15px;
    }

    .units-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 900px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .intro {
        flex-direction: column;
    }

    .brand-logo {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .menu-text {
        display: none;
    }

    .book-btn {
        padding: 10px 20px;
        font-size: 0.6rem;
    }

    .header-right {
        gap: 15px;
    }

    .gallery-container {
        flex-direction: column;
        height: 600px;
    }
}

@media (max-width: 768px) {
    .units-nav {
        flex-direction: column;
        gap: 15px;
    }

    .units-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 900px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .intro {
        flex-direction: column;
    }

    .brand-logo {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .menu-text {
        display: none;
    }

    .book-btn {
        padding: 10px 20px;
        font-size: 0.6rem;
    }

    .header-right {
        gap: 15px;
    }

    .gallery-container {
        flex-direction: column;
        height: 600px;
    }
}

@media (max-width: 768px) {
    .book-btn {
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative; /* For positioning the icon */
    }
    
    /* Show calendar icon using pseudo-element */
    .book-btn::before {
        content: "\f073"; /* Font Awesome calendar icon code */
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        font-size: 1rem;
        color: var(--warm-sand);
    }
    
    #btn-text {
        display: none; /* Hide text on mobile (using ID) */
    }
    
    /* Show text on hover */
    .book-btn:hover #btn-text {
        display: block;
        position: absolute;
        top: -30px;
        left: 55%;
        transform: translateX(-50%);
        background: var(--earth-brown);
        color: var(--warm-sand);
        padding: 5px 10px;
        border-radius: 4px;
        font-size: 0.7rem;
        white-space: nowrap;
    }
}

@media (min-width: 769px) {
    .book-btn::before {
        display: none; /* Hide icon on desktop */
    }
    
    #btn-text {
        display: inline; /* Show text on desktop (using ID) */
        margin-left: 5px;
    }
}
