﻿/* ========================================
   LUXUS Interior Design - Premium Styles
   ======================================== */

/* Design System - Color Palette */
:root {
    /* Primary Colors - Deep Graphite */
    --primary-color: #2a3138;
    --primary-dark: #151a1f;
    --primary-light: #3b4652;
    
    /* Secondary Colors - Cool Gray Scale */
    --secondary-color: #d7dde4;
    --accent-gold: #bcc5d0;
    --accent-cream: #12161d;
    
    /* Neutral Colors */
    --text-dark: #f4f6f8;
    --text-medium: #d9dee3;
    --text-light: #adb6bf;
    --bg-light: #0f1319;
    --bg-white: #171d24;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.18);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Typography */
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --font-serif: 'Source Serif 4', serif;
}

/* ========================================
   Typography Enhancements
   ======================================== */
.section-title {
    position: relative;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.section-subtitle {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--text-medium);
    text-align: center;
    margin-top: -2rem;
    margin-bottom: 3rem;
    font-style: italic;
}

/* ========================================
   Hero Section Enhancements
   ======================================== */
.hero-section {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(40, 40, 41, 0.82), rgba(81, 93, 105, 0.68));
    z-index: 1;
}

.hero-section::after {
    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 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.3rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    opacity: 0.95;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Button Styles
   ======================================== */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::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-primary-custom:hover::before {
    left: 100%;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.btn-secondary-custom {
    background: linear-gradient(135deg, var(--secondary-color), #5c6775);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.btn-secondary-custom:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   Project Cards - Premium Design
   ======================================== */
.project-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
    background: #282829;
    height: 100%;
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, transparent, rgba(81, 93, 105, 0.45));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(81, 93, 105, 0.2), 0 10px 20px rgba(0, 0, 0, 0.25);
}

.project-card .card-img-top {
    height: 300px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover .card-img-top {
    transform: scale(1.15);
}

.project-card-body {
    padding: 1.75rem;
    background: #282829;
}

.project-card-image {
    position: relative;
    overflow: hidden;
    height: 300px;
    background: #f8f9fa;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-card-image img {
    transform: scale(1.15) rotate(1deg);
}

.project-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(81, 93, 105, 0.95) 0%, rgba(40, 40, 41, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.project-card:hover .project-card-overlay {
    opacity: 1;
}

.project-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.5rem 1rem;
    background: var(--secondary-color);
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 10;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.project-badge.featured {
    background: linear-gradient(135deg, #d9dee4 0%, #a9b3bf 100%);
    color: #000;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(217, 222, 228, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(217, 222, 228, 0.6);
    }
}

.project-badge.status {
    top: 15px;
    left: 15px;
    right: auto;
    font-size: 0.8rem;
}

.project-badge.status-secondary {
    background: #6c757d;
}

.project-badge.status-info {
    background: #0dcaf0;
}

.project-badge.status-success {
    background: #198754;
}

.project-category {
    font-size: 0.85rem;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
}

.project-category i {
    margin-right: 0.4rem;
    font-size: 0.75rem;
}

.project-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    line-height: 1.3;
    min-height: 3.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-title a {
    color: #fff;
    text-decoration: none;
    transition: color var(--transition-fast);
    -webkit-text-fill-color: #fff;
}

.project-title a:hover {
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.project-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.4rem;
}

.project-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.project-meta span {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

.project-meta i {
    margin-right: 0.4rem;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* ========================================
   Category Cards
   ======================================== */
.category-card {
    position: relative;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.category-card:hover img {
    transform: scale(1.15);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.6), transparent);
    color: white;
    transition: all var(--transition-base);
}

.category-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

/* ========================================
   Service/Value Cards
   ======================================== */
.value-card {
    background: #1f2022;
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    height: 100%;
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-gold), var(--secondary-color));
    border-radius: 50%;
    font-size: 2rem;
    color: #000;
    box-shadow: var(--shadow-md);
}

.value-card h5 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* ========================================
   Image Gallery & Lightbox
   ======================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all var(--transition-base);
}

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

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(79, 89, 101, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.gallery-overlay i {
    color: white;
    font-size: 2.5rem;
}

/* ========================================
   Contact Form Styling
   ======================================== */
.contact-form {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.form-control,
.form-select {
    border: 2px solid #E8E4DD;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(122, 135, 150, 0.15);
}

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

/* ========================================
   Info Cards
   ======================================== */
.info-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: all var(--transition-base);
    border-left: 4px solid var(--secondary-color);
}

.info-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-gold), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* ========================================
   Timeline (for About page)
   ======================================== */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent-gold), var(--secondary-color));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    width: 45%;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border: 4px solid white;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: var(--shadow-md);
}

/* ========================================
   Testimonial/Review Cards
   ======================================== */
.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    height: 100%;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 6rem;
    font-family: Georgia, serif;
    color: var(--accent-gold);
    opacity: 0.3;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-gold);
}

/* ========================================
   Stats/Numbers Section
   ======================================== */
.stats-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

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

.stats-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stats-label {
    color: var(--text-medium);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* ========================================
   Filter Buttons
   ======================================== */
.filter-btn {
    border: 2px solid var(--primary-light);
    color: var(--primary-color);
    background: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ========================================
   Breadcrumb Styling
   ======================================== */
.breadcrumb-custom {
    background: transparent;
    padding: 1rem 0;
}

.breadcrumb-custom .breadcrumb-item {
    color: var(--text-medium);
}

.breadcrumb-custom .breadcrumb-item.active {
    color: var(--text-dark);
    font-weight: 600;
}

.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    color: var(--text-light);
}

/* ========================================
   Loading Animation
   ======================================== */
.loading-spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 4px solid var(--accent-gold);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }
    
    .timeline-dot {
        left: 30px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .category-card {
        height: 280px;
    }
    
    .project-card .card-img-top,
    .project-card-image {
        height: 220px;
    }
    
    .project-title {
        font-size: 1.1rem;
    }
    
    .project-meta {
        font-size: 0.8rem;
        gap: 0.5rem;
    }
    
    .project-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-primary-custom {
    color: var(--text-dark) !important;
}

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

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

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #5c6775) !important;
}

.border-gold {
    border-color: var(--secondary-color) !important;
}

.shadow-custom {
    box-shadow: var(--shadow-md) !important;
}

.hover-lift {
    transition: transform var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

