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

:root {
    --dance-red: hsl(348, 69%, 44%);
    --professional-navy: hsl(209, 54%, 21%);
    --gold-accent: hsl(51, 100%, 50%);
    --light-blue: hsl(200, 84%, 94%);
    --background: hsl(0, 0%, 98%);
    --foreground: hsl(20, 14.3%, 4.1%);
    --border: hsl(20, 5.9%, 90%);
    --muted: hsl(60, 4.8%, 95.9%);
    --text-gray: hsl(215, 16%, 47%);
    --white: hsl(0, 0%, 100%);
    --gray-900: hsl(222, 84%, 5%);
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

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

/* Utility Classes */
.hidden {
    display: none !important;
}

.text-gold {
    color: var(--gold-accent);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: hsl(348, 69%, 38%);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--text-gray);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: hsl(215, 16%, 40%);
}

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

.btn-outline:hover {
    background-color: var(--white);
    color: var(--professional-navy);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(27, 54, 93, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem;
    border-top: 2px solid var(--dance-red);
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.cookie-text {
    color: var(--white);
    font-size: 0.875rem;
    flex: 1;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-link {
    color: var(--white);
    text-decoration: underline;
    font-size: 0.875rem;
}

.cookie-link:hover {
    color: var(--gold-accent);
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

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

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--professional-navy);
}

.nav-brand i {
    color: var(--dance-red);
    font-size: 1.5rem;
}

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

.nav-link {
    color: var(--professional-navy);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--dance-red);
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: var(--professional-navy);
    font-size: 1.25rem;
    cursor: pointer;
}

.mobile-menu {
    background-color: var(--white);
    border-top: 1px solid var(--border);
    padding: 1rem 0;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--professional-navy);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.mobile-nav-link:hover {
    background-color: var(--muted);
}

.mobile-cta {
    margin: 0.75rem 1rem 0;
    text-align: center;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(27, 54, 93, 0.8) 0%, 
        rgba(27, 54, 93, 0.6) 50%, 
        rgba(196, 30, 58, 0.8) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--white);
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    color: var(--professional-navy);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.feature-card {
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 5rem;
    height: 5rem;
    background-color: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--dance-red);
}

.feature-card h3 {
    font-size: 1.25rem;
    color: var(--professional-navy);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Courses Preview */
.courses-preview {
    padding: 4rem 0;
    background-color: var(--muted);
}

.courses-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

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

.course-card:hover {
    transform: translateY(-5px);
}

.course-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.course-content {
    padding: 1.5rem;
}

.course-content h3 {
    font-size: 1.25rem;
    color: var(--professional-navy);
    margin-bottom: 0.75rem;
}

.course-content p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-price {
    font-weight: 600;
    color: var(--dance-red);
    font-size: 1.125rem;
}

.course-link {
    color: var(--professional-navy);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.course-link:hover {
    color: var(--dance-red);
}

@media (min-width: 768px) {
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Testimonials */
.testimonials {
    padding: 4rem 0;
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.testimonial-card {
    background-color: var(--light-blue);
    border-radius: 0.75rem;
    padding: 2rem;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: var(--gold-accent);
}

.testimonial-text {
    color: var(--foreground);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 3rem;
    height: 3rem;
    background-color: var(--dance-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
}

.author-name {
    font-weight: 600;
    color: var(--professional-navy);
    margin-bottom: 0.25rem;
}

.author-title {
    color: var(--text-gray);
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Contact Form Section */
.contact-form-section {
    padding: 4rem 0;
    background-color: var(--professional-navy);
}

.contact-form-section .section-header h2 {
    color: var(--white);
}

.contact-form-section .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-form-container {
    background-color: var(--white);
    border-radius: 0.75rem;
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--dance-red);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

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

.checkbox-group label {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.4;
}

.checkbox-group a {
    color: var(--dance-red);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.error-message {
    color: var(--dance-red);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-error {
    border-color: var(--dance-red) !important;
    background-color: hsl(0, 93%, 98%) !important;
}

.form-success {
    border-color: hsl(142, 76%, 36%) !important;
    background-color: hsl(138, 76%, 97%) !important;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Footer */
.footer {
    background-color: var(--gray-900);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

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

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-brand i {
    color: var(--dance-red);
    font-size: 1.25rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--dance-red);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-item i {
    color: var(--dance-red);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--white);
}

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

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Page Specific Styles */
.page-header {
    background: linear-gradient(135deg, var(--professional-navy), var(--dance-red));
    color: var(--white);
    padding: 4rem 0 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    padding: 3rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.page-content h2 {
    color: var(--professional-navy);
    margin: 2rem 0 1rem;
}

.page-content h3 {
    color: var(--professional-navy);
    margin: 1.5rem 0 1rem;
}

.page-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.page-content ul, 
.page-content ol {
    margin: 1rem 0 1rem 2rem;
}

.page-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 767px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.875rem;
    }
    
    .contact-form-container {
        padding: 2rem 1.5rem;
    }
}
