/**
 * Main stylesheet for BofkontNU.nl
 * Warm, playful mama blog aesthetic matching Bofkont Facebook page
 */

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Bofkont Brand Colors */
    --color-primary: #D66B66; /* Salmon pink */
    --color-primary-light: #E88A85;
    --color-primary-dark: #C9787A;
    --color-pink-light: #FFE5E5;
    --color-mint: #A8DCD1;
    --color-baby-blue: #B8D4E8;
    --color-cream: #FFF8F0;
    --color-grey-soft: #E8E8E8;
    --color-text-dark: #5A5A5A;
    --color-white: #FFFFFF;
    
    /* Shadows with pink tint */
    --shadow-soft: 0 4px 20px rgba(214, 107, 102, 0.15);
    --shadow-button: 0 4px 15px rgba(214, 107, 102, 0.3);
    --shadow-hover: 0 6px 20px rgba(214, 107, 102, 0.4);
    --shadow-card-hover: 0 8px 30px rgba(214, 107, 102, 0.15);
}

/* ===== BODY & TYPOGRAPHY ===== */
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text-dark);
    background: linear-gradient(135deg, #FFF8F0 0%, #FFE5E5 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.75rem; font-weight: 600; }
h4 { font-size: 1.5rem; font-weight: 600; }
h5 { font-size: 1.25rem; font-weight: 600; }
h6 { font-size: 1.1rem; font-weight: 600; }

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.site-header {
    background: rgba(255, 248, 240, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(214, 107, 102, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 45px;
    width: auto;
    border-radius: 15px;
}

.logo-text {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-text:hover {
    transform: scale(1.05);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: var(--color-pink-light);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    color: var(--color-text-dark);
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    color: var(--color-primary);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--color-primary);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, #FFE5E5 0%, #FFF8F0 100%);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(214, 107, 102, 0.03) 20px,
        rgba(214, 107, 102, 0.03) 40px
    );
    pointer-events: none;
}

.hero-section h1 {
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--color-text-dark);
    position: relative;
    z-index: 1;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-primary);
    position: relative;
}

.section-title::after {
    content: '✨';
    display: block;
    margin-top: 0.5rem;
    font-size: 1.5rem;
}

/* ===== DEALS GRID ===== */
.deals-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 4rem;
}

.deal-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 0;
    box-shadow: var(--shadow-soft);
    border: 3px solid var(--color-pink-light);
    transition: all 0.3s ease;
    overflow: hidden;
}

.deal-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--color-primary);
}

.deal-link {
    display: block;
    color: inherit;
}

.deal-image {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
    background: var(--color-pink-light);
}

.deal-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.deal-price-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-white);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: var(--shadow-button);
}

.deal-content {
    padding: 20px;
}

.deal-category {
    display: inline-block;
    background: var(--color-mint);
    color: var(--color-text-dark);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.deal-title {
    font-size: 1.3rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-text-dark);
    line-height: 1.4;
}

.deal-excerpt {
    color: var(--color-text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* ===== CATEGORIES GRID ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-bottom: 4rem;
}

.category-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 3px solid var(--color-pink-light);
    transition: all 0.3s ease;
    color: var(--color-text-dark);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--color-primary);
}

.category-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.category-card h3 {
    font-size: 1.1rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    color: var(--color-text-dark);
}

/* ===== DEAL SINGLE PAGE ===== */
.breadcrumb {
    margin-bottom: 2rem;
    color: var(--color-text-dark);
    font-size: 0.95rem;
    font-family: 'Quicksand', sans-serif;
}

.breadcrumb a {
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.deal-single {
    display: grid;
    gap: 3rem;
}

.deal-single-main {
    display: grid;
    gap: 3rem;
}

.deal-image-large {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 3px solid var(--color-pink-light);
}

.deal-image-large img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
}

.deal-info {
    padding: 1rem 0;
}

.deal-category-badge {
    display: inline-block;
    background: var(--color-mint);
    color: var(--color-text-dark);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
}

.deal-price {
    font-size: 2.5rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    color: var(--color-primary);
    margin: 1.5rem 0;
}

.deal-description {
    margin: 2rem 0;
    line-height: 1.9;
    color: var(--color-text-dark);
    font-size: 1.05rem;
}

.deal-description p {
    margin-bottom: 1rem;
}

.deal-description ul,
.deal-description ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.affiliate-buttons {
    margin-top: 2.5rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--color-pink-light) 0%, var(--color-cream) 100%);
    border-radius: 20px;
    border: 3px solid var(--color-pink-light);
}

.affiliate-buttons h3 {
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    font-family: 'Quicksand', sans-serif;
}

.affiliate-buttons-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #D66B66 0%, #E88A85 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 44px;
    line-height: 1.5;
    box-shadow: var(--shadow-button);
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, #C9787A 0%, #D66B66 100%);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, #D66B66 0%, #E88A85 100%);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #C9787A 0%, #D66B66 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--color-baby-blue) 0%, #A8C8E0 100%);
    box-shadow: 0 4px 15px rgba(184, 212, 232, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #9BB8D0 0%, var(--color-baby-blue) 100%);
    box-shadow: 0 6px 20px rgba(184, 212, 232, 0.4);
}

.btn-affiliate {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

/* ===== RELATED DEALS ===== */
.related-deals {
    margin-top: 4rem;
}

.related-deals h2 {
    margin-bottom: 2rem;
    font-family: 'Quicksand', sans-serif;
    color: var(--color-primary);
}

.related-deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.related-deal-card {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 3px solid var(--color-pink-light);
    transition: all 0.3s ease;
    color: var(--color-text-dark);
}

.related-deal-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--color-primary);
}

.related-deal-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.related-deal-card h4 {
    padding: 1.25rem;
    font-size: 1.1rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
}

.related-deal-card .price {
    padding: 0 1.25rem 1.25rem;
    color: var(--color-primary);
    font-weight: 600;
    font-family: 'Quicksand', sans-serif;
}

/* ===== SEARCH ===== */
.search-form {
    margin: 2.5rem 0;
}

.search-input-wrapper {
    display: flex;
    gap: 1rem;
}

.search-input {
    flex: 1;
    padding: 14px 20px;
    border: 3px solid var(--color-pink-light);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    background: var(--color-white);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(214, 107, 102, 0.1);
}

.search-results-info {
    margin: 2rem 0;
    color: var(--color-text-dark);
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 4rem 0;
    flex-wrap: wrap;
}

.pagination-link {
    padding: 10px 20px;
    background: var(--color-white);
    border: 3px solid var(--color-pink-light);
    border-radius: 25px;
    color: var(--color-text-dark);
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-link:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.pagination-info {
    color: var(--color-text-dark);
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
}

/* ===== FOOTER ===== */
.site-footer {
    background: linear-gradient(135deg, var(--color-text-dark) 0%, #4A4A4A 100%);
    color: var(--color-white);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-family: 'Quicksand', sans-serif;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
    font-family: 'Open Sans', sans-serif;
}

.footer-section a:hover {
    color: var(--color-pink-light);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-links a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary-light);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Open Sans', sans-serif;
}

/* ===== UTILITY CLASSES ===== */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--color-text-dark);
    font-family: 'Quicksand', sans-serif;
}

.error-message {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--color-white);
    border-radius: 20px;
    border: 3px solid var(--color-pink-light);
    margin: 2rem 0;
}

.category-header {
    margin-bottom: 2.5rem;
}

.category-description {
    color: var(--color-text-dark);
    font-size: 1.15rem;
    line-height: 1.7;
    font-family: 'Open Sans', sans-serif;
}

.search-placeholder {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--color-text-dark);
    font-family: 'Quicksand', sans-serif;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
    .deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .deal-single-main {
        grid-template-columns: 1fr 1fr;
    }
    
    .affiliate-buttons-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
}

@media (min-width: 1200px) {
    .deals-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    h1 { font-size: 3.5rem; }
    h2 { font-size: 3rem; }
}

@media (max-width: 767px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 248, 240, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: var(--shadow-soft);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-radius: 0 0 20px 20px;
    }
    
    .main-nav.active {
        max-height: 500px;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 1.5rem 0;
        gap: 0;
    }
    
    .main-nav li {
        width: 100%;
    }
    
    .main-nav a {
        display: block;
        padding: 1rem 20px;
        border-bottom: 1px solid var(--color-pink-light);
    }
    
    .main-nav a:last-child {
        border-bottom: none;
    }
    
    .header-content {
        position: relative;
    }
    
    .search-input-wrapper {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-section {
        padding: 40px 0;
    }
    
    .main-content {
        padding: 40px 0;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 60px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        rgba(255, 248, 240, 0.95) 0%, 
        rgba(255, 248, 240, 0.7) 50%,
        rgba(255, 248, 240, 0.3) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.hero-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #D66B66;
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 600px;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #5A5A5A;
    margin-bottom: 35px;
    line-height: 1.5;
    max-width: 550px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.btn-hero {
    display: inline-block;
    background: linear-gradient(135deg, #D66B66 0%, #E88A85 100%);
    color: white;
    padding: 18px 45px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 25px rgba(214, 107, 102, 0.4);
    transition: all 0.3s ease;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(214, 107, 102, 0.5);
    background: linear-gradient(135deg, #C9787A 0%, #D66B66 100%);
}

/* Hero Responsive */
@media (max-width: 768px) {
    .hero {
        height: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(255, 248, 240, 0.85) 0%,
            rgba(255, 248, 240, 0.95) 100%
        );
    }
}

@media (max-width: 480px) {
    .hero {
        height: 450px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-hero {
        padding: 15px 35px;
        font-size: 1rem;
    }
}