/* Custom CSS for Grill Grates Shop - Modern Clean Design */

:root {
    --primary-color: #F97316;       /* Orange accent */
    --primary-hover: #EA580C;       /* Darker orange for hover */
    --secondary-color: #7d8491;     /* Cool grey */
    --accent-color: #c7a882;        /* Warm beige */
    --success-color: #22c55e;
    --warning-color: #b8860b;
    --danger-color: #8b4c42;
    --dark-color: #1a1a2e;          /* Dark navy */
    --dark-secondary: #16162a;      /* Darker navy */
    --light-color: #fafafa;
    --section-bg: #f8f9fa;          /* Light gray section background */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --background-subtle: #f9fafb;
    --font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Helvetica Neue', sans-serif;
}

body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: var(--text-primary);
    font-weight: 400;
}

/* Hero Section - Modern Clean Style */
.hero-section {
    background: white;
    min-height: auto;
    padding: 80px 0;
    display: flex;
    align-items: center;
}

.hero-section .btn {
    border-radius: 6px;
    padding: 14px 28px;
    font-weight: 500;
    letter-spacing: -0.025em;
    font-size: 16px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

/* Text highlight classes */
.text-orange {
    color: var(--primary-color);
}

.text-highlight {
    color: var(--primary-color);
}

/* Product Cards - Minimal Design */
.product-card {
    transition: box-shadow 0.2s ease;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: white;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.product-card img {
    transition: none;
}

.category-card {
    transition: box-shadow 0.2s ease;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: white;
}

.category-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Rating Stars */
.rating .bi-star-fill,
.rating .bi-star {
    font-size: 0.9rem;
}

/* Buttons - Modern Style */
.btn {
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    font-size: 15px;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: white;
}

.btn-outline-primary {
    color: var(--text-primary);
    border-color: var(--border-color);
    background: white;
}

.btn-outline-primary:hover {
    background: var(--background-subtle);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.btn-outline-dark {
    color: var(--text-primary);
    border-color: var(--text-primary);
    background: transparent;
}

.btn-outline-dark:hover {
    background: var(--text-primary);
    color: white;
}

/* Navigation - Clean & Minimal */
.navbar {
    background: white !important;
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.navbar .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s ease;
}

.navbar .nav-link:hover {
    color: var(--text-primary);
}

.navbar .dropdown-menu {
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-radius: 8px;
}

/* Forms - Clean */
.form-control, .form-select {
    border-radius: 6px;
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    transition: border-color 0.2s ease;
    background: white;
    font-size: 15px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
    outline: none;
}

/* Cards - Clean Design */
.card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: none;
    transition: box-shadow 0.2s ease;
    background: white;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.card-header {
    background: var(--background-subtle);
    border-bottom: 1px solid var(--border-color);
    border-radius: 11px 11px 0 0 !important;
    font-weight: 600;
    font-size: 15px;
}

/* Alerts */
.alert {
    border: none;
    border-radius: 8px;
    font-weight: 500;
}

/* Badges */
.badge {
    border-radius: 6px;
    font-weight: 500;
    padding: 6px 12px;
}

/* Footer - Modern Dark */
footer {
    background: var(--dark-color) !important;
    border-top: none;
}

.footer-link {
    opacity: 0.7;
    transition: all 0.2s ease;
    font-size: 14px;
}

.footer-link:hover {
    opacity: 1;
    color: white !important;
}

/* Breadcrumb */
.breadcrumb {
    background: none;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    font-weight: bold;
    color: var(--secondary-color);
}

/* Product Images */
.thumbnail-img {
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.thumbnail-img:hover,
.thumbnail-img.active {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Tabs */
.nav-tabs {
    border-bottom: 2px solid #e9ecef;
}

.nav-tabs .nav-link {
    border: none;
    font-weight: 500;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    background: none;
}

.nav-tabs .nav-link:hover {
    color: var(--primary-color);
    border-color: transparent;
}

/* Pagination */
.pagination .page-link {
    border: none;
    color: var(--primary-color);
    border-radius: 8px;
    margin: 0 2px;
    transition: all 0.3s ease;
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Loading States */
.spinner-border {
    color: var(--primary-color);
}

/* Subtle Animations - Minimal */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* Section backgrounds */
.section-gray {
    background: var(--section-bg);
}

.section-dark {
    background: var(--dark-color);
    color: white;
}

/* How It Works Step Styling */
.step-container {
    position: relative;
    text-align: center;
}

.step-number {
    font-size: 6rem;
    font-weight: 700;
    color: #f3f4f6;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    line-height: 1;
}

.step-icon-modern {
    position: relative;
    z-index: 2;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.step-icon-modern i {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.step-connector {
    position: absolute;
    top: 32px;
    left: calc(50% + 40px);
    width: calc(100% - 80px);
    height: 1px;
    background: var(--border-color);
    z-index: 0;
}

/* Technical Specifications - Option Cards */
.option-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.option-card:hover {
    border-color: var(--primary-color);
}

.option-card.selected {
    border-color: var(--primary-color);
    background: rgba(249, 115, 22, 0.05);
}

.option-card .option-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.option-card .option-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Spacing Slider Section */
.spacing-section {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    background: white;
}

.spacing-slider {
    width: 100%;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    appearance: none;
    -webkit-appearance: none;
}

.spacing-slider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
}

/* Custom Build Example - Dark Section */
.build-example-section {
    background: var(--dark-color);
    border-radius: 12px;
    padding: 2.5rem;
    color: white;
}

.build-example-section .price-large {
    font-size: 3rem;
    font-weight: 700;
    color: white;
}

.build-example-section .price-unit {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.feature-check-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.feature-check-item i {
    color: var(--primary-color);
}

.spec-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1.5rem;
}

.spec-footer .spec-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.spec-footer .spec-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
}

/* Why Choose Custom - Feature Cards */
.feature-icon-box {
    width: 56px;
    height: 56px;
    background: rgba(249, 115, 22, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon-box i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* CTA Section - Dark */
.cta-section-dark {
    background: var(--dark-color);
    padding: 5rem 0;
}

.cta-section-dark h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
}

.cta-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-benefit i {
    color: var(--primary-color);
}

/* Designer Preview Mockup */
.designer-mockup {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.mockup-header {
    background: #f8f9fa;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dot.red { background: #ff5f57; }
.mockup-dot.yellow { background: #febc2e; }
.mockup-dot.green { background: #28c840; }

.mockup-content {
    display: flex;
}

.mockup-sidebar {
    width: 200px;
    padding: 1.5rem;
    border-right: 1px solid var(--border-color);
    background: white;
}

.mockup-preview {
    flex: 1;
    padding: 1.5rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4a 100%);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-3d-placeholder {
    width: 150px;
    height: 100px;
    background: linear-gradient(135deg, #444 0%, #666 100%);
    border-radius: 4px;
    position: relative;
    transform: perspective(500px) rotateX(20deg) rotateY(-10deg);
}

.mockup-input-group {
    margin-bottom: 1rem;
}

.mockup-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.mockup-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--background-subtle);
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.mockup-price {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.mockup-price-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.mockup-price-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Hero feature list */
.hero-feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.hero-feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.hero-feature-list li i {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 40px 0;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.8rem;
    }

    .step-connector {
        display: none;
    }

    .step-number {
        font-size: 4rem;
    }

    .cta-benefits {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .mockup-content {
        flex-direction: column;
    }

    .mockup-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .hero-feature-list {
        justify-content: center;
    }
}

/* Custom scrollbar - Minimal */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-subtle);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Price styling */
.price-section .h2 {
    color: var(--primary-color);
    font-weight: 700;
}

/* Stock status alerts */
.alert-success {
    background: rgba(34, 197, 94, 0.1);
    color: #166534;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    color: #664d03;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #842029;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

/* Utility classes - Clean */
.text-primary-accent {
    color: var(--primary-color);
}

.shadow-subtle {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* Cart badge */
.navbar .badge {
    font-size: 0.7rem;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color) !important;
}

/* Cart button styling */
.navbar .btn-outline-primary {
    border-color: var(--border-color);
    color: var(--text-primary);
}

.navbar .btn-outline-primary:hover {
    background: var(--background-subtle);
    border-color: var(--border-color);
    color: var(--text-primary);
}
