/* ============================================
   YAWTEEF – GLOBAL STYLES
   Used on ALL pages
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #1f2937;
    background-color: #ffffff;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    color: #111827;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: #374151;
}

/* Link Styles - High Contrast */
a {
    color: #1a4fd8;                 
  text-decoration-line: underline;
    transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: #1238a6;
  text-decoration:none;
}

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: #374151;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.site-header {
    background-color: #ffffff;
    border-bottom: 2px solid #e5e7eb;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.75rem;
    font-weight: 800;
    color: #111827;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo a:hover {
    color: #1d4ed8;
    text-decoration: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: #111827;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Desktop Navigation */
.nav-list {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #374151;
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
    text-decoration:none;
}

.nav-link:hover {
    color: #1d4ed8;
}

/* Dropdown Toggle */
.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle::after {
    content: " ▾";
    font-size: 0.75rem;
    margin-left: 4px;
}

/* Dropdown Menu - Desktop (Hidden by Default) */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    list-style: none;
    z-index: 100;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    padding: 0.75rem 1.25rem;
    color: #374151;
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    display: block;
    transition: all 0.2s ease;
    text-decoration:none;
}

.dropdown-menu a:hover {
    background-color: #eff6ff;
    color: #1d4ed8;
    text-decoration: none;
}

/* Show Dropdown on Hover - Desktop Only */
@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* ============================================
   BUTTONS (GLOBAL)
   ============================================ */

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: #1d4ed8;
    color: #ffffff;
    border-color: #1d4ed8;
}

.btn-primary:hover {
    background-color: #0f766e;
    border-color: #1e40af;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
    color: #ffffff;
}

.btn-secondary {
    background-color: #ffffff;
    color: #1d4ed8;
    border-color: #1d4ed8;
}

.btn-secondary:hover {
    background-color: #eff6ff;
    color:#ffffff;
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-large {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

/* ============================================
   FOOTER (GLOBAL)
   ============================================ */

.site-footer {
    background-color: #111827;
    color: #ffffff;
    padding: 2.5rem 0;
    text-align: center;
}

.footer-links {
    margin-bottom: 1.25rem;
    color:#ffffff;
}

.footer-links a {
    color: #ffffff;
    margin: 0 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration:none;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-copyright {
    color: #ffffff;
    font-size: 0.85rem;
}

/* ============================================
   MOBILE RESPONSIVE (GLOBAL)
   ============================================ */

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ffffff;
        overflow-y: auto;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .main-nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }

    .nav-item {
        border-bottom: 1px solid #f3f4f6;
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        padding: 1.25rem 1.5rem;
        font-size: 1.05rem;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-top: 1px solid #e5e7eb;
        margin: 0;
        padding: 0;
        background-color: #f9fafb;
        border-radius: 0;
    }

    .dropdown-menu a {
        padding: 1rem 2.5rem;
        font-size: 0.95rem;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    h1 { font-size: 1.875rem; }
    h2 { font-size: 1.625rem; }
    h3 { font-size: 1.25rem; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
}

/* ============================================
   BREADCRUMB STYLES (FIXED)
   ============================================ */

.breadcrumb {
    background-color: #f9fafb;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on small screens */
    align-items: center; /* Vertically center items */
    gap: 0.5rem; /* Space between items */
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    display: inline-flex; /* Keeps item and separator together */
    align-items: center;
    color: #6b7280;
    font-size: 0.9rem;
    white-space: nowrap; /* Prevents text breaking mid-item */
}

/* Separator styling */
.breadcrumb li:not(:last-child)::after {
    content: "›";
    margin-left: 0.5rem;
    color: #9ca3af;
    font-size: 1.1rem;
    line-height: 1;
}

.breadcrumb a {
    color: #1d4ed8;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    text-decoration: underline;
    color: #1e40af;
}

/* Current page item styling */
.breadcrumb li:last-child {
    color: #374151;
    font-weight: 500;
}


/* Footer Heart Animation */
.beating-heart {
    color: #ef4444; /* Bright Red */
    display: inline-block;
    animation: heartbeat 1.5s infinite ease-in-out;
    margin: 0 3px;
    font-size: 1.1rem;
    vertical-align: middle;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.25); }
    30% { transform: scale(1); }
    45% { transform: scale(1.15); }
    60% { transform: scale(1); }
}

/* ============================================
   COOKIE CONSENT BANNER (With Close Button)
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 340px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    z-index: 9999;
    
    /* Hidden by default */
    display: none; 
    flex-direction: column;
    gap: 1rem;
    
    animation: slideIn 0.5s ease-out;
}

/* Show Class */
.cookie-banner.show {
    display: flex; 
}

/* THE CROSS (X) BUTTON */
.cookie-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: #9ca3af;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s;
    z-index: 10;
}

.cookie-close:hover {
    color: #111827;
}

@keyframes slideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #111827;
    font-weight: 700;
    padding-right: 20px; /* Space for the X */
}

.cookie-content p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 0;
}

.cookie-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-accept {
    width: 100%;
    padding: 0.75rem;
    background-color: #1d4ed8;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    text-align: center;
}

.btn-accept:hover {
    background-color: #1e40af;
}

.btn-text {
    width: 100%;
    padding: 0.25rem;
    background: none;
    border: none;
    color: #6b7280;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s;
}

.btn-text:hover {
    color: #111827;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .cookie-banner {
        width: 100%;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 12px 12px 0 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    }
}