/* AD ACCOMMODATION LTD - Game Level Creation Training Website Styles */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1b4332;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    color: #1b4332;
}

h2 {
    font-size: 2.5rem;
    color: #1b4332;
}

h3 {
    font-size: 1.8rem;
    color: #2d5a3d;
}

h4 {
    font-size: 1.4rem;
    color: #2d5a3d;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

a {
    color: #16a085;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #138d75;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.5;
}

.btn-primary {
    background-color: #16a085;
    color: white;
}

.btn-primary:hover {
    background-color: #138d75;
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: #16a085;
    border: 2px solid #16a085;
}

.btn-outline:hover {
    background-color: #16a085;
    color: white;
}

.btn-link {
    background: none;
    color: #16a085;
    padding: 8px 16px;
    text-decoration: underline;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1b4332;
    color: white;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

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

/* Header and Navigation */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 40px;
    height: 40px;
}

.brand-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1b4332;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #333;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #16a085;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #16a085;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #16a085 0%, #27ae60 100%);
    color: white;
    padding: 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

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

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: white;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 32px;
    color: rgba(255,255,255,0.9);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero-image {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    width: 100%;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #16a085 0%, #27ae60 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 8px;
}

.last-updated {
    font-size: 1rem;
    opacity: 0.8;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: #f8f9fa;
}

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

.feature-card {
    background: white;
    padding: 40px 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: #1b4332;
    margin-bottom: 16px;
}

/* Courses Section */
.courses-preview,
.courses-section {
    padding: 100px 0;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.course-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.course-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-level {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: rgba(22, 160, 133, 0.9);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.course-content {
    padding: 24px;
}

.course-content h3 {
    margin-bottom: 12px;
    color: #1b4332;
}

.course-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 16px 0;
    font-size: 0.9rem;
    color: #666;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.price {
    font-size: 1.4rem;
    font-weight: 600;
    color: #e67e22;
}

.duration {
    color: #666;
    font-size: 0.9rem;
}

/* Course Categories */
.course-categories {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid #ddd;
    color: #666;
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: #16a085;
    border-color: #16a085;
    color: white;
}

/* About Content */
.about-content {
    padding: 80px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-text ul.feature-list {
    list-style: none;
    padding-left: 0;
}

.content-text ul.feature-list li {
    padding: 8px 0;
    color: #555;
}

/* Company Info */
.company-info {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.info-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.company-details p {
    margin-bottom: 8px;
    color: #555;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #16a085 0%, #27ae60 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-details {
    padding: 20px 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-text h4 {
    margin-bottom: 8px;
    color: #1b4332;
}

.contact-text p {
    margin: 0;
    color: #666;
}

/* Forms */
.contact-form-container,
.booking-form-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.contact-form h3,
.booking-form h3 {
    margin-bottom: 24px;
    color: #1b4332;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #16a085;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.form-notice {
    font-size: 0.9rem;
    color: #666;
    margin-top: 16px;
    text-align: center;
}

/* Booking Form Specific */
.booking-section {
    padding: 80px 0;
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.course-selection h2 {
    margin-bottom: 24px;
    color: #1b4332;
}

.course-option {
    background: white;
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.course-option:hover {
    border-color: #16a085;
}

.course-option.selected {
    border-color: #16a085;
    background-color: #f8f9ff;
}

.course-option input[type="radio"] {
    position: absolute;
    top: 16px;
    right: 16px;
}

.course-info h4 {
    margin-bottom: 8px;
    color: #1b4332;
}

.course-info p {
    margin-bottom: 8px;
    color: #666;
    font-size: 0.9rem;
}

.course-info .price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e67e22;
}

.pricing-summary {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.price-item.total {
    border-top: 1px solid #ddd;
    padding-top: 8px;
    font-weight: 600;
    font-size: 1.1rem;
}

.discount-item {
    color: #27ae60;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.faq-item {
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-item h4 {
    margin-bottom: 12px;
    color: #1b4332;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #16a085 0%, #27ae60 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 32px;
    color: rgba(255,255,255,0.9);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Legal Content */
.legal-content {
    padding: 80px 0;
}

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

.legal-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: #1b4332;
}

.legal-content h3 {
    margin-top: 32px;
    margin-bottom: 16px;
    color: #2d5a3d;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 8px;
    color: #555;
}

.company-info-box {
    background-color: #f8f9fa;
    padding: 24px;
    border-radius: 8px;
    margin: 24px 0;
    border-left: 4px solid #16a085;
}

.cookie-category {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 16px 0;
}

.cookie-preferences {
    text-align: center;
    margin: 24px 0;
}

.policy-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #eee;
    font-style: italic;
    color: #666;
}

/* Footer */
.footer {
    background-color: #1b4332;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 8px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.company-details {
    margin-top: 16px;
}

.contact-info {
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

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

.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .features-grid,
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .content-grid,
    .contact-grid,
    .booking-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .category-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .course-card {
        margin: 0 -10px;
    }
}

/* Animation and Loading States */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .btn,
    .hero {
        display: none !important;
    }
    
    .legal-content {
        padding: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus States for Keyboard Navigation */
.btn:focus,
.nav-link:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn-primary {
        background-color: #000;
        border: 2px solid #000;
    }
    
    .btn-outline {
        border-color: #000;
        color: #000;
    }
}
