/*=============================
   SHANTA KRISHNA APARTMENTS
   BASE / STRUCTURE STYLESHEET
   (layout, spacing, structure — colors live in theme.css)
==============================*/

/*=============================
   GOOGLE FONT
==============================*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/*=============================
   RESET
==============================*/
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-padding-top:110px;
}

body{
    background:var(--black);
    color:#fff;
    overflow-x:hidden;
}

img{
    width:100%;
    display:block;
}

a{
    text-decoration:none;
}

section{
    padding:100px 8%;
}

.container{
    max-width:1300px;
    margin:auto;
}

/*=============================
   VARIABLES (structure-only)
==============================*/
:root{
    --black:#0e0e0e;
    --header-h:96px;
}

/*=============================
   HEADER
==============================*/
.site-header{

    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:var(--header-h);
    padding:0 8%;

    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;

    backdrop-filter:blur(15px);
    -webkit-backdrop-filter:blur(15px);

    z-index:9999;

    transition:.4s;
}

.site-header.scrolled{
    box-shadow:0 12px 30px rgba(0,0,0,.28);
}

.logo{
    flex-shrink:0;
}

.logo img{
    height:84px;
    width:auto;
    transition:.4s;
}

/*=============================
 NAVIGATION
==============================*/
nav{
    display:flex;
    align-items:center;
    gap:38px;
    margin-left:auto;
}

nav a{
    color:white;
    font-weight:500;
    position:relative;
    white-space:nowrap;
    transition:.3s;
}

nav a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-8px;
    width:0%;
    height:2px;
    transition:.4s;
}

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

/* CTA button inside the desktop header */
.header-cta{
    flex-shrink:0;
    padding:13px 26px;
    border-radius:50px;
    font-weight:600;
    font-size:14px;
    white-space:nowrap;
    transition:.4s;
}

/* Duplicate CTA that only renders inside the mobile slide-out nav */
.mobile-only-cta{
    display:none;
}

/*=============================
 HAMBURGER
==============================*/
.hamburger{
    display:none;
    cursor:pointer;
    flex-shrink:0;
}

.hamburger span{
    display:block;
    width:30px;
    height:3px;
    margin:6px;
    transition:.4s;
}

/*=============================
 HERO
==============================*/
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background Video */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -2;
}

/* Dark Overlay */
.hero .overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.hero-content h3 {
    font-size: 18px;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.hero-content h1 {
    font-size: 55px;
    margin-bottom: 15px;
    line-height:1.15;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

/*=============================
 BUTTONS
==============================*/
.hero-buttons{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:20px;
}

.btn{
    padding:16px 35px;
    border-radius:50px;
    font-weight:600;
    transition:.4s;
    display:inline-block;
}

.btn:hover{
    transform:translateY(-5px);
}

.btn2{
    border:2px solid;
    padding:16px 35px;
    border-radius:50px;
    transition:.4s;
    display:inline-block;
}

/*=============================
 ABOUT
==============================*/
.about .container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}

.about-image img{
    border-radius:20px;
}

.about-content h4{
    margin-bottom:15px;
    letter-spacing:1px;
}

.about-content h2{
    font-size:45px;
    margin-bottom:25px;
}

.about-content p{
    line-height:1.8;
    margin-bottom:35px;
}

/*=============================
 STATS
==============================*/
.stats{
    display:flex;
    gap:40px;
    margin-top:20px;
}

.stats div{
    padding:25px;
    border-radius:15px;
    text-align:center;
    flex:1;
    border:1px solid transparent;
    transition:.4s;
}

.stats div:hover{
    transform:translateY(-10px);
}

.stats h3{
    font-size:40px;
}

.stats p{
    margin-top:10px;
    font-size:14px;
}

/*=============================
 HIGHLIGHTS
==============================*/
.highlights{
    text-align:center;
}

.highlights h2{
    font-size:45px;
    margin-bottom:60px;
}

.highlight-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.highlight-card{
    padding:40px;
    border-radius:20px;
    border:1px solid transparent;
    transition:.5s;
}

.highlight-card:hover{
    transform:translateY(-15px);
}

.highlight-card i{
    font-size:50px;
    margin-bottom:25px;
}

.highlight-card h3{
    margin-bottom:15px;
}

/*=============================
 APARTMENTS
==============================*/
.apartments{
    text-align:center;
}

.apartments h2{
    font-size:45px;
    margin-bottom:60px;
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:40px;
}

.card{
    border-radius:20px;
    overflow:hidden;
    border:1px solid transparent;
    transition:.5s;
}

.card:hover{
    transform:translateY(-15px);
}

.card img{
    height:250px;
    object-fit:cover;
}

.card h3{
    font-size:30px;
    margin:20px 0;
}

.card p{
    padding:0 25px;
    margin-bottom:25px;
}

.card a{
    display:inline-block;
    margin-bottom:30px;
    padding:12px 30px;
    border-radius:30px;
    font-weight:600;
}

/*=============================
 BACK TO TOP
==============================*/
.topBtn{
    position:fixed;
    bottom:30px;
    right:30px;
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    font-size:22px;
    cursor:pointer;
    display:none;
    align-items:center;
    justify-content:center;
    z-index:999;
    transition:.3s;
}

.topBtn.show{
    display:flex;
}

/*=============================
 SCROLL REVEAL (see js/main.js)
==============================*/
.js-reveal{
    opacity:0;
    transform:translateY(50px);
    transition:opacity .8s ease, transform .8s ease;
}

.js-reveal.js-revealed{
    opacity:1;
    transform:translateY(0);
}

@media (prefers-reduced-motion: reduce){
    .js-reveal{
        opacity:1;
        transform:none;
        transition:none;
    }
}

/*=============================
 SIMPLE LIGHTBOX
==============================*/
.lightbox{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.lightbox img{
    max-width:90%;
    max-height:90%;
    border-radius:10px;
}

/* =================================
   FOOTER
================================= */
.footer {
    padding-top: 80px;
}

.footer-container {
    width: 84%;
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-logo {
    width: 210px;
    height: auto;
    margin-bottom: 25px;
}

.footer-brand p {
    line-height: 1.8;
    max-width: 350px;
    font-size: 14px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h3::after {
    content: "";
    display: block;
    width: 35px;
    height: 2px;
    margin-top: 10px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 14px;
}

.footer-col ul li a {
    font-size: 14px;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    padding-left: 7px;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    border: 1px solid transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s;
}

.social-icons a:hover {
    transform: translateY(-5px);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 22px;
}

.contact-item > i {
    font-size: 18px;
    margin-top: 4px;
}

.contact-item a {
    display: block;
    margin-bottom: 8px;
    transition: 0.3s;
}

.contact-item p {
    line-height: 1.7;
    font-size: 14px;
}

.visit-col p {
    line-height: 1.8;
    font-size: 14px;
    margin-bottom: 25px;
}

.footer-btn-group{
    display:flex;
    flex-direction:column;
    gap:14px;
    align-items:flex-start;
}

.footer-btn {
    display: inline-flex;
    align-items:center;
    gap:10px;
    padding: 13px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: 0.4s;
    border:2px solid transparent;
}

.footer-btn:hover {
    transform: translateY(-4px);
}

.footer-btn-outline{
    background:transparent !important;
}

/* =================================
   FOOTER BOTTOM
================================= */
.footer-bottom {
    width: 84%;
    max-width: 1400px;
    margin: auto;
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-top:1px solid transparent;
}

.footer-bottom p {
    font-size: 13px;
}

.footer-bottom div {
    display: flex;
    gap: 12px;
}

.footer-bottom a {
    font-size: 13px;
    transition: 0.3s;
}

/* =================================
   FLOATING BUTTONS
================================= */
.floating-call,
.floating-whatsapp {
    position: fixed;
    right: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 999;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    transition: 0.4s;
}

.floating-call {
    bottom: 30px;
}

.floating-whatsapp {
    bottom: 100px;
    font-size: 28px;
}

.floating-call:hover,
.floating-whatsapp:hover {
    transform: scale(1.1);
}
