/*
Theme Name: Sunita Residency Pro
Author: Custom Developer
Version: 1.1
*/

body { margin: 0; font-family: "Montserrat", Sans-serif; line-height: 1.6; }

/* Topbar */
.topbar {
    background: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 8px 15px;
    font-size: 14px;
    flex-wrap: wrap;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar a {
    color: #fff;
    text-decoration: none;
}

.topbar a:hover {
    color: #ff6600; /* your theme color */
}

.topbar i {
    color: #ff6600;
}

/* Header & Nav */
header.nav { 
    background: #ff6a00; 
    padding: 15px 5%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    color: white; 
    position: relative; 
    z-index: 1001; 
}

/* Dropdown Base */
.menu li {
    position: relative;
}

/* Hide submenu */
.menu li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ff6a00;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 200px;
    display: none;
    border-radius: 6px;
    z-index: 999;
}

/* Show dropdown on hover */
.menu li:hover > ul {
    display: block;
}

/* Dropdown items */
.menu li ul li {
    padding: 0;
}

/* Dropdown links */
.menu li ul li a {
    display: block;
    padding: 10px 20px;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
}

/* Hover effect */
.menu li ul li a:hover {
    background: #000;
    color: #fff;
}

/* Arrow indicator */
.menu li.menu-item-has-children > a::after {
    content: " ▼";
    font-size: 12px;
}
.logo { font-size: 24px; font-weight: bold; }
.logoimg{
    filter: brightness(850%) contrast(100%) saturate(100%) blur(0) hue-rotate(0deg);
    max-width: 230px;
}
.menu { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.menu li a { color: white; text-decoration: none; font-weight: 600; }

/* Slider */
.slider { position: relative; height: 700px; overflow: hidden; background: #480d0d; }
.slide { position: absolute; width: 100%; height: 700px; display: none; }
.slide img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.slide.active { display: block; }
.slide h1 {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    text-align: center;
    color: #fff;
    font-size: 42px;   
    font-weight: 700;  
    line-height: 1.2;
    letter-spacing: 1px;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.6);
    z-index: 10;
}
.slide-sub {
    position: absolute;
    top: 35%;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 14px;
    letter-spacing: 2px;
    z-index: 10;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    font-size: 18px;
    transition: 0.3s;
}

.prev { left: 20px; }
.next { right: 20px; }

.prev:hover, .next:hover {
    background: #ff6a00;
}

/* Sections */

.section { padding: 60px 10%; text-align: center; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.grid img { width: 100%; border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
/* Container Setup */
.modern-about {
    padding: 100px 5%;
    display: flex;
    justify-content: center;
    background-color: #fcfcfc;
}

/* 3D Card Layout */
.card-3d {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    gap: 50px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05); 
    transition: transform 0.3s ease;
}

/* Image 3D Look */
.image-wrapper {
    flex: 1;
    perspective: 1000px; 
}

.image-wrapper img {
    width: 100%;
    border-radius: 15px;
    transform: rotateY(-10deg) rotateX(5deg); 
    box-shadow: 20px 20px 50px rgba(0,0,0,0.2); 
    transition: all 0.5s ease;
}

/* Hover Effect: Image straightens and lifts */
.card-3d:hover .image-wrapper img {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow: 10px 10px 30px rgba(0,0,0,0.15);
}

/* Content Styling */
.content-wrapper {
    flex: 1;
}

.badge {
    background-color: #ffd700;
  color: #000000; /* black text */
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
}

.content-wrapper h2 {
    font-size: 32px;
    font-weight: 800;
    color: #222;
    line-height: 1.2;
}

.accent-text {
    color: #4a0c2d;
    font-size: 20px;
    margin-top: 25px;
}

/* Modern Button */
.modern-btn {
    display: inline-block;
    margin-top: 30px;
    background: #222;
    color: #fff;
    padding: 15px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.modern-btn:hover {
    background: #ff6a00;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 106, 0, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .card-3d {
        flex-direction: column;
        padding: 20px;
    }
    .image-wrapper img {
        transform: none; 
    }
}
/*featured section */
.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 50px;
    color: #1a1a1a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-left: 20px;  
    padding-right: 20px; 
    gap: 25px;
    padding-bottom: 50px;
}

.feature-card {
    perspective: 1000px;
}

.card-inner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.card-inner img {
    width: 100%;
    height: 450px; 
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.card-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px); 
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    color: #111;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    white-space: nowrap;
    z-index: 2;
}

.feature-card:hover .card-inner {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.feature-card:hover img {
    transform: scale(1.1);
}

.feature-card:hover .card-label {
    background: #ff6a00; 
    color: #fff;
}

@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .features-grid { grid-template-columns: 1fr; }
    .card-inner img { height: 350px; }
}

/*gurugram view css */
.gurugram-view {
    background: linear-gradient(135deg, #111 0%, #000 100%);
    padding: 100px 0;
    color: #fff;
    overflow: hidden;
}

.view-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    padding-left: 20px;  
    padding-right: 20px; 
}

.view-text {
    flex: 1.2;
}

.view-tag {
    color: #ff6a00;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    margin-bottom: 15px;
    display: block;
}

.view-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
}

.view-lead {
    color: #ccc;
    font-size: 18px;
    margin-bottom: 40px;
}

.attraction-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.attraction-item {
    font-size: 15px;
    color: #aaa;
    border-left: 3px solid #ff6a00;
    padding-left: 20px;
}

.attraction-item strong {
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

.view-visual {
    flex: 1;
    position: relative;
}

.view-visual img {
    width: 100%;
    border-radius: 30px;
    z-index: 2;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.accent-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255,106,0,0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 1;
}

.modern-btn-outline {
    display: inline-block;
    border: 2px solid #ff6a00;
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.modern-btn-outline:hover {
    background: #ff6a00;
    box-shadow: 0 10px 20px rgba(255, 106, 0, 0.3);
}

@media (max-width: 992px) {
    .view-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .attraction-item {
        border-left: none;
        border-top: 1px solid #333;
        padding: 20px 0 0 0;
    }
}

/* video section */
.video-section {
    position: relative;
    padding: 100px 0;
    background: #0a0a0a;
    overflow: hidden;
    text-align: center;
}

.video-background-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255,106,0,0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 1;
}

.video-container {
    position: relative;
    z-index: 2;
}

.video-tag {
    color: #ff6a00;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.video-title {
    color: #fff;
    font-size: 38px;
    margin-bottom: 50px;
    font-weight: 800;
}

.video-player-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    cursor: pointer;
    transition: transform 0.4s ease;
}

.video-player-wrapper:hover {
    transform: scale(1.02);
}

.video-thumbnail {
    width: 100%;
    display: block;
    filter: brightness(0.8);
    transition: filter 0.4s ease;
}

.video-player-wrapper:hover .video-thumbnail {
    filter: brightness(1);
}

.play-button-outer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    z-index: 3;
}

.play-button-inner {
    width: 100%;
    height: 100%;
    background: #ff6a00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(255, 106, 0, 0.5);
    transition: 0.3s;
}

.play-triangle {
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 25px solid #fff;
    margin-left: 5px;
}

.pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #ff6a00;
    border-radius: 50%;
    animation: video-pulse 2s infinite;
}

@keyframes video-pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

.video-player-wrapper:hover .play-button-inner {
    background: #fff;
}

.video-player-wrapper:hover .play-triangle {
    border-left-color: #ff6a00;
}

/*gallery section */
.gallery-section {
    padding: 80px 0;
    overflow: hidden;
    padding-left: 20px;  
    padding-right: 20px; 
}

.gallery-header {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-slider-container {
    position: relative;
    width: 100%;
}

.gallery-track {
    display: flex;
    gap: 20px;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1); 
}

.gallery-item {
    min-width: calc(33.33% - 14px); 
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item:hover {
    transform: scale(0.98); 
}

.gallery-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 10;
    font-size: 18px;
    color: #ff6a00;
    transition: 0.3s;
}

.g-prev { left: -25px; }
.g-next { right: -25px; }

.gallery-nav button:hover {
    background: #ff6a00;
    color: #fff;
}

@media (max-width: 768px) {
    .gallery-item { min-width: 80%; } 
}

/* our location section */
.location-section {
    padding: 100px 0;
    padding-left: 20px;  
    padding-right: 20px; 
}

.location-card {
    display: flex;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1); 
    min-height: 500px;
}

.location-info {
    flex: 1;
    padding: 60px;
    background: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title-small {
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 800;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 20px;
    color: #ff6a00;
}

.info-item p {
    margin: 0;
    color: #ccc;
    font-size: 16px;
    line-height: 1.6;
}

.location-map {
    flex: 1.5;
    position: relative;
    filter: grayscale(0.3) contrast(1.1); 
}

@media (max-width: 992px) {
    .location-card {
        flex-direction: column;
    }
    .location-map {
        height: 400px;
    }
    .location-info {
        padding: 40px;
    }
}

/* Footer Container */
.modern-footer {
    background: #000;
    color: #fff;
    padding: 80px 0 0 0;
    text-align: center;
}

.footer-logo {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 50px;
}

.footer-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05); 
    padding: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    transition: 0.3s;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 24px;
    background: rgba(255, 106, 0, 0.2);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ff6a00;
}

.contact-text span {
    display: block;
    color: #888;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-text p {
    margin: 5px 0 0 0;
    font-size: 16px;
    font-weight: 600;
}

.footer-nav {
    border-top: 1px solid #222;
    padding: 30px 0;
}

.f-menu {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none;
    padding: 0;
}

.f-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.f-menu a:hover { color: #ff6a00; }

.footer-bottom {
    background: #111;
  color: #ffffff;
    padding: 20px 0;
    font-size: 14px;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
  color: #000; /* better readability */
  font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: 0.3s;
}

.whatsapp-float img { width: 30px; }
.whatsapp-float:hover { transform: translateY(-5px); }

@media (max-width: 768px) {
    .footer-contact-grid { grid-template-columns: 1fr; }
    .f-menu { flex-direction: column; gap: 15px; }
}

/* Mobile Responsive Adjustments */
@media(max-width: 768px) {
    header.nav { 
        flex-direction: row; 
        justify-content: space-between; 
        align-items: center;
        position: relative; 
        z-index: 1001; 
    }
    
    .menu { 
        display: none; 
        flex-direction: column; 
        background: #ff6a00; 
        position: absolute; 
        top: 100% !important; 
        left: 0; 
        width: 100% !important; 
        padding: 0; 
        z-index: 1002 !important; 
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .menu.active { display: flex !important; }
    
    .slider, .slide, .slide img { height: 450px !important; } 
    
    .slide h1 { 
        font-size: 22px !important; 
        top: 55% !important; 
        width: 90%; 
        line-height: 1.3; 
    }
    
    .whatsapp-float {
        bottom: 15px !important;
        z-index: 99 !important; 
    }
}

/* FIXED CONTAINER */
.container-custom {
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.page-hero-clean { background: #f5f5f5; }
.page-hero-clean h1 { font-size: 48px; font-weight: 800; color: #fff; }

.page-content-clean { background: #fff; padding: 40px 0 80px; }
.content-area { font-size: 18px; line-height: 1.8; color: #444; }

.content-area h2 { font-size: 26px; margin-top: 30px; font-weight: 700; }

@media(max-width:768px){
    .page-hero-clean h1 { font-size: 30px; color: #111; }
}

.hero-image { width: 100%; height: 300px; overflow: hidden; position: relative; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); }

.page-hero-clean { position: relative; }
.page-hero-clean .container-custom { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: #fff; z-index: 2; }
.page-hero-clean h1 { font-size: 42px; font-weight: 800; }
.page-content-clean { padding: 50px 0; }

@media(max-width:768px){
    .page-hero-clean .container-custom { position: relative; transform: none; left: auto; bottom: auto; padding: 20px; text-align: center; color: #111; }
    .hero-image::after { background: rgba(0,0,0,0.2); }
    .page-hero-clean h1 { font-size: 24px; line-height: 1.3; color: #111; }
}

/* BLOG HERO */
.blog-hero { background: #000; color: #fff; text-align: center; padding: 100px 20px; }
.blog-hero h1 { font-size: 48px; font-weight: 800; }
.blog-container { padding: 60px 5%; background: #111; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card { background: #fff; border-radius: 10px; overflow: hidden; }
.blog-card img { width: 100%; height: 220px; object-fit: cover; }
.blog-content { padding: 20px; }
.blog-content h2 { font-size: 20px; margin-bottom: 10px; }
.blog-content h2 a { text-decoration: none; color:black; }
.blog-content p { font-size: 14px; color: #555; }
.read-more { display: inline-block; margin-top: 10px; color: #ff6a00; font-weight: bold; }

.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); }
.hero-content { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); color: #fff; text-align: center; z-index: 2; max-width: 800px; }
.hero-content h1 { font-size: 42px; font-weight: 800; line-height: 1.3; }

@media(max-width:768px){
    .hero-image { height: 250px; }
    .hero-content h1 { font-size: 24px; }
    .blog-grid { grid-template-columns: 1fr; }
}

/*mobile menu css*/
.menu-toggle { display: none; font-size: 26px; cursor: pointer; color: #fff; }

@media(max-width:768px){
    header.nav { flex-direction: row; justify-content: space-between; align-items: center; position: relative; z-index: 1001; }
    .menu-toggle { display: block; }
    nav { width: 100%; position: static; }

    .menu {
        display: none;
        flex-direction: column;
        background: #ff6a00;
        position: absolute; 
        top: 100% !important; 
        left: 0;
        width: 100% !important; 
        padding: 0;
        z-index: 1002 !important; 
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .menu.active { display: flex !important; }
    .menu li { text-align: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .menu li a { display: block; font-size: 16px; }

    /* Fix: Force mobile submenus to open when the parent has the 'active' class */
    .menu li.active > ul {
        display: block !important;
        position: relative;
        width: 100%;
        background: rgba(0,0,0,0.1); /* Slightly darker for contrast */
        border-radius: 0;
        box-shadow: none;
    }

    /* Remove absolute hover logic on mobile so it doesn't float weirdly */
    .menu li:hover > ul { display: none; }
}