/* ============================================
   BASKET CASES CUSTOM THEME
   Direct values for Experience Cloud compatibility
   ============================================ */

/* ============================================
   GLOBAL OVERRIDES
   ============================================ */

body {
    font-family: 'Open Sans', 'Segoe UI', sans-serif;
    color: #282411;
    background-color: #f8f4f0;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #282411;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

a {
    color: #cb8838;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #c05d2a;
}

/* ============================================
   BUTTONS
   ============================================ */

.slds-button {
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

.slds-button_brand {
    background: #cb8838;
    border: none;
    color: white;
    box-shadow: 0 2px 4px rgba(40, 36, 17, 0.1);
}

.slds-button_brand:hover {
    background: #c05d2a;
    box-shadow: 0 4px 12px rgba(40, 36, 17, 0.15);
    transform: translateY(-2px);
}

.slds-button_outline-brand {
    border: 2px solid #cb8838;
    color: #cb8838;
    background: transparent;
}

.slds-button_outline-brand:hover {
    background: #cb8838;
    color: white;
}

.slds-button_success {
    background: #818b5c;
    color: white;
}

.slds-button_neutral {
    background: #f8f4f0;
    border: 1px solid #282411;
    color: #282411;
}

.slds-button_neutral:hover {
    background: #282411;
    color: white;
}

/* ============================================
   CARDS
   ============================================ */

.slds-card {
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(40, 36, 17, 0.1);
    border: 1px solid rgba(40, 36, 17, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.slds-card:hover {
    box-shadow: 0 8px 24px rgba(40, 36, 17, 0.2);
    transform: translateY(-4px);
}

.slds-card__header {
    background: #f8f4f0;
    border-bottom: 2px solid #cb8838;
}

.slds-card__header-title {
    font-family: 'Playfair Display', Georgia, serif;
    color: #282411;
    font-weight: 600;
}

/* ============================================
   FORMS & INPUTS
   ============================================ */

.slds-input,
.slds-textarea,
.slds-select {
    border: 2px solid rgba(40, 36, 17, 0.2);
    border-radius: 8px;
    font-family: 'Open Sans', 'Segoe UI', sans-serif;
    transition: border-color 0.3s ease;
}

.slds-input:focus,
.slds-textarea:focus,
.slds-select:focus {
    border-color: #cb8838;
    box-shadow: 0 0 0 3px rgba(203, 136, 56, 0.1);
}

.slds-form-element__label {
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    color: #282411;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   HERO SECTIONS
   ============================================ */

.hero-section {
    background: #cb8838;
    color: white;
    padding: 3rem 1.5rem;
    text-align: center;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.hero-section h1,
.hero-section h2,
.hero-section p {
    color: white;
}

/* ============================================
   SPACING UTILITIES
   ============================================ */

.slds-p-top_xx-small { padding-top: 0.25rem; }
.slds-p-top_x-small { padding-top: 0.5rem; }
.slds-p-top_small { padding-top: 0.75rem; }
.slds-p-top_medium { padding-top: 1rem; }
.slds-p-top_large { padding-top: 1.5rem; }
.slds-p-top_x-large { padding-top: 2rem; }

.slds-p-bottom_xx-small { padding-bottom: 0.25rem; }
.slds-p-bottom_x-small { padding-bottom: 0.5rem; }
.slds-p-bottom_small { padding-bottom: 0.75rem; }
.slds-p-bottom_medium { padding-bottom: 1rem; }
.slds-p-bottom_large { padding-bottom: 1.5rem; }
.slds-p-bottom_x-large { padding-bottom: 2rem; }

.slds-m-top_xx-small { margin-top: 0.25rem; }
.slds-m-top_x-small { margin-top: 0.5rem; }
.slds-m-top_small { margin-top: 0.75rem; }
.slds-m-top_medium { margin-top: 1rem; }
.slds-m-top_large { margin-top: 1.5rem; }
.slds-m-top_x-large { margin-top: 2rem; }

.slds-m-bottom_xx-small { margin-bottom: 0.25rem; }
.slds-m-bottom_x-small { margin-bottom: 0.5rem; }
.slds-m-bottom_small { margin-bottom: 0.75rem; }
.slds-m-bottom_medium { margin-bottom: 1rem; }
.slds-m-bottom_large { margin-bottom: 1.5rem; }
.slds-m-bottom_x-large { margin-bottom: 2rem; }

/* ============================================
   COLOR UTILITIES
   ============================================ */

.text-primary { color: #cb8838; }
.text-secondary { color: #c05d2a; }
.text-accent { color: #818b5c; }
.text-dark { color: #282411; }

.bg-primary { background-color: #cb8838; }
.bg-secondary { background-color: #c05d2a; }
.bg-accent { background-color: #818b5c; }
.bg-light { background-color: #f8f4f0; }

/* ============================================
   SHADOW UTILITIES
   ============================================ */

.shadow-sm { box-shadow: 0 2px 4px rgba(40, 36, 17, 0.1); }
.shadow-md { box-shadow: 0 4px 12px rgba(40, 36, 17, 0.15); }
.shadow-lg { box-shadow: 0 8px 24px rgba(40, 36, 17, 0.2); }

/* ============================================
   BORDER RADIUS UTILITIES
   ============================================ */

.rounded { border-radius: 8px; }
.rounded-lg { border-radius: 12px; }
.rounded-full { border-radius: 9999px; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    .slds-card {
        margin-bottom: 1rem;
    }
    
    .hero-section {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    
    .slds-button {
        font-size: 0.8rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* ============================================
   COMPONENT-SPECIFIC OVERRIDES
   ============================================ */

/* Template Cards */
.template-card .slds-card {
    transition: all 0.3s ease;
}

.template-card:hover .slds-card {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(40, 36, 17, 0.2);
}

/* Product Cards */
.product-card .slds-card__header {
    background: white;
    border-bottom: none;
}

/* Navigation Enhancement */
.builder-navigation_item a {
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #282411;
}

.builder-navigation_item a:hover {
    color: #cb8838;
}

/* Icon Colors */
.slds-icon-text-success {
    fill: #818b5c;
}

.slds-icon-text-warning {
    fill: #cb8838;
}

.slds-icon-text-error {
    fill: #c05d2a;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.slds-button:focus,
.slds-input:focus,
.slds-textarea:focus {
    outline: 2px solid #cb8838;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .slds-card {
        border: 2px solid #282411;
    }
    
    .slds-button {
        border: 2px solid currentColor;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}