/* Vibrant Home Decor Website CSS */

:root {
    --primary-color: #1E3A8A;
    --secondary-color: #14B8A6;
    --accent-color: #F97316;
    --warm-pink: #E11D48;
    --deep-teal: #0F766E;
    --rich-purple: #6D28D9;
    --sunset-orange: #FB923C;
    --forest-green: #16A34A;
    --royal-blue: #2563EB;
    --coral-red: #DC2626;
    --sunshine-yellow: #F59E0B;
    --lavender: #8B5CF6;
    
    /* Neutral Colors */
    --dark-color: #0B1220;
    --light-color: #F8FAFC;
    --text-color: #334155;
    --border-color: #E2E8F0;
    --shadow-color: rgba(15, 23, 42, 0.12);
    --neutral-dark: #0B1220;
    --neutral-light: #F1F5F9;
    --neutral-white: #FFFFFF;
    --navbar-height: 84px;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--royal-blue));
    --gradient-accent: linear-gradient(135deg, var(--secondary-color), var(--deep-teal));
    --gradient-warm: linear-gradient(135deg, var(--accent-color), var(--sunshine-yellow));
    --gradient-cool: linear-gradient(135deg, var(--rich-purple), var(--lavender));
    --gradient-rainbow: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--lavender));
    
    /* Fonts */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --font-accent: 'Lora', serif;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background: radial-gradient(1200px 800px at 10% 10%, rgba(20, 184, 166, 0.14), transparent 60%),
        radial-gradient(900px 700px at 90% 0%, rgba(37, 99, 235, 0.12), transparent 55%),
        radial-gradient(800px 700px at 70% 85%, rgba(249, 115, 22, 0.12), transparent 55%),
        linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 45%, #F1F5F9 100%);
    min-height: 100vh;
    padding-top: var(--navbar-height);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    background: rgba(248, 250, 252, 0.88);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow-color);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.navbar-brand:hover {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

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

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

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 22px rgba(30, 58, 138, 0.22);
}

.btn-primary:hover {
    background: var(--gradient-warm);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(249, 115, 22, 0.22);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
    border-color: transparent;
}

.btn-success {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

.btn-success:hover {
    background: var(--gradient-cool);
    transform: translateY(-2px);
    color: white;
}

/* Hero Section */
.hero,
.hero-section {
    background: radial-gradient(1100px 800px at 10% 5%, rgba(20, 184, 166, 0.16), transparent 55%),
        radial-gradient(900px 700px at 85% 0%, rgba(37, 99, 235, 0.14), transparent 55%),
        radial-gradient(850px 650px at 70% 90%, rgba(249, 115, 22, 0.12), transparent 55%);
    min-height: calc(100vh - var(--navbar-height));
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before,
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 480px at 15% 40%, rgba(109, 40, 217, 0.10), transparent 60%),
        radial-gradient(540px 420px at 85% 55%, rgba(20, 184, 166, 0.10), transparent 60%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.60) 0%, rgba(248, 250, 252, 0.35) 35%, rgba(241, 245, 249, 0.22) 100%);
    z-index: 1;
}

.hero .container,
.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.6rem, 4vw, 4rem);
    color: var(--dark-color);
    font-weight: 700;
    background: linear-gradient(135deg, var(--dark-color) 0%, rgba(30, 58, 138, 0.92) 45%, rgba(20, 184, 166, 0.92) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@keyframes colorShift {
    0% { background: var(--gradient-primary); }
    50% { background: var(--gradient-warm); }
    100% { background: var(--gradient-cool); }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-content {
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.10);
    padding: clamp(1.5rem, 2.4vw, 2.4rem);
}

.hero-image img {
    border-radius: 26px;
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.hero-buttons .btn-outline-light {
    border: 2px solid rgba(11, 18, 32, 0.16);
    color: var(--dark-color);
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
}

.hero-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(11, 18, 32, 0.22);
    color: var(--dark-color);
    transform: translateY(-2px);
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.05) rotate(1deg);
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.service-card:nth-child(1) .service-icon { background: var(--gradient-primary); }
.service-card:nth-child(2) .service-icon { background: var(--gradient-accent); }
.service-card:nth-child(3) .service-icon { background: var(--gradient-warm); }
.service-card:nth-child(4) .service-icon { background: var(--gradient-cool); }
.service-card:nth-child(5) .service-icon { background: linear-gradient(135deg, var(--rich-purple), var(--warm-pink)); }
.service-card:nth-child(6) .service-icon { background: linear-gradient(135deg, var(--coral-red), var(--sunset-orange)); }
.service-card:nth-child(7) .service-icon { background: linear-gradient(135deg, var(--sunshine-yellow), var(--secondary-color)); }
.service-card:nth-child(8) .service-icon { background: linear-gradient(135deg, var(--lavender), var(--royal-blue)); }

.service-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Service Hero */
.service-hero {
    background: radial-gradient(1000px 700px at 0% 0%, rgba(37, 99, 235, 0.12), transparent 55%),
        radial-gradient(900px 650px at 90% 15%, rgba(20, 184, 166, 0.12), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(241, 245, 249, 0.65) 100%);
    min-height: calc(92vh - var(--navbar-height));
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 480px at 75% 70%, rgba(249, 115, 22, 0.10), transparent 60%);
    z-index: 1;
}

.service-hero .container {
    position: relative;
    z-index: 2;
}

.service-icon-large {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: 0 10px 30px rgba(230, 126, 34, 0.3);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.service-title {
    font-size: 3.5rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.service-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.service-hero-content,
.about-content {
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.10);
    padding: clamp(1.5rem, 2.4vw, 2.4rem);
}

.about-hero,
.contact-hero {
    background: radial-gradient(900px 650px at 15% 0%, rgba(20, 184, 166, 0.14), transparent 55%),
        radial-gradient(900px 650px at 90% 0%, rgba(37, 99, 235, 0.12), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(241, 245, 249, 0.65) 100%);
    min-height: calc(70vh - var(--navbar-height));
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before,
.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(520px 420px at 70% 70%, rgba(249, 115, 22, 0.10), transparent 60%);
    z-index: 1;
}

.about-hero .container,
.contact-hero .container {
    position: relative;
    z-index: 2;
}

.bg-primary {
    background: var(--gradient-primary) !important;
}

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

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.feature-item i {
    color: var(--accent-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Benefit Cards */
.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow-color);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.benefit-card:hover::before {
    left: 100%;
}

.benefit-card:nth-child(1) { border-top-color: var(--primary-color); }
.benefit-card:nth-child(2) { border-top-color: var(--accent-color); }
.benefit-card:nth-child(3) { border-top-color: var(--warm-pink); }
.benefit-card:nth-child(4) { border-top-color: var(--deep-teal); }
.benefit-card:nth-child(5) { border-top-color: var(--rich-purple); }
.benefit-card:nth-child(6) { border-top-color: var(--coral-red); }

.benefit-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.benefit-card:nth-child(1) .benefit-icon { background: var(--gradient-primary); }
.benefit-card:nth-child(2) .benefit-icon { background: var(--gradient-accent); }
.benefit-card:nth-child(3) .benefit-icon { background: var(--gradient-warm); }
.benefit-card:nth-child(4) .benefit-icon { background: var(--gradient-cool); }
.benefit-card:nth-child(5) .benefit-icon { background: linear-gradient(135deg, var(--rich-purple), var(--warm-pink)); }
.benefit-card:nth-child(6) .benefit-icon { background: linear-gradient(135deg, var(--coral-red), var(--sunset-orange)); }

/* Process Steps */
.process-step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
    position: relative;
}

.process-step:nth-child(2) .step-number { background: var(--gradient-accent); }
.process-step:nth-child(3) .step-number { background: var(--gradient-warm); }
.process-step:nth-child(4) .step-number { background: var(--gradient-cool); }

/* Pricing Cards */
.pricing-card, .package-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured, .package-card.featured {
    transform: scale(1.05);
    border: 3px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.05), rgba(243, 156, 18, 0.05));
}

.pricing-card:hover, .package-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-badge, .package-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--gradient-primary);
    color: white;
    padding: 5px 40px;
    font-size: 0.9rem;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1rem 0;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px var(--shadow-color);
}

.form-control {
    border: 2px solid #E8E8E8;
    border-radius: 10px;
    padding: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(230, 126, 34, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* Newsletter */
.newsletter {
    background: var(--gradient-rainbow);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="80" r="2" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.1"/></svg>');
}

.newsletter .container {
    position: relative;
    z-index: 2;
}

.newsletter .form-control {
    border: none;
    border-radius: 50px 0 0 50px;
    padding: 15px 25px;
}

.newsletter .btn {
    border-radius: 0 50px 50px 0;
    padding: 15px 30px;
    background: white;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-rainbow);
}

.footer h5, .footer h6 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer a {
    color: #BDC3C7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
    color: white;
}

.social-links a:nth-child(1) { background: var(--gradient-primary); }
.social-links a:nth-child(2) { background: var(--gradient-warm); }
.social-links a:nth-child(3) { background: var(--gradient-accent); }
.social-links a:nth-child(4) { background: var(--gradient-cool); }

.social-links a:hover {
    transform: translateY(-3px) scale(1.1);
}

/* Custom Dropdown */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px var(--shadow-color);
    border-radius: 15px;
    padding: 1rem 0;
    background: white;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.dropdown-item:hover::before {
    width: 4px;
}

.dropdown-item:hover {
    background: linear-gradient(90deg, rgba(230, 126, 34, 0.1), transparent);
    color: var(--primary-color);
}

.dropdown-item.active {
    background: var(--gradient-primary);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .service-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .pricing-card.featured, .package-card.featured {
        transform: none;
        margin-top: 2rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Special Effects */
.rainbow-text {
    background: var(--gradient-rainbow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow {
    box-shadow: 0 0 20px rgba(230, 126, 34, 0.5);
}

.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}
