/* ===============================================
   ARTISAN PERFUMES - MAIN STYLES
   =============================================== */

/* CSS Custom Properties (Variables) */
:root {
    /* Primary Color Palette - Pastel High-Contrast */
    --primary-color: #7B68EE;          /* Medium Slate Blue */
    --secondary-color: #FFB6C1;        /* Light Pink */
    --accent-color: #98FB98;           /* Pale Green */
    --warm-color: #F0E68C;             /* Khaki */
    --neutral-color: #E6E6FA;          /* Lavender */
    
    /* Light Variations */
    --primary-light: #9B8FEE;
    --secondary-light: #FFD1DC;
    --accent-light: #B3FFB3;
    --warm-light: #F5F5DC;
    --neutral-light: #F0F0F8;
    
    /* Dark Variations */
    --primary-dark: #5B48CE;
    --secondary-dark: #FF91A1;
    --accent-dark: #7DDD7D;
    --warm-dark: #DAD165;
    --neutral-dark: #D1D1E6;
    
    /* Neutral Colors */
    --text-primary: #2C3E50;
    --text-secondary: #6C757D;
    --text-light: #ADB5BD;
    --white: #FFFFFF;
    --light-bg: #F8F9FA;
    --dark-bg: #212529;
    
    /* Typography */
    --font-size-base: 16px;
    --font-size-small: 14px;
    --font-size-large: 18px;
    --line-height-base: 1.6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Shadows */
    --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 10px 25px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===============================================
   GLOBAL STYLES
   =============================================== */

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-primary);
    background-color: var(--white);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Respect prefers-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;
    }
}

/* ===============================================
   TYPOGRAPHY
   =============================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

.lead {
    font-size: var(--font-size-large);
    font-weight: 300;
    color: var(--text-secondary);
}

/* Conservative font sizes for specific elements */
.navbar-brand {
    font-size: 1.5rem;
}

/* ===============================================
   HEADER STYLES
   =============================================== */

#header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition-medium);
    border-bottom: 1px solid rgba(123, 104, 238, 0.1);
}

#header .navbar-brand {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

#header .navbar-brand:hover {
    color: var(--primary-dark);
}

#header .nav-link {
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: var(--transition-fast);
    position: relative;
}

#header .nav-link:hover,
#header .nav-link.active {
    color: var(--primary-color);
}

#header .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-fast);
    transform: translateX(-50%);
}

#header .nav-link:hover::after,
#header .nav-link.active::after {
    width: 80%;
}

/* ===============================================
   HERO SECTION
   =============================================== */

#hero {
    background: linear-gradient(135deg, var(--neutral-light) 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(123, 104, 238, 0.1) 0%, transparent 70%);
    transform: rotate(-15deg);
}

#hero .container {
    position: relative;
    z-index: 2;
}

#hero h1 {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

#hero h2 {
    color: var(--text-secondary);
    font-weight: 400;
}

#hero .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-medium);
}

#hero .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ===============================================
   SECTION STYLES
   =============================================== */

section {
    padding: var(--spacing-xl) 0;
}

.bg-light {
    background-color: var(--light-bg);
}

/* ===============================================
   CARD STYLES
   =============================================== */

.card {
    border: none;
    border-radius: 15px;
    transition: var(--transition-medium);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
    transition: var(--transition-medium);
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-title {
    color: var(--primary-dark);
    font-weight: 600;
}

.card-text {
    color: var(--text-secondary);
}

/* ===============================================
   BUTTON STYLES
   =============================================== */

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition-medium);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition-medium);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* ===============================================
   SERVICES SECTION
   =============================================== */

#services .card {
    height: 100%;
    background-color: var(--white);
}

#services .card-body {
    padding: var(--spacing-md);
}

#services h5.text-primary {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

/* ===============================================
   FEATURES SECTION
   =============================================== */

#features i {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

#features h4 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
}

/* ===============================================
   PRICE PLAN SECTION
   =============================================== */

#priceplan .card {
    position: relative;
    background-color: var(--white);
}

#priceplan .border-primary {
    border: 2px solid var(--primary-color);
    position: relative;
}

#priceplan .border-primary::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

#priceplan h5.text-primary {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
}

/* ===============================================
   TEAM SECTION
   =============================================== */

#team .card-img-top {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid var(--neutral-color);
    margin: var(--spacing-sm) auto;
}

#team .card {
    background-color: transparent;
    text-align: center;
}

#team h4 {
    color: var(--primary-dark);
    margin-top: var(--spacing-sm);
}

/* ===============================================
   REVIEWS SECTION
   =============================================== */

#reviews .card {
    background-color: var(--white);
    border-left: 4px solid var(--primary-color);
}

#reviews .fas.fa-star {
    color: #FFC107;
}

#reviews .blockquote-footer {
    color: var(--text-light);
}

/* ===============================================
   GALLERY SECTION
   =============================================== */

#gallery img {
    border-radius: 15px;
    transition: var(--transition-medium);
    height: 300px;
    object-fit: cover;
    width: 100%;
}

#gallery a:hover img {
    transform: scale(1.05);
    box-shadow: var(--shadow-heavy);
}

/* ===============================================
   FAQ SECTION
   =============================================== */

#faq .card {
    background-color: var(--white);
    border-left: 3px solid var(--accent-color);
}

#faq .card-title {
    color: var(--primary-dark);
    font-size: 1.1rem;
}

#faq .card-text {
    color: var(--text-secondary);
}

/* ===============================================
   CONTACT SECTION
   =============================================== */

#contact i {
    color: var(--primary-color);
}

#contact .form-control {
    border: 2px solid var(--neutral-color);
    border-radius: 8px;
    padding: 0.75rem;
    transition: var(--transition-fast);
}

#contact .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(123, 104, 238, 0.25);
}

#contact .form-label {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* ===============================================
   FOOTER STYLES
   =============================================== */

#footer {
    background-color: var(--dark-bg);
    color: var(--white);
}

#footer h5 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

#footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
}

#footer a:hover {
    color: var(--white);
}

#footer .border-secondary {
    border-color: rgba(255, 255, 255, 0.2);
}

/* ===============================================
   TIMELINE STYLES (for additional pages)
   =============================================== */

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-lg);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    padding-right: var(--spacing-md);
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    padding-left: var(--spacing-md);
    text-align: left;
}

.timeline-content {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -20px;
    border-left-color: var(--white);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -20px;
    border-right-color: var(--white);
}

/* ===============================================
   BREADCRUMB STYLES
   =============================================== */

.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item img {
    filter: opacity(0.7);
    transition: var(--transition-fast);
}

.breadcrumb-item.active img {
    filter: opacity(1);
}

/* ===============================================
   UTILITY CLASSES
   =============================================== */

.text-primary {
    color: var(--primary-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.shadow-sm {
    box-shadow: var(--shadow-light);
}

.shadow {
    box-shadow: var(--shadow-medium);
}

.rounded {
    border-radius: 10px;
}

.rounded-circle {
    border-radius: 50%;
}

/* ===============================================
   ANIMATION OVERRIDES FOR SAL.JS
   =============================================== */

[data-sal] {
    transition-duration: 0.8s;
    transition-timing-function: ease-out;
}

/* Disable animations on mobile for performance */
@media (max-width: 768px) {
    @media (prefers-reduced-motion: no-preference) {
        [data-sal] {
            animation: none !important;
            opacity: 1 !important;
            transform: none !important;
        }
    }
} 


/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

.social-icons-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.instagram-link {
    background: #e4405f;
    border: 2px solid #e4405f;
}

.instagram-link:hover {
    background: #d62976;
    border-color: #d62976;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
