/* Body and Base Styles */
* {
    box-sizing: border-box;
}

:root {
    --primary-color: #0a3b7c;
    --primary-hover: #0d4a9f;
}

body {
    background: var(--primary-color);
    min-height: 100vh;
    font-family: "Roboto", sans-serif;
    overflow-x: hidden;
    font-size: clamp(14px, 2vw, 18px);
    padding-bottom: 80px; /* Space for cookie banner on mobile */
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0; /* No padding needed on desktop */
    }
}

h1 {
    font-size: clamp(22px, 4vw, 34px);
}

h2 {
    font-size: clamp(20px, 3vw, 26px);
}

h3 {
    font-size: clamp(18px, 2.5vw, 20.72px);
}

p {
    font-size: clamp(14px, 2vw, 18px);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    color: #000000 !important;
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 2px solid rgba(10, 59, 124, 0.2);
    box-sizing: border-box;
}

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

.cookie-banner-hidden {
    transform: translateY(100%);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 250px;
}

.cookie-banner-text p {
    margin: 0;
    font-size: clamp(12px, 1.5vw, 16px);
    line-height: 1.5;
    color: #000000 !important;
}

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

.cookie-banner-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    color: #ffffff;
    padding: 4px 4px;
    margin: 0;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    min-height: 44px;
    font-size: clamp(14px, 1.5vw, 16px);
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    cursor: pointer;
    min-width: 100px;
}

.cookie-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    opacity: 0.9;
}

@media (max-width: 767px) {
    .cookie-banner {
        padding: 12px 15px;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .cookie-banner-buttons {
        width: 100%;
        justify-content: stretch;
    }
    
    .cookie-btn {
        flex: 1;
    }
}

/* Logo Header */
.logo-header {
    padding: 0px 0;
    text-align: center;
}

.logo-img {
    max-width: 300px;
    height: auto;
}

/* Button Section */
.button-section {
    padding: clamp(0px, 2vw, 10px) 20px;
}

.button-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.button-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.button-item {
    flex: 1 1 0;
    min-width: 0;
}

@media (max-width: 576px) {
    .button-row {
        gap: 8px;
    }
    .button-item {
        min-width: 90px;
    }
    
    /* Keep consistent padding for mobile (same as desktop) */
    .content-section {
        padding: 8px 8px 8px 8px;
    }
    
    .container {
        padding: 0 3px; /* Further reduced for mobile */
    }
}

.dropdown {
    position: relative;
}

.nav-button {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    color: #ffffff;
    padding: 0px 4px;
    margin: 0;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    min-height: 44px;
}

.nav-button:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    opacity: 0.9;
}

.dropdown-menu {
    background: #eeeeee;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    top: 100% !important;
    margin-top: 0;
    position: absolute !important;
    overflow: hidden;
    padding: 0;
    list-style: none;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    display: block;
}

.dropdown-item {
    color: #000000;
    padding: 10px 20px;
    font-size: clamp(14px, 2vw, 18px);
    display: block;
    margin: 0;
}

.dropdown-item:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.dropdown-item:last-child {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.dropdown-item:hover {
    background: #ffffff;
    color: #000000;
}

.dropdown-toggle::after {
    display: none !important;
}

/* Video Section */
.video-section {
    padding: clamp(0px, 2vw, 10px) 20px;
}

.video-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.video-wrapper {
    display: flex;
    gap: 10px;
}

.video-item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-player {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: none;
    object-fit: contain;
    display: block;
}

/* Content Section */
.content-section {
    padding: 8px 8px 8px 8px;
}

.pdf-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 8px 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.map-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 8px 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .map-container {
        padding: 12px !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box;
    }
    .pdf-viewer {
        height: 400px;
    }
}

.pdf-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pdf-viewer {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 10px;
}

.pdf-viewer-small {
    width: 100%;
    height: 53vh;
    min-height: 400px;
    max-height: 67vh;
    border: none;
    border-radius: 10px;
}

/* Home Button */
.home-button {
    background: #0a3b7c !important;
    border: 2px solid #ffffff !important;
    border-radius: 15px;
    color: #ffffff;
    padding: 12px 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin: 20px auto;
    width: 48px;
    height: 48px;
}

.home-button:hover {
    text-decoration: none;
    transform: translateY(-2px);
    opacity: 0.9;
    background: #0d4a9f !important;
}

/* Carousel Navigation */
.carousel-nav {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    color: #ffffff;
    padding: 12px 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin: 20px 10px;
    width: 48px;
    height: 48px;
    cursor: pointer;
    font-size: 18px;
    flex-shrink: 0;
}

.carousel-nav:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}

.carousel-indicator {
    text-align: center;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 500;
}

/* Responsive section spacing */
.walkthrough-section {
    margin-bottom: 0;
}

/* Remove specific text sizing - use body default */
.carousel-slide-text,
.pdf-container p {
    font-size: inherit;
}
