/* index.css - Final & Complete Version */
:root {
    --primary-color: #d4af37; /* Gold Accent */
    --dark-bg: #111;
    --text-light: #fff;
    --text-muted: #ccc;
    --white: #ffffff;
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 30px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --border-radius: 15px;
    --font-heading: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-heading);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.bg-dark {
    background-color: var(--dark-bg) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* --- NAVBAR --- */
.navbar {
    transition: var(--transition);
    padding: 15px 0;
    backdrop-filter: blur(10px);
    background: rgba(17, 17, 17, 0.9) !important;
    z-index: 1000;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(17, 17, 17, 0.98) !important;
}

.navbar-brand {
    font-size: 1.8rem;
    letter-spacing: 1px;
    color: var(--white) !important;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-left: 20px;
    transition: var(--transition);
    position: relative;
}

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

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

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

@media (max-width: 991.98px) {
    .navbar-nav .nav-link { 
        margin: 0.5rem 0;
        text-align: center;
    }
    .navbar-toggler { 
        border: none; 
    }
}

/* --- HERO SECTION - NEVER SHRINKS ON MOBILE --- */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Fixed-like background that NEVER shrinks */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/interiorwallpaper.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll; /* iOS-safe */
    filter: brightness(0.6);
    z-index: -1;
    transform: translateZ(0);
    will-change: transform;
}

/* Slow zoom animation (safe for mobile) */
@keyframes hero-zoom {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

.hero::before {
    animation: hero-zoom 15s ease-out infinite;
}

/* Content container */
.hero .container {
    position: relative;
    z-index: 2;
    padding: 1rem;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.8rem, 8vw, 4.5rem);
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.4);
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.5rem);
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.95;
    color: white;
}

.btn-primary {
    padding: 14px 36px;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
}

/* Fade-in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- GENERAL SPACING --- */
.section-padding {
    padding: 100px 0;
}

/* --- STATS SECTION --- */
.stat-item h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stats-section .stat-item {
    padding: 20px;
}

/* --- CARD STYLES --- */
.card {
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card i {
    color: var(--primary-color);
}

/* --- GALLERY --- */
.gallery-img {
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.gallery-img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
}

/* --- REVIEWS --- */
.review-card {
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    background-color: #fff;
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    height: 100%;
}

.review-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: #555;
}

/* --- DESIGNERS SECTION --- */
#designers .p-3 {
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #555;
    border: 1px solid #e0e0e0;
    transition: var(--transition);
}

#designers .p-3:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* --- CONTACT FORM --- */
#contact input.form-control,
#contact select.form-control-lg,
#contact textarea.form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    border-radius: 5px;
    padding: 12px 15px;
    transition: var(--transition);
}

#contact input.form-control::placeholder,
#contact textarea.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

#contact input.form-control:focus,
#contact select.form-control-lg:focus,
#contact textarea.form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
    color: var(--text-light);
}

#contact .form-select option {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

/* --- FOOTER --- */
footer {
    background-color: var(--dark-bg);
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 40px 0;
}

footer .fa-heart {
    color: var(--primary-color);
}

/* --- BUTTONS --- */
.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: #c09a2e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* --- BRAND LOGO HOVER EFFECT --- */
.brand-logo {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* --- FADE-IN ON SCROLL --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE FOR MOBILE DEVICES --- */

/* General mobile adjustments */
@media (max-width: 767.98px) {
    .hero h1 { 
        font-size: 2.5rem; 
    }
    .hero p { 
        font-size: 1rem; 
    }
    .stat-item h2 { 
        font-size: 2.5rem; 
    }
    .section-padding { 
        padding: 60px 0; 
    }
    .btn-primary {
        padding: 12px 30px;
        font-size: 0.95rem;
    }
}

/* Small mobile devices (e.g., iPhone SE) */
@media (max-width: 576px) {
    .hero {
        height: 90vh;
        min-height: 600px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 0.95rem;
        padding: 0 1rem;
    }
    .btn-primary {
        padding: 10px 24px;
        font-size: 0.95rem;
    }
    .section-padding {
        padding: 50px 0;
    }
}

/* Very small screens like 360x800 */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    .hero p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* --- SERVICE CARD HOVER EFFECT --- */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
}

.service-card .bg-white {
    transition: all 0.3s ease;
}

.service-card:hover .bg-white {
    background: var(--white);
}

/* Ensure consistent height and spacing */
.service-card h5,
.service-card p {
    transition: color 0.3s ease;
}

.service-card i {
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1);
}

/* --- ABOUT SECTION ANIMATIONS --- */

/* Fade & Slide In from Left */
.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 0.8s ease-out forwards;
}

/* Fade & Slide In from Right */
.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease-out forwards;
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Optional: Staggered delay helper */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
.delay-7 { animation-delay: 0.7s; }