/* ========================================
   CSS Variables
======================================== */
:root {
    --primary-color: #e28336;
    --primary-dark: #112d8a;
    --primary-light: #3b82f6;
    --secondary-color: #64748b;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* ========================================
   Global Styles
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    transition: var(--transition);
}

/* ========================================
   Navigation Styles
======================================== */
.navbar {
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    position: relative;
    color: var(--text-dark) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-link.active {
    color: var(--primary-color) !important;
}

/* ========================================
   Hero Carousel Styles
======================================== */
.hero-slide {
    height: 600px;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-slide-1 {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1586023492125-27b2c045efd7?w=1200');
}

.hero-slide-2 {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1555041469-a586c61ea9bc?w=1200');
}

.hero-slide-3 {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1518455027359-f3f8164ba6bd?w=1200');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(37, 99, 235, 0.8);
    border-radius: 50%;
    padding: 1.5rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

/* ========================================
   Category Card Styles
======================================== */
.category-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.category-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.category-living {
    background-image: url('https://images.unsplash.com/photo-1555041469-a586c61ea9bc?w=600');
}

.category-bedroom {
    background-image: url('https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?w=600');
}

.category-office {
    background-image: url('https://images.unsplash.com/photo-1518455027359-f3f8164ba6bd?w=600');
}

.category-content {
    padding: 2rem;
    text-align: center;
}

/* ========================================
   Product Card Styles
======================================== */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.btn-quick-view {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.product-card:hover .btn-quick-view {
    bottom: 15px;
    opacity: 1;
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* ========================================
   Team Card Styles
======================================== */
.team-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-card:hover {
    box-shadow: var(--shadow-lg);
}

.team-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
}

.team-image::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 30px;
    background: white;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.team-info {
    padding: 2rem;
    text-align: center;
}

/* ========================================
   Leader Card Styles
======================================== */
.leader-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.leader-card:hover {
    box-shadow: var(--shadow-lg);
}

.leader-image-large {
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
}

.leader-image-large::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 40px;
    background: white;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.leader-content {
    padding: 2rem;
}

/* ========================================
   GST Certificate Styles
======================================== */
.gst-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    padding: 1rem;
}

.gst-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gst-card img {
    border-radius: 8px;
}

.gst-card-large {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
}

.gst-card-large:hover {
    box-shadow: var(--shadow-lg);
}

.gst-card-large img {
    width: 100%;
    transition: var(--transition);
}

.gst-card-large:hover img {
    transform: scale(1.05);
}

.gst-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gst-card-large:hover .gst-overlay {
    opacity: 1;
}

/* ========================================
   Testimonial Styles
======================================== */
.testimonial-card {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.stars i {
    font-size: 1.5rem;
}

/* ========================================
   Value & Feature Styles
======================================== */
.value-card,
.feature-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    height: 100%;
}

.value-card:hover,
.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon,
.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

/* ========================================
   Page Header Styles
======================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 5rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="rgba(255,255,255,0.05)"/><path d="M0 0L100 100M100 0L0 100" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>');
    opacity: 0.5;
}

/* ========================================
   Floating Action Buttons
======================================== */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}

.float-btn:hover {
    transform: scale(1.1);
    color: white;
}

.float-whatsapp {
    background: #25D366;
}

.float-sms {
    background: #0088cc;
}

.float-call {
    background: var(--primary-color);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ========================================
   Gallery Styles
======================================== */
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    height: 300px;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: white;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.gallery-item {
    transition: var(--transition);
}

.gallery-item.hidden {
    display: none;
}

/* ========================================
   Contact Page Styles
======================================== */
.contact-info-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.map-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
}

.quick-contact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    display: block;
    color: var(--text-dark);
}

.quick-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.quick-contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

/* ========================================
   About Page Styles
======================================== */
.about-image-grid img {
    width: 100%;
    object-fit: cover;
}

.stat-box {
    padding: 2rem;
}

/* ========================================
   Animation Styles
======================================== */
.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Footer Styles
======================================== */
footer {
    margin-top: auto;
}

.social-links a {
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

/* ========================================
   Button Styles
======================================== */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* ========================================
   Filter Buttons
======================================== */
.category-filter,
.gallery-filter {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.category-filter.active,
.gallery-filter.active {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
}

/* ========================================
   Responsive Styles
======================================== */
@media (max-width: 992px) {
    .hero-slide {
        height: 500px;
    }
    
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero-slide {
        height: 400px;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.8rem;
    }
    
    .page-header {
        padding: 3rem 0 2rem;
    }
    
    .floating-buttons {
        gap: 10px;
    }
    
    .product-image,
    .gallery-card {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .hero-slide {
        height: 350px;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .contact-form-wrapper,
    .map-wrapper,
    .contact-info-card {
        padding: 1.5rem;
    }
    
    .value-card,
    .feature-box,
    .quick-contact-card {
        padding: 1.5rem;
    }
}

/* ========================================
   Utility Classes
======================================== */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.shadow-sm {
    box-shadow: var(--shadow) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

/* ========================================
   Loading & Transitions
======================================== */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* ========================================
   Scrollbar Styles
======================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}