/* ===================================
   SECONDHAND ELECTRONICS STORE - MAIN CSS
   ================================== */

/* Color Palette */
:root {
    /* Primary Colors */
    --primary-dark-blue: #1a237e;
    --primary-purple: #6a1b9a;
    --primary-orange: #f57c00;
    --primary-green: #388e3c;
    --primary-red: #d32f2f;
    
    /* Light Shades */
    --light-blue: #3f51b5;
    --light-purple: #9c27b0;
    --light-orange: #ff9800;
    --light-green: #4caf50;
    --light-red: #f44336;
    
    /* Dark Shades */
    --dark-blue: #0d47a1;
    --dark-purple: #4a148c;
    --dark-orange: #e65100;
    --dark-green: #1b5e20;
    --dark-red: #b71c1c;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --gray: #9e9e9e;
    --dark-gray: #424242;
    --black: #212121;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-dark-blue), var(--primary-purple));
    --gradient-secondary: linear-gradient(135deg, var(--primary-orange), var(--primary-red));
    --gradient-accent: linear-gradient(135deg, var(--primary-green), var(--light-green));
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

h4 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Header Styles */
.navbar {
    background: var(--gradient-primary) !important;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem !important;
    font-weight: 700;
    color: var(--white) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--light-orange) !important;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../SOU_images/hero-bg.webp') center center/cover;
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

/* Section Styles */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-dark-blue);
}

.section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-purple);
    font-weight: 500;
}

.section-desc {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Cards */
.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid var(--light-gray);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.service-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-dark-blue);
    text-align: center;
}

.service-desc {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
    text-align: center;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    text-align: center;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--dark-gray);
    text-align: center;
    border-bottom: 1px solid var(--light-gray);
}

.service-features li:last-child {
    border-bottom: none;
}

/* Team Cards */
.team-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--primary-orange);
}

.team-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-dark-blue);
}

.team-role {
    font-size: 1rem;
    color: var(--primary-purple);
    font-weight: 500;
}

/* Reviews Slider */
.review-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    margin: 1rem;
}

.review-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
}

.review-author {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark-blue);
}

/* Contact Form */
.contact-form {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-control {
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 0.2rem rgba(245, 124, 0, 0.25);
}

.btn-primary {
    background: var(--gradient-secondary);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

/* FAQ Section */
.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-answer {
    padding: 1rem;
    color: var(--dark-gray);
    border-radius: 0 0 8px 8px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Footer */
.footer {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer p, .footer a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer a:hover {
    opacity: 1;
    color: var(--light-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
}

/* Breadcrumbs */
.breadcrumb-container {
    padding: 1rem 0;
    background: var(--light-gray);
}

.breadcrumb-img {
    max-height: 30px;
    width: auto;
}

/* Space Page */
#space {
    min-height: 70vh;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Additional Pages Sections */
.additional-section {
    padding: 3rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.additional-section:last-child {
    border-bottom: none;
}

.element-item {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.element-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-dark-blue);
}

.element-desc {
    font-size: 1rem;
    color: var(--dark-gray);
}

/* Utilities */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-secondary {
    background: var(--gradient-secondary);
}

.bg-gradient-accent {
    background: var(--gradient-accent);
}