/* 
  Dev Hall - Premium Luxury CSS
  Theme: Gold & White
*/

:root {
    --gold-primary: #C5A059;
    --gold-secondary: #D4AF37;
    --dark-gold: #996515;
    --luxury-white: #FFFFFF;
    --soft-gray: #F9F9F9;
    --deep-charcoal: #1A1A1A;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', 'Noto Sans Marathi', sans-serif;
    background-color: var(--luxury-white);
    color: var(--deep-charcoal);
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Container width limit */
.container {
    max-width: 1200px;
    width: 100%;
}

/* Navbar */
.navbar {
    background: transparent;
    transition: var(--transition-smooth);
    padding: 20px 0;
    z-index: 9999;
    min-height: 80px;
    display: flex;
    align-items: center;
}

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

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    min-height: 70px;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--gold-primary) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

/* Page Header / Hero Spacing Fix */
.hero, .page-header {
    padding-top: 120px !important; /* Adjust based on navbar height + extra space */
    padding-bottom: 80px !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

@media (max-width: 992px) {
    .hero, .page-header {
        padding-top: 110px !important;
        min-height: 320px;
    }
}

@media (max-width: 768px) {
    .hero, .page-header {
        padding-top: 100px !important;
        min-height: 280px;
        padding-bottom: 60px !important;
    }
}

@media (max-width: 576px) {
    .hero, .page-header {
        padding-top: 90px !important;
        min-height: 260px;
    }
}

.nav-link {
    color: var(--deep-charcoal) !important;
    font-weight: 500;
    margin: 0 15px;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--gold-primary);
    transition: var(--transition-smooth);
}

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

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../photo/dev1.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.5rem);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

/* Buttons */
.btn-gold {
    background-color: var(--gold-primary);
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    border: 2px solid var(--gold-primary);
    transition: var(--transition-smooth);
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--gold-primary);
    transform: translateY(-3px);
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--gold-primary);
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    border: 2px solid var(--gold-primary);
    transition: var(--transition-smooth);
}

.btn-outline-gold:hover {
    background-color: var(--gold-primary);
    color: white;
    transform: translateY(-3px);
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--deep-charcoal);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

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

/* Cards */
.luxury-card {
    background: var(--luxury-white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
    border: 1px solid rgba(197, 160, 89, 0.1);
    text-align: center;
}

.luxury-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: var(--soft-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--gold-primary);
    font-size: 2rem;
    transition: var(--transition-smooth);
}

.luxury-card:hover .icon-box {
    background: var(--gold-primary);
    color: white;
}

/* Swiper */
.swiper-container {
    padding-bottom: 50px;
}

/* Gallery */
.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(197, 160, 89, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

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

/* Footer */
footer {
    background: var(--deep-charcoal);
    color: white;
    padding: 80px 0 20px;
}

.footer-logo {
    font-size: 2rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
    display: block;
}

/* Floating Buttons */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.2);
    z-index: 100;
}

.call-float {
    position: fixed;
    bottom: 110px;
    right: 30px;
    background: var(--gold-primary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.2);
    z-index: 100;
}

/* Ken Burns Animation */
@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); }
}

.ken-burns {
    animation: kenburns 20s ease-out infinite alternate;
}

/* Glassmorphism */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 25px;
    padding: 40px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-10px);
}

/* Owner Section */
.owner-img-container {
    position: relative;
    padding: 20px;
}

.owner-img-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.owner-img {
    width: 100%;
    max-width: 400px;
    border-radius: 50%;
    border: 10px solid white;
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 100px auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--gold-primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background-color: white;
    border: 4px solid var(--gold-primary);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left { left: 0; }
.right { left: 50%; }

.right::after { left: -13px; }

.timeline-content {
    padding: 30px;
    background-color: var(--soft-gray);
    position: relative;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Responsive Fixes */
@media (max-width: 1200px) {
    .container { padding: 0 20px; }
}

@media (max-width: 992px) {
    section { padding: 80px 0; }
    .display-1 { font-size: 3.5rem; }
    .display-2 { font-size: 3rem; }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }
    .display-1 { font-size: 2.8rem; }
    .display-2 { font-size: 2.5rem; }
    .display-5 { font-size: 2.2rem; }
    .hero { height: auto; min-height: 80vh; padding: 120px 0; }
    
    .navbar {
        background: var(--glass-bg);
        padding: 0.5rem 0;
        backdrop-filter: blur(10px);
    }
    
    .nav-item { text-align: center; margin: 10px 0; }
    .btn-gold, .btn-outline-gold { width: 100%; margin-top: 10px; }
    
    .timeline::after { left: 31px; }
    .timeline-container { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-container::after { left: 18px; }
    .right { left: 0%; }
    
    .owner-img { max-width: 250px; }
    .stats-section h2 { font-size: 2.5rem; }
}

@media (max-width: 576px) {
    .display-1 { font-size: 2.2rem; }
    .display-2 { font-size: 2rem; }
    .section-title h2 { font-size: 1.8rem; }
    .luxury-card { padding: 25px; }
}

@media (max-width: 390px) {
    .display-1 { font-size: 2rem; }
    .hero p { font-size: 0.95rem; }
}

/* Responsive Typography */
h1, .display-1 { font-size: clamp(2rem, 8vw, 4.5rem); }
h2, .display-5 { font-size: clamp(1.8rem, 6vw, 3rem); }
h3, .display-6 { font-size: clamp(1.5rem, 5vw, 2.5rem); }
p { font-size: clamp(0.9rem, 2vw, 1.1rem); line-height: 1.6; }

/* Mobile Menu Improvements */
.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none !important;
    position: relative;
    width: 24px;
    height: 2px;
    background-color: var(--gold-primary);
    display: inline-block;
    transition: all 0.3s;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--gold-primary);
    transition: all 0.3s;
}

.navbar-toggler-icon::before {
    top: -8px;
    left: 0;
}

.navbar-toggler-icon::after {
    top: 8px;
    left: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        margin-top: 15px;
        border-radius: 15px;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .nav-link {
        color: var(--deep-charcoal) !important;
        padding: 10px 0 !important;
    }
    
    .navbar.scrolled .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
    }
}

/* Responsive Utils */
iframe {
    max-width: 100%;
}

@media (max-width: 576px) {
    .hero .btn, .cta-section .btn, .py-5 .btn, .stats-section .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .row {
        margin-left: 0;
        margin-right: 0;
    }
}

/* WhatsApp Pulse Animation */
@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float {
    animation: pulse-wa 2s infinite;
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 10000;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

.whatsapp-float::before {
    content: "WhatsApp वर संपर्क करा";
    position: absolute;
    right: 75px;
    background: #333;
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover::before {
    opacity: 1;
    visibility: visible;
}

.call-float {
    position: fixed;
    bottom: 105px;
    right: 30px;
    background: var(--gold-primary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 10000;
    transition: var(--transition-smooth);
}

.call-float:hover {
    transform: scale(1.1);
    color: white;
}

.bg-gold-light {
    background-color: rgba(197, 160, 89, 0.05);
}

/* Quote Block */
.quote-block {
    border-left: 5px solid var(--gold-primary);
    padding: 20px 40px;
    background: var(--soft-gray);
    font-style: italic;
    border-radius: 0 20px 20px 0;
    margin: 30px 0;
}

/* Hover Zoom */
.hover-zoom {
    transition: transform 0.5s ease;
    cursor: pointer;
}

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

/* Margin/Padding Utils */
.py-100 {
    padding-top: 0px;
    padding-bottom: 100px;
}

.mb-100 {
    margin-bottom: 100px;
}





.gallery-section{
    padding:80px 0;
    background:#fff;
}

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

.gallery-item{
    overflow:hidden;
    border-radius:18px;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
}

.gallery-item img{
    width:100%;
    height:280px;
    object-fit:cover;
    display:block;
    transition:.5s;
}

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

/* Tablet */

@media(max-width:992px){

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

}

/* Mobile */

@media(max-width:576px){

.gallery-grid{
    grid-template-columns:1fr;
}

.gallery-item img{
    height:220px;
}

}