/* style.css */

/* Custom CSS Variables for Design Tokens */
:root {
    --primary-color: #C3953C;
    --primary-hover: #000000;
    --text-main: #222222;
    --text-light: #666666;
    --bg-white: #FFFFFF;
    --bg-gray: #F6F6F6;
    --border-color: #E2E8F0;
    --font-poppins: 'Poppins', sans-serif;
    --transition-speed: 0.3s;
    --max-width: 1200px;
    --topbar-bg: #111111;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-poppins);
    color: var(--text-main);
    line-height: 1.7;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed) ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container Utilities */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Common Styles */
.section {
    padding: 90px 0;
}

.bg-gray {
    background-color: var(--bg-gray);
}

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

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

.mt-50 {
    margin-top: 50px;
}

/* Headings and Titles */
.section-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
    margin-bottom: 25px;
}

.section-text {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 400;
}

/* Section Title Accents */
.headline-decor {
    position: relative;
    padding-bottom: 15px;
}

.headline-decor::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.title-decor {
    position: relative;
    padding-bottom: 12px;
}

.title-decor::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
    box-shadow: 0 4px 10px rgba(206, 123, 0, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--bg-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

/* Topbar */
.topbar {
    background-color: var(--topbar-bg);
    color: var(--bg-white);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-social {
    display: flex;
    gap: 15px;
}

.topbar-social a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.topbar-social a:hover {
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background-color: var(--bg-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 10px 0;
    transition: all var(--transition-speed) ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo img {
    max-width: 170px;
    height: auto;
    transition: transform var(--transition-speed) ease;
}

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

.nav-links ul {
    display: flex;
    gap: 28px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 0;
    position: relative;
}

/* Nav Hover Line Effect */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-phone a {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 50px;
}

.nav-phone a i {
    color: var(--primary-color);
}

.nav-phone a:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.nav-phone a:hover i {
    color: var(--bg-white);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-main);
    cursor: pointer;
    padding: 5px;
    transition: color var(--transition-speed) ease;
}

.mobile-menu-btn:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 920px;
    background: #cccccc url('stock/banner.png') no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* About Section */
.about-section {
    background-color: var(--bg-white);
}

.about-section .section-title {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 42px;
}

.about-section .section-text {
    max-width: 920px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8;
}

/* Split Layout */
.split-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-layout.align-start {
    align-items: flex-start;
}

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.split-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.zoom-hover:hover img {
    transform: scale(1.04);
}

/* Amenities Section */
.amenities-section {
    background-color: var(--bg-white);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.amenity-card {
    padding: 40px 30px;
    background-color: var(--bg-white);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all var(--transition-speed) ease;
}

.amenity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(240, 26, 115, 0.2);
}

.amenity-img-container {
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.amenity-img-container img {
    max-height: 100px;
    width: auto;
    transition: transform var(--transition-speed) ease;
}

.amenity-card:hover .amenity-img-container img {
    transform: scale(1.08);
}

.amenity-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-main);
}

.amenity-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
    padding: 0;
    background-color: var(--text-main);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(195, 145, 60, 0.5);
    /* translucent primary color */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
    z-index: 2;
}

.gallery-overlay i {
    color: var(--bg-white);
    font-size: 28px;
    transform: scale(0.8);
    transition: transform var(--transition-speed) ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Quote Section */
.quote-section {
    padding: 70px 0;
    background-color: var(--bg-gray);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.quote-text {
    font-size: 32px;
    font-weight: 300;
    font-style: italic;
    color: var(--text-main);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Contact Section */
.map-container {
    flex: 1.2;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.map-container iframe {
    display: block;
}

.contact-info {
    flex: 0.8;
}

.contact-list {
    margin-top: 30px;
    margin-bottom: 35px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-list li i {
    color: var(--primary-color);
    font-size: 22px;
    margin-top: 3px;
    width: 25px;
    text-align: center;
}

.contact-list-text {
    display: flex;
    flex-direction: column;
}

.contact-list-text .label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 3px;
}

.contact-list-text span,
.contact-list-text a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-main);
}

.contact-list-text a:hover {
    color: var(--primary-color);
}

/* Social links buttons */
.social-links-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--bg-white);
    transition: all var(--transition-speed) ease;
}

.social-link-btn i {
    font-size: 18px;
}

.fb-btn {
    background-color: #1877F2;
}

.fb-btn:hover {
    background-color: #166FE5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.wa-btn {
    background-color: #25D366;
}

.wa-btn:hover {
    background-color: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Footer */
.footer {
    background-color: #111111;
    color: #999999;
    padding: 35px 0;
    border-top: 1px solid #222222;
    font-size: 14px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content a {
    color: var(--primary-color);
    font-weight: 600;
}

.footer-content a:hover {
    color: var(--bg-white);
    text-decoration: underline;
}

/* Lightbox Modal Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    user-select: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox[aria-hidden="false"] {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color var(--transition-speed) ease;
    z-index: 2010;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

.lightbox-content-container {
    max-width: 85%;
    max-height: 85%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 100%;
    max-height: 100%;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.lightbox[aria-hidden="false"] .lightbox-content {
    transform: scale(1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #ffffff;
    font-size: 24px;
    padding: 18px 24px;
    cursor: pointer;
    border-radius: 4px;
    transition: all var(--transition-speed) ease;
    z-index: 2010;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-color);
    color: var(--bg-white);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .about-section .section-title {
        font-size: 34px;
    }

    .hero {
        height: 450px;
    }

    .split-layout {
        flex-direction: column;
        gap: 40px;
    }

    .split-layout.reverse-mobile {
        flex-direction: column-reverse;
    }

    .split-layout.align-start {
        align-items: center;
    }

    .split-content,
    .split-image,
    .map-container,
    .contact-info {
        width: 100%;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Responsive Mobile Menu styling */
    .nav-links {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--border-color);
        padding: 24px;
        z-index: 999;
    }

    .nav-links.open {
        display: block;
    }

    .nav-links ul {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .nav-links a {
        font-size: 16px;
        display: block;
        padding: 5px 0;
    }

    .nav-phone {
        display: none;
        /* hidden on main layout, can be placed inside menu if needed */
    }

    /* Place phone in menu layout or keep on header if small screen allows. 
       Let's display phone number in mobile menu for better UX. */
    .nav-links.open::after {
        content: '';
        display: block;
        width: 100%;
        height: 1px;
        background-color: var(--border-color);
        margin: 15px 0;
    }

    .nav-links-mobile-phone {
        display: block;
        text-align: center;
        margin-top: 15px;
    }

    .nav-links-mobile-phone a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-weight: 700;
        color: var(--text-main);
        border: 1px solid var(--primary-color);
        padding: 8px 24px;
        border-radius: 50px;
    }

    .nav-links-mobile-phone a:hover {
        background-color: var(--primary-color);
        color: var(--bg-white);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .quote-text {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 55px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .about-section .section-title {
        font-size: 30px;
    }

    .hero {
        height: 350px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lightbox-prev,
    .lightbox-next {
        padding: 12px 18px;
        font-size: 18px;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}