/* Stuart Long Prints Custom Styles */

:root {
    --primary-color: #2563eb;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(20, 184, 166, 0.8), rgba(59, 130, 246, 0.8), rgba(147, 51, 234, 0.8));
    mix-blend-mode: multiply;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.6), rgba(239, 68, 68, 0.4), rgba(168, 85, 247, 0.6));
    mix-blend-mode: overlay;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 2rem 0;
}

.hero-logo {
    max-height: 120px;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Picture Frame Slider */
.picture-frame-container {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.slider {
    width: 25em;
    height: 18em;
    margin: 0 auto;
    position: relative;
    list-style: none;
    padding: 0;
    background: #333;
    box-shadow: 0 0 0 .75em #333, 0 0 0 1em #ccc, 0 0 0 1.25em #333, 0 .5em 1em rgba(0,0,0,.5);
}

.slider input {
    display: none;
}

/* Navigation */
.slider label {
    background-color: #fff;
    border: .2em solid #333;
    bottom: -1.5em;
    border-radius: 100%;
    cursor: pointer;
    display: block;
    height: .8em;
    left: 50%;
    opacity: 0;
    position: absolute;
    transition: .25s;
    width: .8em;
    visibility: hidden;
    z-index: 10;
    transform: translateX(-50%);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.slider label:after {
    border-radius: 100%;
    content: '';
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.slider:hover label {
    opacity: 1;
    visibility: visible;
}

.slider input:checked + label {
    background-color: #333;
    border-color: #fff;
}

.slider:hover li:nth-child(1) label {
    left: calc(50% - 3em);
}

.slider:hover li:nth-child(2) label {
    left: calc(50% - 1em);
}

.slider:hover li:nth-child(3) label {
    left: calc(50% + 1em);
}

.slider:hover li:nth-child(4) label {
    left: calc(50% + 3em);
}

/* Images */
.slider img {
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    transition: .25s;
    width: 100%;
    object-fit: cover;
}

.slider input:checked + label + img {
    opacity: 1;
}

/* Product Cards */
.product-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.product-rating {
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.size-selector {
    margin-bottom: 1rem;
}

.size-option {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    margin: 0.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.size-option:hover,
.size-option.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Category Filters */
.category-filters {
    margin-bottom: 2rem;
}

.filter-btn {
    margin: 0.25rem;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* About Section */
.about-section {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Cart */
.cart-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 0;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-summary {
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .slider {
        width: 20em;
        height: 14em;
    }
    
    .hero-logo {
        max-height: 80px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .slider {
        width: 18em;
        height: 12em;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success/Error Messages */
.alert {
    border-radius: 10px;
    border: none;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
}

.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

