:root {
    /* Warm, neutral palette to match the collagen packaging */
    --primary-yellow: #CBB7A3;   /* beige / sand */
    --secondary-yellow: #A8927A; /* warm taupe */
    --dark-yellow: #6B5645;      /* mocha */
    --light-yellow: #F6F2EE;     /* milky background */

    --text-dark: #4A3B2E;        /* deep warm brown for headings/text */
    --text-light: #7A6A5A;       /* muted warm brown for secondary text */
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.advertisement-banner {
    background-color: var(--primary-yellow);
    text-align: center;
    padding: 5px 0;
    font-size: 12px;
    font-weight: bold;
    color: var(--text-dark);
}

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

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

.hero-section {
    background: linear-gradient(135deg, var(--light-yellow) 0%, #ffffff 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    color: var(--text-dark);
}

.hero-section .lead {
    color: var(--text-light);
    font-size: 1.1rem;
}

.book-cover {
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.book-cover:hover {
    transform: translateY(-10px);
}

.btn-primary {
    background-color: var(--secondary-yellow);
    border-color: var(--secondary-yellow);
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--dark-yellow);
    border-color: var(--dark-yellow);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.features-section {
    background-color: var(--light-yellow);
}

.feature-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

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

.feature-card h5 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.why-important-section {
    background: white;
}

.testimonial-card {
    background: var(--light-yellow);
    border-radius: 15px;
    border-left: 4px solid var(--secondary-yellow);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
}

.testimonial-card img {
    object-fit: cover;
}

.book-details-section {
    background-color: var(--light-yellow);
}

.book-specs li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 1.1rem;
}

.book-specs li:last-child {
    border-bottom: none;
}

.cta-section {
    background: linear-gradient(135deg, var(--secondary-yellow) 0%, var(--dark-yellow) 100%);
    color: white;
}

.cta-section h2,
.cta-section .lead {
    color: white;
}

.cta-section .btn-primary {
    background-color: white;
    color: var(--secondary-yellow);
    border-color: white;
}

.cta-section .btn-primary:hover {
    background-color: var(--light-yellow);
    color: var(--dark-yellow);
    border-color: var(--light-yellow);
}

.contact-form-section {
    background-color: var(--light-yellow);
}

.contact-form .form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--secondary-yellow);
    box-shadow: 0 0 0 0.2rem rgba(168, 146, 122, 0.25);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.footer {
    background-color: var(--dark-yellow) !important;
}

.footer h5 {
    color: var(--primary-yellow);
    margin-bottom: 20px;
}

.footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-yellow) !important;
}

.disclaimer {
    background-color: rgba(203, 183, 163, 0.18);
    padding: 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    border-left: 4px solid var(--primary-yellow);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-dark);
    color: white;
    padding: 15px 0;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner .btn {
    margin-left: 15px;
}

@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        min-height: auto;
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .book-cover {
        max-width: 300px;
        margin-top: 30px;
    }
    
    .feature-card {
        margin-bottom: 20px;
    }
    
    .cookie-banner .d-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner .btn {
        margin-left: 0;
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
    
    .btn-lg {
        padding: 10px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 313px){
    .book-cover{
        max-width: 150px;
    }
}

.thank-you-content {
    padding: 60px 0;
}

.thank-you-content svg {
    animation: checkmark 0.6s ease-in-out;
}

@keyframes checkmark {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.content-section {
    margin-bottom: 2rem;
}

.content-section h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-yellow);
}

.table th {
    background-color: var(--light-yellow);
    color: var(--text-dark);
    border-color: var(--primary-yellow);
}

.table-striped > tbody > tr:nth-of-type(odd) > td {
    background-color: rgba(203, 183, 163, 0.18);
}
