/* 
 * Chitrakala Interior - Main Stylesheet 
 * Premium Design System 
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    /* Premium Interior Design Color Palette - Deep Ocean Blue & Soft Gold Refinement */
    --color-primary: #002333;
    /* Deep Ocean Blue */
    --color-primary-dark: #00121a;
    --color-secondary: #d4af37;
    /* Satin Gold */
    --color-secondary-light: #f1e5ac;
    /* Champagne */
    --color-accent: #b48c36;
    /* Burnished Gold */

    --color-text-main: #1f2937;
    --color-text-light: #6b7280;
    --color-bg-light: #f9fafb;
    /* Soft Light Gray */
    --color-bg-white: #ffffff;

    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    --transition: all 0.3s ease;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-light);
    color: var(--color-text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button,
.btn {
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition);
    font-family: var(--font-body);
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--color-primary);
}

.text-secondary {
    color: var(--color-secondary);
}

.flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.grid {
    display: grid;
    gap: 20px;
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {

    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }
}

/* Typography */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
    /* Ensure title is readable */
}

.services-section {
    background-color: var(--color-bg-light);
    position: relative;
    z-index: 1;
}

.service-card {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-secondary-light);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

/* Premium Buttons */
.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    padding: 14px 32px;
    border-radius: 0;
    /* Sharp edges for luxury feel, or small radius */
    font-weight: 500;
    letter-spacing: 0.5px;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 12px 30px;
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: #fff;
}

/* Header & Navigation */
/* Offer Bar */
.offer-bar {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    text-align: center;
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    z-index: 1100;
}

.offer-bar a {
    color: var(--color-primary);
    text-decoration: underline;
    margin-left: 10px;
}

.offer-bar .close-offer {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.1rem;
    opacity: 0.7;
}

.offer-bar .close-offer:hover {
    opacity: 1;
}

.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.nav-logo h1 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--color-primary);
    font-weight: 700;
}

.nav-logo img {
    height: 65px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.nav-logo span {
    color: var(--color-secondary);
}

.nav-links ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--color-primary);
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-secondary);
    transition: var(--transition);
}

.nav-links a:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--color-primary);
    background: none;
}

/* Hide mobile menu buttons on desktop */
.mobile-menu-buttons {
    display: none;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        background: #fff;
        height: calc(100vh - 70px);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links ul {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* Cards */
.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom: 3px solid var(--color-secondary);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 85vh;
    min-height: 550px;
    overflow: hidden;
    background-color: #333;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slider .slide.active {
    opacity: 1;
    z-index: 2;
}

/* Slide Background Images */
.hero-slider .slide-1 {
    background-image: url('../images/hero-2.png');
}

.hero-slider .slide-2 {
    background-image: url('../images/hero-3.png');
}

.hero-slider .slide-3 {
    background-image: url('../images/hero-2.png');
}

.hero-slider .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.55));
    z-index: 3;
}

.hero-slider .hero-content {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: #fff;
}

.hero-slider .hero-content h1 {
    max-width: 900px;
    margin-bottom: 1rem;
}

.hero-slider .hero-content p {
    max-width: 700px;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 5;
}

.slider-prev,
.slider-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--color-secondary);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background: var(--color-secondary);
    transform: scale(1.2);
}

/* Legacy hero-wrapper (keep for fallback) */
.hero-wrapper {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background-color: #f0f0f0;
    /* Fallback */
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 600px;
}

.hero-content h1 {
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.main-footer {
    background-color: var(--color-primary-dark);
    color: #fff;
    padding: 4rem 0 1rem;
}

.footer-heading {
    color: var(--color-secondary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links li {
    list-style: none;
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ccc;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-secondary);
    padding-left: 5px;
}

.copyright {
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    margin-top: 3rem;
    padding-top: 1.5rem;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Form Elements (For later use) */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(15, 61, 62, 0.1);
}

/* Partners Section */
.partners-section {
    padding: 4rem 0;
    background: #fff;
    overflow: hidden;
    position: relative;
}

.partners-slider {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 4rem;
    padding: 2rem 0;
}

.partners-track {
    display: flex;
    gap: 4rem;
    animation: scroll 40s linear infinite;
    width: max-content;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partner-logo {
    width: 150px;
    height: 80px;
    /* Increased height for better visibility */
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
    flex-shrink: 0;
    padding: 10px;
    /* Add some breathing room */
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Pause animation on hover */
.partners-slider:hover .partners-track {
    animation-play-state: paused;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: var(--color-bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-primary);
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(212, 175, 55, 0.05);
}

.faq-question i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    max-height: 1000px;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 6rem 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
}

.why-choose-us .section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 4rem;
}

.why-choose-us .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-secondary);
    border-radius: 2px;
}

.wcu-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 1rem;
    text-align: center;
}

.wcu-item {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 1.5rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: var(--radius-md);
    position: relative;
}

.wcu-item:hover {
    transform: translateY(-10px);
}

.wcu-icon-wrapper {
    width: 90px;
    height: 90px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    z-index: 1;
}

.wcu-icon-wrapper::after {
    content: '';
    position: absolute;
    inset: -5px;
    border: 1px dashed var(--color-secondary-light);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
    transform: scale(0.8) rotate(0deg);
}

.wcu-item:hover .wcu-icon-wrapper {
    border-color: var(--color-secondary);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.15);
    transform: scale(1.05);
}

.wcu-icon-wrapper i {
    font-size: 2rem;
    transition: all 0.3s ease;
}

.wcu-item:hover i {
    transform: scale(1.1);
}

.wcu-item p {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.4;
    margin-top: 0;
    transition: all 0.3s ease;
    letter-spacing: -0.2px;
}

.wcu-item:hover p {
    color: var(--color-secondary);
}

@media (max-width: 1400px) {
    .wcu-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .wcu-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 576px) {
    .wcu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}