/* Base CSS - Primary Colors, Layout, and Common Styles */

/* CSS Custom Properties for Primary Colors */
:root {
    --primary-red: #037bff;
    --primary-dark-red: #025bb3;
    --primary-black: #000;
    --primary-white: #fff;
    --primary-gray: #666;
    --primary-light-gray: #f8f9fa;
    --primary-dark-gray: #333;
    --primary-border-gray: #ddd;
    --primary-text-gray: #ccc;
    --primary-brown: rgb(46, 42, 37);
    
    /* Layout Variables */
    --container-max-width: 95%;
    --section-padding: 100px 0;
    --mobile-section-padding: 60px 0;
    
    /* Typography */
    --font-family: 'Montserrat', sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-slow: 0.8s ease;
    
    /* Shadows */
    --box-shadow-light: 0 5px 15px rgba(0, 0, 0, 0.1);
    --box-shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.1);
    --box-shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.4;
    color: var(--primary-dark-gray);
    scroll-behavior: smooth;
    position: relative;
}


.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: rgba(0, 123, 255, 0.1);
    z-index: 9999;
}

.scroll-progress-bar {
    width: 100%;
    height: 0%;
    background: var(--primary-red);
    transition: height 0.1s ease;
}

/* Common Button Styles */
.cta-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 0;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    font-family: var(--font-family);
}

.cta-btn.primary {
    background: var(--primary-red);
    color: var(--primary-white);
}

.cta-btn.primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.cta-btn.secondary {
    background: transparent;
    color: var(--primary-white);
    border: 2px solid var(--primary-white);
}

.cta-btn.secondary:hover {
    background: var(--primary-white);
    color: var(--primary-dark-gray);
}

/* Section Titles */
.section-title {
    font-size: 5rem;
    font-weight: var(--font-weight-bold);
    text-align: left;
    margin-bottom: 20px;
    color: var(--primary-black);
    z-index: 3;
    position: relative;
}

/* Common Animation Classes */
.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }

.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }

.p-20 { padding: 20px; }
.p-30 { padding: 30px; }
.p-40 { padding: 40px; }

/* Responsive Typography */
@media (max-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
    
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2.5rem;
    }
}

/* Privacy Policy Popup Styles */
.privacy-popup-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.privacy-popup-content {
    background: var(--primary-white);
    border-radius: 8px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.privacy-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    background: var(--primary-light-gray);
}

.privacy-popup-header h2 {
    margin: 0;
    color: var(--primary-dark-gray);
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
}

.privacy-popup-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-gray);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.privacy-popup-close:hover {
    background: var(--primary-red);
    color: var(--primary-white);
}

.privacy-popup-body {
    padding: 30px;
    line-height: 1.6;
    color: var(--primary-dark-gray);
}

.privacy-popup-body h3 {
    color: var(--primary-red);
    font-size: 1.2rem;
    font-weight: var(--font-weight-bold);
    margin: 25px 0 15px 0;
}

.privacy-popup-body p {
    margin-bottom: 15px;
}

.privacy-popup-body ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.privacy-popup-body li {
    margin-bottom: 5px;
}

.privacy-contact-info {
    background: var(--primary-light-gray);
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.privacy-contact-info p {
    margin: 0;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .privacy-popup-content {
        margin: 10px;
        max-height: 95vh;
    }
    
    .privacy-popup-header {
        padding: 15px 20px;
    }
    
    .privacy-popup-body {
        padding: 20px;
    }
    
    .privacy-popup-header h2 {
        font-size: 1.3rem;
    }
}

/* Cookies Banner Styles */
.cookies-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-white);
    border-top: 3px solid var(--primary-red);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

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

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

.cookies-banner-text {
    flex: 1;
    color: var(--primary-dark-gray);
    font-size: 14px;
    line-height: 1.5;
}

.cookies-banner-text p {
    margin: 0;
}

.cookies-banner-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-shrink: 0;
}

.cookies-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-weight: var(--font-weight-semibold);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
    display: inline-block;
    font-family: var(--font-family);
}

.cookies-btn.accept {
    background: var(--primary-red);
    color: var(--primary-white);
}

.cookies-btn.accept:hover {
    background: var(--primary-dark-red);
    transform: translateY(-1px);
}

.cookies-btn.decline {
    background: transparent;
    color: var(--primary-gray);
    border: 1px solid var(--primary-border-gray);
}

.cookies-btn.decline:hover {
    background: var(--primary-light-gray);
    color: var(--primary-dark-gray);
}

.cookies-btn.settings {
    background: transparent;
    color: var(--primary-red);
    border: 1px solid var(--primary-red);
}

.cookies-btn.settings:hover {
    background: var(--primary-red);
    color: var(--primary-white);
}

@media (max-width: 768px) {
    .cookies-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookies-banner-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookies-btn {
        width: 100%;
        text-align: center;
    }
    
    .cookies-banner-text {
        font-size: 13px;
    }
}