/* ======================================================================
   CandleCraft - Premium Handmade Candle Subscription Template
   Main CSS File - Bootstrap 5 Compatible
   ====================================================================== */

/* CSS Custom Properties (Root Variables) */
:root {
    /* Primary Color Palette - Pastel High Contrast */
    --primary-color: #8B4A9C;        /* Deep Purple */
    --secondary-color: #F4E4BC;      /* Warm Cream */
    --accent-color: #E8A87C;         /* Soft Peach */
    --success-color: #A8C090;        /* Sage Green */
    --warning-color: #F7DC6F;        /* Golden Yellow */
    
    /* Light/Dark Shades */
    --primary-light: #B47CB8;
    --primary-dark: #5D2A6B;
    --secondary-light: #F9F0D9;
    --secondary-dark: #E6D299;
    --accent-light: #F2C4A6;
    --accent-dark: #D4825A;
    
    /* Neutral Colors */
    --text-dark: #2C3E50;
    --text-light: #6C757D;
    --bg-light: #FDFCFA;
    --border-color: #E9ECEF;
    
    /* Typography */
    --font-family-base: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 1rem;
    --line-height-base: 1.6;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --element-margin: 1.5rem;
    
    /* Border Radius */
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    
    /* Shadows */
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/* Accessibility - Respect Reduced Motion */
@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: var(--font-family-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* Conservative Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
}

/* ======================================================================
   Header & Navigation
   ====================================================================== */

#header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.navbar-brand:hover,
.navbar-brand:focus {
    color: var(--primary-dark);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--primary-color);
}

/* ======================================================================
   Hero Section
   ====================================================================== */

#hero {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--accent-light) 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 40%;
    height: 200%;
    background: var(--primary-color);
    opacity: 0.05;
    border-radius: 50%;
    transform: rotate(15deg);
}

#hero .container {
    position: relative;
    z-index: 2;
}

#hero h1 {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

#hero h2 {
    color: var(--accent-dark);
    font-weight: 500;
}

#hero .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
}

#hero .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

#hero img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ======================================================================
   Section Styling
   ====================================================================== */

section {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--secondary-light);
}

/* About Section */
#about .fas {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

#about h4 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

/* ======================================================================
   Services Section
   ====================================================================== */

#services .card {
    border: none;
    border-radius: var(--border-radius-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    overflow: hidden;
}

#services .card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

#services .card-img-top {
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
}

#services .card-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

#services .card-text {
    color: var(--text-light);
    font-size: 0.95rem;
}

#services .list-unstyled li {
    padding: 0.25rem 0;
    font-size: 0.9rem;
}

#services .text-success {
    color: var(--success-color);
}

#services .text-primary {
    color: var(--primary-color);
}

/* ======================================================================
   Features Section
   ====================================================================== */

#features .fas {
    color: var(--primary-color);
    margin-right: 1rem;
}

#features h4 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

#features p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ======================================================================
   Price Plan Section
   ====================================================================== */

#priceplan .card {
    border: 2px solid transparent;
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
}

#priceplan .card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

#priceplan .border-primary {
    border-color: var(--primary-color);
}

#priceplan .bg-primary {
    background-color: var(--primary-color);
}

#priceplan .text-primary {
    color: var(--primary-color);
}

#priceplan .display-4 {
    font-weight: 700;
}

#priceplan .badge {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-lg);
}

/* ======================================================================
   Team Section
   ====================================================================== */

#team img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid var(--secondary-color);
    transition: transform 0.3s ease;
}

#team img:hover {
    transform: scale(1.05);
}

#team h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

#team .text-muted {
    color: var(--text-light);
}

/* ======================================================================
   Reviews Section
   ====================================================================== */

#reviews .card {
    border: none;
    border-radius: var(--border-radius-md);
    background-color: #fff;
    transition: transform 0.3s ease;
}

#reviews .card:hover {
    transform: translateY(-3px);
}

#reviews .text-warning {
    color: var(--warning-color);
}

#reviews .card-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

#reviews .blockquote-footer {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ======================================================================
   Gallery Section
   ====================================================================== */

#gallery img {
    border-radius: var(--border-radius-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

#gallery img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

/* ======================================================================
   FAQ Section
   ====================================================================== */

#faq .card {
    border: none;
    border-radius: var(--border-radius-md);
    background-color: #fff;
    margin-bottom: 1rem;
}

#faq .card-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

#faq .card-text {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ======================================================================
   Contact Section
   ====================================================================== */

#contacts .form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

#contacts .form-control {
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--border-color);
    padding: 0.75rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contacts .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 74, 156, 0.25);
}

#contacts .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
}

#contacts .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

#contacts .fas {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ======================================================================
   Footer
   ====================================================================== */

#footer {
    background-color: var(--text-dark);
    color: #fff;
}

#footer h5 {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

#footer p,
#footer .text-light {
    color: #adb5bd;
}

#footer a.text-light {
    transition: color 0.3s ease;
}

#footer a.text-light:hover {
    color: var(--secondary-color);
}

#footer hr {
    border-color: #495057;
}

#footer .small {
    font-size: 0.875rem;
}

/* ======================================================================
   Utility Classes
   ====================================================================== */

.shadow-custom {
    box-shadow: var(--shadow-md);
}

.border-radius-custom {
    border-radius: var(--border-radius-lg);
}

.text-primary-custom {
    color: var(--primary-color);
}

.bg-primary-custom {
    background-color: var(--primary-color);
}

.bg-secondary-custom {
    background-color: var(--secondary-color);
}

/* ======================================================================
   Animation Disabled - SAL.js Completely Removed
   Force Element Visibility
   ====================================================================== */

/* Global animation disabling with !important for all elements */
* {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    visibility: visible !important;
    animation-duration: 0s !important;
    transition-duration: 0s !important;
}

/* Specifically disable any remaining SAL attributes */
[data-sal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

/* Ensure all content is immediately visible */
.card, .section, .col-md-6, .col-lg-3, .col-lg-4 {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    display: block !important;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    * {
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* ======================================================================
   Print Styles
   ====================================================================== */

@media print {
    #header,
    #footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: #000;
    }
    
    .bg-light,
    .bg-dark {
        background-color: transparent;
    }
} 


/* Team Social Links - Neon Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.social-icons-grid {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    border: 2px solid;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 0.7;
}

.social-link:hover {
    transform: scale(1.1);
    text-shadow: 0 0 20px currentColor;
    box-shadow: 0 0 20px currentColor;
}

.facebook-link {
    border-color: #1877f2;
    color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

.linkedin-link {
    border-color: #0a66c2;
    color: #0a66c2;
    background: rgba(10, 102, 194, 0.1);
}

.instagram-link {
    border-color: #e4405f;
    color: #e4405f;
    background: rgba(228, 64, 95, 0.1);
}

.x-link {
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 22px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
