@font-face {
    font-family: 'NotoSerif-Black';
    src: url("../fonts/NotoSerif/NotoSerif-Black-702a8fa7f504b2c611ac2b7caaa0f350.ttf") format('truetype');
    font-weight: 900;
    font-style: normal;
}

:root {
    --primary-color: #2F4A3C;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --light-bg: #f4f4f5;
    --color-grey200: #f4f4f5;
    --dark-text: #2c3e50;
    --bs-navbar-padding-y: 0rem!important;
    --bs-navbar-color: #f4f4f5!important;
    --bs-navbar-toggler-border-color: #f4f4f5!important;
}

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

/* Apply NotoSerif-Black to all headlines */
h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'NotoSerif-Black', serif;
}

/* Navbar link styles */
.navbar-nav .nav-link {
    color: white !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #F19831 !important;
}

/* Remove navbar vertical padding */
.navbar {
    --bs-navbar-padding-y: 0;
    --bs-navbar-brand-padding-y: 0;
}

.footer {
    background: var(--light-bg);
    color: black;
    padding: 3rem 0 1rem;
}

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

/* Cookie Consent Banner Styles */
.cookie-consent {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}

.cookie-consent-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.cookie-consent-modal {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    z-index: 1;
}

.cookie-consent-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid #e9ecef;
}

.cookie-consent-header h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.cookie-consent-body {
    padding: 1.5rem;
}

.cookie-categories {
    margin-top: 1rem;
}

.cookie-category {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background-color: #fafafa;
}

.cookie-category-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
}

.cookie-category-header input[type="checkbox"] {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.cookie-category-header label {
    cursor: pointer;
    user-select: none;
}

.cookie-category-description {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    margin-left: 1.5rem;
    line-height: 1.4;
}

.cookie-consent-footer {
    padding: 1.5rem;
    border-top: 1px solid #e9ecef;
    background-color: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

.cookie-consent-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cookie-consent-buttons .btn {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-consent-buttons .btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.cookie-consent-buttons .btn-primary:hover {
    background-color: #26423a;
}

.cookie-consent-buttons .btn-success {
    background-color: #28a745;
    color: white;
}

.cookie-consent-buttons .btn-success:hover {
    background-color: #218838;
}

.cookie-consent-buttons .btn-outline-secondary {
    background-color: transparent;
    color: #6c757d;
    border: 1px solid #6c757d;
}

.cookie-consent-buttons .btn-outline-secondary:hover {
    background-color: #6c757d;
    color: white;
}

.cookie-consent-links {
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.4;
}

.cookie-consent-links a {
    color: var(--primary-color);
    text-decoration: none;
}

.cookie-consent-links a:hover {
    text-decoration: underline;
}

/* Homepage Specific Styles */
.hero-section {
    background: url("../images/fishing_competition_scene_carp_v3-047e557fc69673e224c88da57289ce6d.png") center/cover no-repeat;
    color: white;
    padding: 4rem 0 0;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.stats-counter {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
}

.cta-button {
    background: var(--accent-color);
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

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

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.story-container {
    overflow-x: auto;
    white-space: nowrap;
    padding: 1rem 0;
}

.story-item {
    display: inline-block;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    margin-right: 1rem;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.story-item:hover {
    transform: scale(1.1);
}

.story-item i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: white;
}

.trust-badge {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #e9ecef;
}

.brand-logo {
    width: 80px;
    height: 60px;
    background: #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    text-align: center;
}

.alert-badge {
    background: #e74c3c;
    color: white;
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    position: absolute;
    top: -5px;
    right: -5px;
}

.rating-stars {
    color: #ffc107;
    font-size: 1.2rem;
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
    .navbar-brand img {
        height: 60px !important;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer .col-lg-6 {
        margin-bottom: 2rem;
    }
    
    /* Hero section mobile optimization */
    .hero-section {
        padding: 2rem 0 0 !important;
    }
    
    .hero-section h1 {
        font-size: 2.5rem !important;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    /* App download section badges mobile sizing */
    section img[alt*="Store Badge"],
    section img[alt*="Play Store Badge"] {
        height: 48px !important; /* reduced from 60px */
    }
    
    /* Mobile app mockup sizing */
    .hero-section .col-lg-6:last-child {
        margin-top: 2rem;
    }
    
    .hero-section .col-lg-6:last-child > div {
        height: 300px !important;
    }
    
    /* Section spacing mobile */
    section {
        padding-top: 3rem !important;
    }
    
    /* Feature sections mobile */
    .display-5 {
        font-size: 2rem !important;
    }
    
    .fs-5 {
        font-size: 1rem !important;
    }
    
    /* iPhone mockups in feature sections */
    .container img[alt*="FISHING BUDDIES App"] {
        max-height: 350px !important;
    }
    
    /* App download section mobile */
    .display-3 {
        font-size: 2.5rem !important;
    }
    
    /* How it works section mobile */
    .display-4 {
        font-size: 2.2rem !important;
    }
    
    /* Steps mobile layout */
    .d-flex.flex-column.flex-md-row {
        flex-direction: column !important;
        text-align: center;
    }
    
    .rounded-circle {
        margin: 0 auto 1rem !important;
    }
    
    /* Trust badges mobile */
    .trust-badge {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Button mobile sizing */
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Fix text wrapping */
    .text-white.fw-bold.fs-5 {
        font-size: 1.1rem !important;
    }
}

/* Cookie Banner Tablet Responsive */
@media (min-width: 576px) and (max-width: 991px) {
    .cookie-consent-modal {
        max-width: 500px;
    }
    
    .cookie-consent-buttons {
        grid-template-columns: 1fr 1fr;
    }
    
    .cookie-consent-buttons .btn:last-child {
        grid-column: 1 / -1;
    }
}

/* Cookie Banner Desktop Responsive */
@media (min-width: 992px) {
    .cookie-consent-buttons {
        display: flex;
        gap: 0.75rem;
    }
    
    .cookie-consent-buttons .btn {
        flex: 1;
        min-width: 140px;
    }
}

/* Cookie Banner Mobile Optimizations */
@media (max-width: 575px) {
    .cookie-consent {
        padding: 0.75rem;
    }
    
    .cookie-consent-modal {
        max-height: calc(100vh - 1.5rem);
        border-radius: 10px;
    }
    
    .cookie-consent-header {
        padding: 1.25rem 1.25rem 1rem;
    }
    
    .cookie-consent-header h4 {
        font-size: 1.1rem;
    }
    
    .cookie-consent-body {
        padding: 1.25rem;
    }
    
    .cookie-category {
        padding: 0.875rem;
        margin-bottom: 0.875rem;
    }
    
    .cookie-category-description {
        font-size: 0.85rem;
        margin-left: 1.25rem;
    }
    
    .cookie-consent-footer {
        padding: 1.25rem;
    }
    
    .cookie-consent-buttons {
        gap: 0.625rem;
        margin-bottom: 0.875rem;
    }
    
    .cookie-consent-buttons .btn {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
    
    .cookie-consent-links {
        font-size: 0.8rem;
    }
}

/* Homepage iPhone specific optimizations */
@media (max-width: 390px) {
    .hero-section h1 {
        font-size: 2rem !important;
    }
    
    .display-3 {
        font-size: 2rem !important;
    }
    
    .display-4 {
        font-size: 1.8rem !important;
    }
    
    .display-5 {
        font-size: 1.6rem !important;
    }
    
    /* Very small screens - stack app store badges */
    .d-flex.gap-3.flex-wrap {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
    }
    
    .hero-section img[alt*="Store"],
    .hero-section img[alt*="Play"] {
        height: 36px !important; /* reduced from 45px */
    }
    
    section img[alt*="Store Badge"],
    section img[alt*="Play Store Badge"] {
        height: 42px !important; /* reduced from original mobile size */
    }
}

/* Cookie Banner Very small screens */
@media (max-width: 360px) {
    .cookie-consent {
        padding: 0.5rem;
    }
    
    .cookie-consent-header {
        padding: 1rem 1rem 0.75rem;
    }
    
    .cookie-consent-body {
        padding: 1rem;
    }
    
    .cookie-consent-footer {
        padding: 1rem;
    }
    
    .cookie-category-description {
        margin-left: 1rem;
    }
}
