/* =========================
   GLOBAL RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #141E30;
    color: white;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* =========================
   HEADER
========================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    background: rgba(20, 30, 48, 0.95);
    z-index: 1000;
    transition: height 0.3s ease, background 0.3s ease;
}

header.shrink {
    height: 70px;
    background: rgba(20, 30, 48, 1);
}

/* LOGO */
.logo img {
    height: 225px;
    transition: height 0.5s ease, transform 5s ease-in-out;
    animation: slowZoom 5s ease-in-out forwards;
}

header.shrink .logo img {
    height: 60px;
}

/* =========================
   HAMBURGER MENU
========================= */
.hamburger {
    width: 32px;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 6px;
}

.hamburger span {
    height: 3px;
    background: white;
    border-radius: 2px;
}

/* =========================
   NAVIGATION
========================= */
nav {
    display: flex;
    gap: 28px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* MOBILE NAV */
@media (max-width: 900px) {
    .hamburger { display: flex; }

    nav {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: linear-gradient(#35577D, #141E30);
        flex-direction: column;
        gap: 20px;
        padding: 30px;
        transition: right 0.4s ease;
    }

    nav.active { right: 0; }
}

/* =========================
   SECTIONS
========================= */
/* FIX: Add top padding so content is not hidden behind navbar */
section {
    min-height: 40vh; /* optional: adjust if you want */
    padding: 100px 20px 30px; /* top, sides, bottom */
    max-width: 1100px;
    margin: auto;
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease;
}

section.show { opacity: 1; transform: translateY(0); }

/* HEADERS */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-weight: 600;
    line-height: 1.3;
}

section h2 + p,
section h3 + p {
    margin-top: 12px;
    font-size: 1.1rem;
    line-height: 1.5;
}

section h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: #35577D;
    margin: 12px 0;
    border-radius: 2px;
}

@media (max-width: 768px) {
    section {
        padding: 80px 15px 20px; /* reduced top padding on mobile */
    }
    section h2::after { width: 40px; height: 2px; margin: 10px 0; }
    section h2 + p,
    section h3 + p { margin-top: 10px; font-size: 1rem; }
}

/* =========================
   INNER PAGES NAVBAR OFFSET
========================= */
.inner-page {
    padding-top: 90px; /* default header height */
}

@media (max-width: 768px) {
    .inner-page {
        padding-top: 70px; /* mobile header height */
    }
}

/* =========================
   HERO SLIDER
========================= */
.hero {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    padding-top: 0; /* hero full screen */
}

.hero-slider { height: 100%; position: relative; }

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active { opacity: 1; }

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    text-shadow: 0 5px 20px rgba(0,0,0,0.7);
}

.hero-text h1 { font-size: clamp(2rem, 4vw, 3rem); }

.hero-text p { font-size: 1.2rem; }

/* HERO TEXT ANIMATION */
.slide.active .hero-text h1,
.slide.active .hero-text p {
    opacity: 1;
    transform: translateY(0);
}

.hero-text h1, .hero-text p {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

/* SLIDER BUTTONS */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(20,30,48,0.7);
    color: white;
    border: none;
    font-size: 2.5rem;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: background 0.3s, transform 0.3s;
}

.slider-btn:hover {
    background: rgba(20,30,48,0.9);
    transform: translateY(-50%) scale(1.2);
}

.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

/* =========================
   LIGHTBOX
========================= */
#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 2000;
}

#lightbox.active { opacity: 1; pointer-events: all; }

#lightbox img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 12px;
}

#closeLightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    cursor: pointer;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(20,30,48,0.7);
    color: white;
    border: none;
    font-size: 2.8rem;
    padding: 10px 18px;
    cursor: pointer;
    border-radius: 50%;
}

.lightbox-arrow.left { left: 30px; }
.lightbox-arrow.right { right: 30px; }

/* =========================
   SOCIAL FLOAT BUTTONS
========================= */
.social-float {
    position: fixed;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1500;
}

.social-float .social-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-float .social-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.social-float .social-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}

/* Individual brand colors */
.social-float .fb { background: #1877f2; }
.social-float .ig { background: #e1306c; }
.social-float .wa { background: #25D366; }
.social-float .th { background: #f2efef; }

@media (max-width: 768px) {
    .social-float { right: 10px; }
    .social-float .social-btn { width: 46px; height: 46px; }
    .social-float .social-btn img { width: 20px; height: 20px; }
}

/* =========================
   SPLASH SCREEN
========================= */
#splash {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #141E30, #35577D);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    z-index: 5000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#splash.hidden { opacity: 0; visibility: hidden; }

#splash img {
    width: 220px;
    max-width: 70%;
    animation: slowZoom 3s ease-in-out forwards;
}

.loader {
    width: 45px;
    height: 45px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* =========================
   ANIMATIONS
========================= */
@keyframes spin { to { transform: rotate(360deg); } }

@keyframes slowZoom {
    0% { opacity: 0; transform: scale(0.85); }
    40% { opacity: 1; }
    100% { transform: scale(1.05); }
}

/* =========================
   CONTACT PAGE
========================= */
.contact-container {
    display: flex;
    gap: 50px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.contact-form, .contact-info {
    flex: 1 1 400px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.contact-form label {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border-radius: 6px;
    border: none;
    outline: none;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    background: rgba(255,255,255,0.2);
}

.contact-form textarea {
    min-height: 140px;
    resize: none;
}

.contact-form button {
    padding: 14px 25px;
    background: #35577D;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.contact-form button:hover {
    background: #2a3f61;
    transform: scale(1.05);
}

.contact-info h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.contact-info p {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-container { flex-direction: column; gap: 30px; }
}
/* =========================
   CONTACT MAP
========================= */
.map-container {
    width: 100%;
    margin-top: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

/* CONTACT SOCIAL BUTTONS */
.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    margin-left: auto;     /* pushes the whole block to the right */
    padding-right: 30px;   /* extra push to the right */

}

.contact-social .social-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-social .social-btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.contact-social .social-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

/* Responsive */
@media (max-width: 900px) {
    .contact-container { 
        flex-direction: column; 
        gap: 30px; 
    }
    .contact-social { 
        justify-content: flex-start; /* Keep left aligned on mobile */
        padding-right: 0;           /* Remove extra right padding on small screens */
    }
}
/* =========================
   CONTACT MAP MOBILE FIX
========================= */
@media (max-width: 768px) {
    .map-container {
        width: 100%;
        height: 250px; /* adjust for mobile */
        margin-top: 15px;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    }

    /* if using iframe inside map */
    .map-container iframe {
        width: 100%;
        height: 100%;
    }
}

/* =========================
   INNER PAGES SOCIAL FLOAT POSITION
   (Does NOT affect index.html)
========================= */
.inner-page .social-float {
    right: -80px;
}

/* Mobile safety */
@media (max-width: 768px) {
    .inner-page .social-float {
        right: 15px;
    }
}
/* =========================
   INTERIOR PAGE
========================= */

#interior h3 {
    margin-top: 60px;
    font-size: 26px;
}

.interior-desc {
    max-width: 800px;
    margin-bottom: 20px;
    color: #f9f9f9;
    line-height: 1.7;
}

/* =========================
   FULL WIDTH HERO FIX
========================= */
.hero {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* =========================
   GALLERY (INTERIOR + EXTERIOR)
========================= */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    margin-top: 30px;
}

.gallery img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 14px 35px rgba(0,0,0,0.6);
}

/* Mobile */
@media (max-width: 600px) {
    .gallery img {
        height: 220px;
    }
}
/* =========================
   SOCIAL FOOTER (MOBILE)
========================= */
.social-footer {
    width: 100%;
    background: #141E30;
    padding: 12px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.3);
}

.social-footer .social-buttons {
    display: flex;
    gap: 15px;
}

.social-footer .social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-footer .social-btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.social-footer .social-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(0,0,0,0.5);
}

/* Hide original floaters on mobile */
@media (max-width: 768px) {
    .social-float {
        display: none;
    }
}
