/* 3D Ornament Studio - Main Styles */

/* CSS Variables - Color Palette */
:root {
    /* Primary Colors */
    --primary-color: #6366f1;
    --primary-light: #a5b4fc;
    --primary-dark: #4338ca;
    
    --secondary-color: #64748b;
    --secondary-light: #94a3b8;
    --secondary-dark: #475569;
    
    --accent-color: #f97316;
    --accent-light: #fb923c;
    --accent-dark: #ea580c;
    
    --success-color: #10b981;
    --success-light: #34d399;
    --success-dark: #059669;
    
    --neutral-color: #f8fafc;
    --neutral-light: #ffffff;
    --neutral-dark: #e2e8f0;
    
    /* Text Colors */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 1.5rem;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, 
    *::before, 
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Global Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--neutral-light);
    padding-top: 76px;
    overflow-x: hidden;
}

/* Typography */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.display-4 {
    font-size: 2.5rem;
    font-weight: 700;
}

.h2 {
    font-size: 2rem;
}

.h3, .h4 {
    font-size: 1.5rem;
}

.h5 {
    font-size: 1.25rem;
}

.lead {
    font-size: 1.1rem;
    font-weight: 400;
}

/* Header Styles */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary) !important;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--neutral-color) 0%, var(--neutral-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::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"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%236366f1" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: var(--gradient-primary);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.1;
}

.hero-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Button Styles */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-dark);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Feature Cards */
.feature-card {
    background: var(--neutral-light);
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid var(--neutral-dark);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    border-radius: 16px;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card .card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .card-img-top {
    transform: scale(1.05);
}

.price-tag {
    background: var(--gradient-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

/* Feature Items */
.feature-item {
    transition: all 0.3s ease;
    border-radius: 12px;
}

.feature-item:hover {
    background: var(--neutral-color);
    transform: translateY(-4px);
}

.feature-icon {
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

/* Price Cards */
.price-card {
    transition: all 0.3s ease;
    border-radius: 16px;
    position: relative;
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.price-card.border-primary {
    border: 2px solid var(--primary-color) !important;
}

.price-display {
    background: var(--gradient-primary);
    color: white;
    padding: 16px;
    border-radius: 12px;
    margin: 0 -1rem;
}

/* Team Section */
.team-member {
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-4px);
}

.member-photo {
    position: relative;
    display: inline-block;
}

.member-photo::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    background: var(--gradient-primary);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

.team-member:hover .member-photo::before {
    opacity: 0.3;
}

/* Review Cards */
.review-card {
    transition: all 0.3s ease;
    border-radius: 16px;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stars {
    margin-bottom: 1rem;
}

/* Gallery */
.gallery img {
    transition: all 0.3s ease;
    border-radius: 12px;
}

.gallery img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* FAQ Cards */
.faq-card {
    transition: all 0.3s ease;
    border-radius: 12px;
}

.faq-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Contact Form */
.contact-form .form-control {
    border: 2px solid var(--neutral-dark);
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

.contact-info .info-item {
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 12px;
}

.contact-info .info-item:hover {
    background: var(--neutral-color);
    transform: translateX(8px);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-light) !important;
}

/* Breadcrumb */
.breadcrumb-section {
    padding: 1rem 0;
    border-bottom: 1px solid var(--neutral-dark);
}

/* Timeline */
.timeline-item {
    position: relative;
}

.timeline-content {
    background: var(--neutral-light);
    border: 1px solid var(--neutral-dark);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.timeline-year {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Process Steps */
.process-step {
    position: relative;
}

.step-number {
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

/* Career Cards */
.career-card {
    transition: all 0.3s ease;
    border-radius: 12px;
}

.career-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Blog Cards */
.blog-card {
    transition: all 0.3s ease;
    border-radius: 16px;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .card-img-top {
    transform: scale(1.05);
}

/* Core Info Cards */
.info-card {
    transition: all 0.3s ease;
    border-radius: 12px;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

/* Care Cards */
.care-card {
    transition: all 0.3s ease;
    border-radius: 12px;
}

.care-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Support Items */
.support-item {
    transition: all 0.3s ease;
    padding: 2rem 1rem;
    border-radius: 12px;
}

.support-item:hover {
    background: var(--neutral-color);
    transform: translateY(-4px);
}

/* Installation Steps */
.install-step {
    transition: all 0.3s ease;
}

.install-step:hover {
    transform: translateY(-4px);
}

.step-icon {
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.install-step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* Case Study Cards */
.case-study-card {
    transition: all 0.3s ease;
    border-radius: 16px;
    overflow: hidden;
}

.case-study-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.case-study-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-study-card:hover .card-img-top {
    transform: scale(1.05);
}

/* Utility Classes */
.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-accent {
    background: var(--gradient-accent);
}

.shadow-custom {
    box-shadow: var(--shadow-lg);
}

.border-radius-lg {
    border-radius: 16px;
}

.border-radius-xl {
    border-radius: 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Focus States */
.btn:focus,
.form-control:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Section Spacing */
section {
    padding: var(--section-padding);
}

.py-5 {
    padding: 3rem 0;
}

/* Container Responsive */
.container {
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
} 

.hero-section h1 {
    padding-top: 275px;
}


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.instagram-link {
    background: linear-gradient(45deg, #e4405f, #f77737, #fcaf45, #ffdc80);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
