/* =========================================
SUBUCO RETREAT & HOSPITALITY
GREEN + WHITE PROFESSIONAL SYSTEM
========================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{
    --primary:#1f5e3b;
    --primary-dark:#14502e;
    --secondary:#d4a95e;
    --light:#f6f7f5;
    --white:#ffffff;
    --text:#4b4b4b;
    --border:#e7e7e7;
    --shadow:0 10px 30px rgba(0,0,0,0.08);
    --soft-shadow:0 6px 20px rgba(0,0,0,0.06);
}

body{
    font-family:'Inter', sans-serif;
    background:var(--light);
    color:var(--text);
    line-height:1.7;
    overflow-x:hidden;
}

h1,h2,h3,h4{
    font-family:'Playfair Display', serif;
    color:#1b1f1d;
}

a{text-decoration:none;}
img{width:100%; display:block;}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* GREEN LINE SECTION SEPARATOR */
.section{
    padding:90px 0;
    border-bottom: 4px solid var(--primary); /* Line to separate each section */
}

/* =========================================
HEADER (GREEN + WHITE CLEAN)
========================================= */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:rgba(255,255,255,0.95);
    backdrop-filter:blur(10px);
    z-index:1000;
    border-bottom:1px solid #e7efe9;
    box-shadow:0 2px 10px rgba(0,0,0,0.04);
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 0;
}

/* LOGO */
.logo-area{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo-area img{
    width:45px;
    height:45px;
}

.logo-area h2{
    color:var(--primary);
    font-size:22px;
}

.logo-area span{
    font-size:11px;
    color:#6b7c73;
}

/* NAV */
nav ul{
    display:flex;
    list-style:none;
    gap:22px;
}

nav ul li a{
    color:var(--primary);
    font-weight:600;
    position:relative;
    transition:0.3s;
}

nav ul li a:hover{
    color:var(--primary-dark);
}

nav ul li a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-5px;
    width:0%;
    height:2px;
    background:var(--primary);
    transition:0.3s;
}

nav ul li a:hover::after{
    width:100%;
}

/* HAMBURGER */
.menu-toggle{
    display:none;
    font-size:28px;
    color:var(--primary);
    cursor:pointer;
}

/* MOBILE MENU FIX (IMPORTANT) */
@media(max-width:768px){

    nav{
        display:none;
        position:absolute;
        top:70px;
        left:0;
        width:100%;
        background:white;
        box-shadow:0 10px 20px rgba(0,0,0,0.08);
        padding:20px;
    }

    nav.active{
        display:block;
    }

    nav ul{
        flex-direction:column;
        gap:15px;
    }

    .menu-toggle{
        display:block;
    }
}

/* =========================================
HERO SECTION (ANIMATION FIXED TO 10S)
========================================= */

.hero{
    height:100vh;
    position:relative;
    overflow:hidden;
}

.hero-slider{
    position:absolute;
    width:100%;
    height:100%;
}

.hero-slide{
    position:absolute;
    width:100%;
    height:100%;
    opacity:0;
    transition:1.5s ease;
}

.hero-slide.active{
    opacity:1;
}

.hero-slide img{
    width:100%;
    height:100%;
    object-fit:cover;
    animation:zoom 10s linear infinite; /* Animation set to 10 seconds */
}

/* smoother zoom */
@keyframes zoom{
    from{transform:scale(1);}
    to{transform:scale(1.10);}
}

/* STRONG GREEN DARK OVERLAY (FIX READABILITY) */
.overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(10,25,15,0.65);
    backdrop-filter:blur(4px);
    box-shadow:
        inset 0 0 140px rgba(0,0,0,0.75),
        inset 0 0 90px rgba(31,94,59,0.35);
}

.hero-content{
    position:relative;
    z-index:2;
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
    padding:0 20px;
}

.hero-content h1{
    font-size:60px;
    color:white;
    text-shadow:0 10px 30px rgba(0,0,0,0.7);
}

.hero-content p{
    max-width:700px;
    font-size:18px;
    text-shadow:0 6px 20px rgba(0,0,0,0.6);
}

/* =========================================
BUTTONS (IMPROVED HOVER)
========================================= */

.btn{
    display:inline-block;
    padding:14px 28px;
    border-radius:50px;
    font-weight:600;
    transition:0.4s ease; /* Smoother transition */
    margin:5px;
}

.btn-primary{
    background:var(--primary);
    color:white;
    border: 2px solid var(--primary);
}

.btn-primary:hover{
    background:transparent;
    color:var(--primary);
    transform:translateY(-5px); /* Lift effect */
    box-shadow: 0 10px 20px rgba(31, 94, 59, 0.2);
}

.btn-outline{
    border:2px solid white;
    color:white;
}

.btn-outline:hover{
    background:var(--primary);
    border-color: var(--primary);
    color:white;
    transform:translateY(-5px);
}

/* =========================================
SECTION TITLE
========================================= */

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    font-size:40px;
}

.section-title p{
    max-width:650px;
    margin:auto;
}

/* =========================================
GRID + CARDS
========================================= */

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.card{
    background:white;
    padding:30px;
    border-radius:16px;
    box-shadow:var(--soft-shadow);
    transition:0.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.card h3{
    color:var(--primary);
}

/* =========================================
PROMISE
========================================= */

.promise{
    background:var(--primary);
    color:white;
}

.promise-item{
    background:rgba(255,255,255,0.12);
    padding:18px;
    border-radius:12px;
}

/* =========================================
ABOUT
========================================= */

.about{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

/* =========================================
SERVICES
========================================= */

.service-box{
    background:white;
    padding:30px;
    border-left:5px solid var(--primary);
    border-radius:14px;
    margin-bottom:20px;
    box-shadow:var(--soft-shadow);
}

/* =========================================
ANNOUNCEMENTS
========================================= */

.light-section{
    background:#f3f6f2;
}

.announcement-card{
    background:white;
    padding:25px;
    border-radius:14px;
    border-top:4px solid var(--secondary);
    box-shadow:var(--soft-shadow);
}

/* =========================================
BLOGS
========================================= */

.blog-card{
    background:white;
    border-radius:16px;
    overflow:hidden;
    box-shadow:var(--soft-shadow);
    transition:0.3s;
}

.blog-card:hover{
    transform:translateY(-8px);
}

.blog-card img{
    height:220px;
    object-fit:cover;
}

.blog-content{
    padding:20px;
}

.blog-content h3{
    color:var(--primary);
}

/* =========================================
CONTACT (FIXED VISIBILITY)
========================================= */

.dark-section{
    background:var(--light);
}

.contact-wrapper{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
}

.contact-wrapper form{
    background:white;
    padding:30px;
    border-radius:16px;
    box-shadow:var(--shadow);
}

.contact-wrapper input,
.contact-wrapper textarea,
.contact-wrapper select{
    width:100%;
    padding:14px;
    margin-bottom:15px;
    border:1px solid var(--border);
    border-radius:10px;
}

/* =========================================
BOOKING SECTION (SAFE ADDITION)
========================================= */

#booking form{
    background:white;
    padding:30px;
    border-radius:16px;
    box-shadow:var(--shadow);
}

#booking input,
#booking textarea,
#booking select{
    width:100%;
    padding:14px;
    margin-bottom:15px;
    border:1px solid var(--border);
    border-radius:10px;
}

/* =========================================
FOOTER (LIGHT GREEN WHITE STYLE)
========================================= */

footer{
    background:#f7faf8;
    padding:60px 0;
    border-top:1px solid #e7efe9;
}

.footer-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:40px;
}

.footer-logo h3{
    color:var(--primary);
}

.footer-links ul{
    list-style:none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a{
    color:#555;
    transition:0.3s;
    display: inline-block;
}

/* FOOTER HOVER EFFECTS */
.footer-links ul li a:hover{
    color:var(--primary);
    transform: translateX(8px); /* Slide right effect */
    font-weight: bold;
}

.footer-bottom{
    text-align:center;
    margin-top:20px;
    padding-top:15px;
    border-top:1px solid #e7efe9;
    color:#6b7c73;
}

/* =========================================
RESPONSIVE
========================================= */

@media(max-width:900px){
    .hero-content h1{font-size:38px;}
    .about,.contact-wrapper{grid-template-columns:1fr;}
}

@media(max-width:600px){
    .hero-content h1{font-size:28px;}
    .btn{width:100%; text-align:center;}
}
/* ===============================
HERO HIGHLIGHTS 2x2 GRID
================================ */

.hero-highlights{
    margin-top:20px;
    width:100%;
    max-width:700px;
}

.highlight-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:12px;
}

.highlight-item{
    background:rgba(255,255,255,0.12);
    border:1px solid rgba(255,255,255,0.2);
    padding:12px 14px;
    border-radius:10px;
    font-size:15px;
    color:#fff;
    text-shadow:0 4px 12px rgba(0,0,0,0.6);
    backdrop-filter:blur(4px);
    transition:0.3s;
}

.highlight-item:hover{
    background:rgba(31,94,59,0.35);
    transform:translateY(-3px);
}

/* BUTTON AREA */
.hero-buttons{
    margin-top:25px;
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
}

/* NOTE TEXT */
.hero-note{
    margin-top:18px;
    font-size:14px;
    opacity:0.85;
    max-width:600px;
    text-align:center;
    color:white;
    text-shadow:0 4px 12px rgba(0,0,0,0.6);
}

/* ===============================
RESPONSIVE
================================ */

@media(max-width:768px){

    .highlight-grid{
        grid-template-columns:1fr;
    }

    .hero h1{
        font-size:38px;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:center;
    }

    .btn{
        width:100%;
        text-align:center;
    }
}