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

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

a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Age Banner */
.age-banner {
    background-color: #dc2626;
    color: white;
    padding: 15px 0;
    text-align: center;
}

.age-banner .banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.age-banner p {
    margin: 0;
    flex: 1;
    text-align: left;
}

.btn-dismiss {
    background-color: white;
    color: #dc2626;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
}

.btn-dismiss:hover {
    background-color: #f3f4f6;
}

/* Header */
.site-header {
    background-color: white;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-wrapper {
    flex-shrink: 0;
}

.site-logo {
    height: 50px;
    width: auto;
}

.site-title {
    font-size: 28px;
    margin-bottom: 5px;
}

.site-title a {
    color: #1f2937;
    text-decoration: none;
}

.site-tagline {
    font-size: 14px;
    color: #6b7280;
}

/* Navigation */
.site-nav {
    background-color: #1f2937;
    padding: 0;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.nav-menu li {
    flex: 0 0 auto;
}

.nav-menu a {
    display: block;
    color: white;
    padding: 15px 18px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: #374151;
}

/* Main Content */
main {
    background-color: white;
    margin: 30px auto;
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 0;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #1f2937;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #4b5563;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background-color: #2563eb;
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    text-decoration: none;
}

/* Cards Grid */
.info-cards,
.affiliate-role,
.disclaimer-box {
    margin-bottom: 40px;
}

.info-cards h2,
.affiliate-role h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #1f2937;
    text-align: center;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    background-color: #f9fafb;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1f2937;
}

.card p {
    color: #4b5563;
    line-height: 1.6;
}

/* Disclaimer Box */
.disclaimer-box {
    background-color: #fef3c7;
    border: 2px solid #f59e0b;
    padding: 25px;
    border-radius: 8px;
}

.disclaimer-box h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #92400e;
}

.disclaimer-box p {
    color: #78350f;
    font-size: 16px;
    line-height: 1.6;
}

.disclaimer-box ul {
    margin-top: 15px;
    margin-left: 25px;
    color: #78350f;
}

/* Content Page */
.content-page h1 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #1f2937;
}

.content-page h2 {
    font-size: 24px;
    margin-top: 35px;
    margin-bottom: 20px;
    color: #1f2937;
}

.content-page h3 {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 15px;
    color: #374151;
}

.content-page p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #4b5563;
}

.content-page ul,
.content-page ol {
    margin-bottom: 20px;
    margin-left: 30px;
    line-height: 1.8;
    color: #4b5563;
}

.content-page li {
    margin-bottom: 10px;
}

/* Warning Box */
.warning-box {
    background-color: #fee2e2;
    border: 2px solid #dc2626;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.warning-box p {
    color: #991b1b;
    margin: 0;
    font-size: 16px;
}

/* Info Box */
.info-box {
    background-color: #dbeafe;
    border: 2px solid #2563eb;
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
}

.info-box p {
    color: #1e40af;
    margin: 0;
}

/* Support Resources */
.support-resources {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.resource {
    background-color: #f9fafb;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.resource h3 {
    color: #1f2937;
    margin-bottom: 15px;
}

.resource p {
    margin-bottom: 10px;
}

/* Tips Checklist */
.tips-checklist ul {
    background-color: #f9fafb;
    padding: 25px 25px 25px 55px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

/* Steps */
.steps {
    margin: 30px 0;
}

.step {
    background-color: #f9fafb;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
    margin-bottom: 20px;
}

.step h3 {
    color: #1f2937;
    margin-top: 0;
    margin-bottom: 15px;
}

/* Contact Form */
.contact-form {
    margin: 40px 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.required {
    color: #dc2626;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Success/Error Messages */
.success-message {
    background-color: #d1fae5;
    border: 2px solid #10b981;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.success-message p {
    color: #065f46;
    margin: 0;
}

.error-message {
    background-color: #fee2e2;
    border: 2px solid #dc2626;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.error-message p {
    color: #991b1b;
    margin: 0 0 10px 0;
}

.error-message ul {
    margin: 10px 0 0 20px;
    color: #991b1b;
}

/* Contact Info/Notes */
.contact-info,
.contact-notes {
    margin: 30px 0;
    padding: 25px;
    background-color: #f9fafb;
    border-radius: 8px;
}

/* Footer */
.site-footer {
    background-color: #1f2937;
    color: #d1d5db;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-legal {
    background-color: #374151;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: center;
}

.greek-legal {
    font-size: 14px;
    line-height: 1.6;
}

.footer-license {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #374151;
    border-radius: 8px;
}

.footer-license p {
    font-size: 13px;
    line-height: 1.6;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 25px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
}

.footer-logo {
    height: 40px;
    width: auto;
    opacity: 0.7;
}

.footer-disclaimer {
    background-color: #fef3c7;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.footer-disclaimer p {
    color: #78350f;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.footer-links {
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.footer-links a {
    color: #93c5fd;
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #374151;
    font-size: 13px;
}

/* Error Page */
.error-page {
    text-align: center;
    padding: 60px 20px;
}

.error-page h1 {
    font-size: 48px;
    color: #1f2937;
    margin-bottom: 20px;
}

.error-page p {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
    }

    .nav-menu a {
        padding: 12px 15px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .content-page h1 {
        font-size: 28px;
    }

    .content-page h2 {
        font-size: 22px;
    }

    .cards-grid,
    .support-resources {
        grid-template-columns: 1fr;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .age-banner .banner-content {
        flex-direction: column;
        text-align: center;
    }

    .age-banner p {
        text-align: center;
    }

    .footer-logos {
        flex-wrap: wrap;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 22px;
    }

    .site-tagline {
        font-size: 12px;
    }

    main {
        padding: 30px 15px;
    }
}
