/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
.main-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    flex-shrink: 0;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.logo p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.2;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.main-nav a:hover {
    opacity: 0.8;
}

.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

h1, h2, h3 {
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #495057;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.gender-selection {
    text-align: center;
    margin: 3rem 0;
}

.gender-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.gender-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    min-width: 150px;
}

.gender-btn:hover {
    border-color: #667eea;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2);
    transform: translateY(-5px);
}

.gender-btn .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-top: -2rem;
    margin-bottom: 2rem;
    border-radius: 0 0 50px 50px;
}

.content-section {
    background: white;
    padding: 2.5rem;
    margin: 2rem 0;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.text-center {
    text-align: center;
}

.main-footer {
    background: #343a40;
    color: white;
    padding: 2rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #667eea;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #495057;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.9;
}

.message {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.message.success {
    background: #d4edda;
    color: #155724;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
}

/* Cookie Banner Styles */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    background: #ffffff;
    border-top: 3px solid #667eea;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 1.5rem;
    z-index: 10000;
    display: none;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

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

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.cookie-banner-text {
    flex: 1;
    min-width: 250px;
    max-width: calc(100% - 200px);
    color: #333;
    font-size: 0.9rem;
    line-height: 1.5;
    box-sizing: border-box;
}

.cookie-banner-text p {
    margin: 0;
    padding: 0;
}

.cookie-banner-text a {
    color: #667eea;
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn-accept {
    background: #667eea;
    color: #ffffff;
}

.cookie-btn-accept:hover {
    background: #5568d3;
}

.cookie-btn-reject {
    background: #e0e0e0;
    color: #333;
}

.cookie-btn-reject:hover {
    background: #d0d0d0;
}

/* Cookie Icon (Minimized) */
#cookie-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #667eea;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: all 0.3s ease;
}

#cookie-icon:hover {
    background: #5568d3;
    transform: scale(1.1);
}

#cookie-icon svg {
    width: 28px;
    height: 28px;
    fill: #ffffff;
}

@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo {
        justify-content: center;
        text-align: center;
        gap: 0.75rem;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .logo p {
        font-size: 0.85rem;
    }
    
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .gender-buttons {
        flex-direction: column;
    }
    
    #cookie-banner {
        padding: 1rem;
        max-height: 50vh;
        overflow-y: auto;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .cookie-banner-text {
        max-width: 100%;
        font-size: 0.85rem;
    }
    
    .cookie-banner-buttons {
        width: 100%;
        justify-content: center;
        display: flex;
        gap: 0.75rem;
    }
    
    .cookie-btn {
        flex: 1;
        max-width: 150px;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .cookie-banner-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    #cookie-icon {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
    }
    
    #cookie-icon svg {
        width: 24px;
        height: 24px;
        fill: #ffffff;
    }
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.legal-content h2 {
    margin-top: 2rem;
    color: #667eea;
}

.legal-content h3 {
    margin-top: 1.5rem;
    color: #495057;
}

.legal-content ul, .legal-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}
