:root {
    --primary: #27AE60;
    --primary-dark: #229954;
    --secondary: #E67E22;
    --dark-blue: #1A3A52;
    --dark-gray: #2C3E50;
    --light-gray: #ECF0F1;
    --border-gray: #BDC3C7;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--dark-gray);
    background-color: var(--white);
    line-height: 1.6;
}

a {
    color: var(--dark-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary);
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark-gray);
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: scale(1.03);
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #D35400;
    border-color: #D35400;
    transform: scale(1.03);
}

.btn-success {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: scale(1.03);
}

.btn-light {
    background-color: var(--light-gray);
    border-color: var(--border-gray);
    color: var(--dark-gray);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-light:hover {
    background-color: #D5DBDB;
    border-color: #BDC3C7;
    transform: scale(1.03);
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--dark-blue) !important;
}

.nav-link {
    color: var(--dark-gray) !important;
    margin-left: 1rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary) !important;
}

.hero-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 8rem 0;
    position: relative;
}

.hero-overlay {
    background: rgba(255, 255, 255, 0.95);
    padding: 4rem 0;
}

.hero-section h1 {
    font-size: 3rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.hero-section .lead {
    font-size: 1.3rem;
    color: var(--dark-gray);
}

.hero-section-small {
    padding: 3rem 0;
}

.hero-section-small h1 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.hero-section-small .lead {
    color: var(--dark-gray);
    margin-bottom: 0;
}

.checklist-item {
    background: var(--white);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.checklist-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.checklist-item h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.checklist-item p {
    color: var(--dark-gray);
    margin: 0;
    font-size: 0.95rem;
}

.field-explanation {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
}

.field-explanation:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: var(--white);
    border-color: var(--primary);
}

.field-explanation h4 {
    color: var(--dark-blue);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.field-explanation p {
    color: var(--dark-gray);
    margin: 0;
    font-size: 0.95rem;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.product-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transform: scale(1.03) translateY(-4px);
}

.product-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.product-card .card-body {
    padding: 1.5rem;
}

.product-card h5 {
    color: var(--dark-blue);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-card p {
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.product-card .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.product-specs {
    background: var(--light-gray);
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
}

.badge {
    background-color: var(--light-gray);
    color: var(--dark-blue);
    font-weight: 600;
    padding: 0.4rem 0.8rem;
}

.info-section {
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--white);
}

.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 58, 82, 0.85);
}

.info-section > .container {
    position: relative;
    z-index: 1;
}

.info-section h2 {
    color: var(--white);
    font-size: 2rem;
}

.info-section p {
    color: rgba(255,255,255,0.95);
    font-size: 1.1rem;
    line-height: 1.8;
}

.info-strip {
    background-color: var(--dark-blue);
    padding: 1rem 0;
}

.info-strip p {
    color: var(--white);
    margin: 0;
    font-size: 1rem;
}

.gallery-img {
    border-radius: 8px;
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
}

.gallery-img:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    transform: scale(1.02);
}

.qa-card {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
    transition: all 0.3s ease;
}

.qa-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: var(--white);
}

.qa-card h5 {
    color: var(--dark-blue);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.qa-card p {
    color: var(--dark-gray);
    margin: 0;
    font-size: 0.95rem;
}

.info-box {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 3px solid var(--primary);
    transition: all 0.3s ease;
}

.info-box:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: var(--white);
}

.info-box h5 {
    color: var(--dark-blue);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.info-box p {
    color: var(--dark-gray);
    margin: 0;
    font-size: 0.95rem;
}

.table {
    border-collapse: collapse;
}

.table thead th {
    background-color: var(--light-gray);
    border-color: var(--border-gray);
    color: var(--dark-blue);
    font-weight: 600;
    padding: 1rem;
    text-align: left;
}

.table tbody td {
    border-color: var(--border-gray);
    padding: 0.75rem 1rem;
    color: var(--dark-gray);
}

.table tbody tr:hover {
    background-color: var(--light-gray);
}

.table-bordered td, .table-bordered th {
    border-color: var(--border-gray);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(236, 240, 241, 0.5);
}

.bg-light {
    background-color: var(--light-gray) !important;
}

.border-bottom {
    border-bottom: 1px solid var(--border-gray) !important;
}

.border-top {
    border-top: 1px solid var(--border-gray) !important;
}

footer {
    margin-top: auto;
}

footer h5 {
    color: var(--dark-blue);
    font-size: 1.1rem;
}

footer ul a {
    color: var(--dark-gray);
    font-size: 0.95rem;
}

footer ul a:hover {
    color: var(--primary);
}

footer p {
    color: var(--dark-gray);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.cookie-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-banner p {
    color: var(--white);
    margin: 0;
    flex: 1;
}

.cookie-banner a {
    color: var(--secondary);
    text-decoration: underline;
}

.cookie-banner a:hover {
    color: #F39C12;
}

.cookie-banner .btn {
    white-space: nowrap;
}

.form-group label {
    color: var(--dark-gray);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-control {
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    padding: 0.75rem;
    color: var(--dark-gray);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(39, 174, 96, 0.25);
}

.custom-control-label {
    color: var(--dark-gray);
    font-weight: normal;
}

.alert-warning {
    background-color: #FEF5E7;
    border-color: #F9E79F;
    color: #7D6608;
}

.alert-info {
    background-color: #EBF5FB;
    border-color: #AED6F1;
    color: #0B5394;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hero-section {
        padding: 4rem 0;
    }

    .hero-overlay {
        padding: 2rem 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .cookie-banner .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner .btn {
        width: 100%;
    }

    .product-card img {
        height: 200px;
    }

    .table {
        font-size: 0.85rem;
    }

    .table thead th, .table tbody td {
        padding: 0.5rem;
    }
}
