/* A&M Spanish Express Styles */
:root {
    /* Primary Colors */
    --warm-gold: #d4a853;
    --deep-teal: #2c5f70;
    --sunset-orange: #e6923a;
    
    /* Supporting Colors */
    --sage-green: #a8d5ba;
    --sunflower-yellow: #f4c430;
    --sky-blue: #8db4c7;
    
    /* Neutral Colors */
    --warm-white: #faf8f5;
    --cream: #f5f3f0;
    --medium-gray: #8a8a8a;
    --charcoal: #2d3436;
    
    /* Fonts */
    --primary-font: 'Poppins', sans-serif;
    --accent-font: 'Dancing Script', cursive;
    
    /* Shadows */
    --card-shadow: 0 10px 30px rgba(45, 95, 112, 0.1);
    --button-shadow: 0 5px 15px rgba(212, 168, 83, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--primary-font);
    color: var(--charcoal);
    background-color: var(--warm-white);
    line-height: 1.6;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(250, 248, 245, 0.98);
    box-shadow: 0 2px 20px rgba(45, 95, 112, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 75px;
    width: auto;
    object-fit: contain;
}

.nav-logo h2 {
    color: var(--deep-teal);
    font-weight: 700;
    font-size: 1.8rem;
}

.logo-accent {
    color: var(--warm-gold);
    font-family: var(--accent-font);
    font-size: 2rem;
}

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

.nav-link {
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--warm-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--warm-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.cta-nav {
    background: var(--warm-gold);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
}

.cta-nav:hover {
    background: var(--sunset-orange);
    transform: translateY(-2px);
    box-shadow: var(--button-shadow);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--deep-teal);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section - Redesigned */
.hero {
    position: relative;
    margin: 0;
    padding: 0;
    width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

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

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 95, 112, 0.8), rgba(45, 52, 54, 0.6));
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
    color: white;
    padding: 2rem 0;
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(244, 196, 48, 0.9);
    color: var(--charcoal);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-badge i {
    color: var(--sunset-orange);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease 0.1s both;
}

.hero-greeting {
    display: block;
    font-family: var(--accent-font);
    font-size: 2.5rem;
    color: var(--sunflower-yellow);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-features {
    margin-bottom: 0.75rem;
    animation: fadeInUp 1s ease 0.3s both;
    font-size: 1rem;
}

.hero-cta {
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
    justify-content: center;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    animation: fadeInUp 1s ease 0.5s both;
}

.stat-item {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--sunflower-yellow);
    line-height: 1;
    margin-bottom: 0.3rem;
}

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

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 2;
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-family: var(--primary-font);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: var(--warm-gold);
    color: white;
}

.btn-primary:hover {
    background: var(--sunset-orange);
    transform: translateY(-3px);
    box-shadow: var(--button-shadow);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--deep-teal);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

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

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--deep-teal);
    margin-bottom: 1rem;
    font-weight: 700;
}

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

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--cream);
}

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

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 168, 83, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(45, 95, 112, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--warm-gold), var(--sunset-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    color: var(--deep-teal);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

/* Courses Section */
.courses {
    padding: 6rem 0;
}

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

.course-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    position: relative;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(45, 95, 112, 0.15);
}

.course-card.featured {
    border: 3px solid var(--warm-gold);
    transform: scale(1.05);
}

.course-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--sunset-orange);
    color: white;
    padding: 0.5rem 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    transform: rotate(45deg);
    z-index: 10;
}

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

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: all 0.3s ease;
    max-height: 200px;
}

/* Specific positioning for the Spanish Foundations bicycle image - shifted opposite way */
.course-card:first-child .course-image img {
    object-position: center 80%;
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-level {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--sage-green);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.course-content {
    padding: 2rem;
}

.course-content h3 {
    color: var(--deep-teal);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.course-features {
    margin-bottom: 2rem;
}

.course-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.course-feature i {
    color: var(--sage-green);
}

.course-price {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--warm-gold);
}

.price-period {
    color: var(--medium-gray);
    font-size: 1rem;
}

/* Process Section */
.process {
    padding: 6rem 0;
    background: var(--cream);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--warm-gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-content h3 {
    color: var(--deep-teal);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-content p {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--deep-teal), var(--warm-gold));
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.cta .btn-primary:hover {
    background: var(--cream);
    transform: translateY(-3px);
}

.cta .btn-secondary {
    border-color: white;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--warm-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    color: var(--deep-teal);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-details p {
    color: var(--medium-gray);
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--deep-teal);
    font-weight: 600;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--cream);
    border-radius: 10px;
    font-family: var(--primary-font);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input[type="date"] {
    color: var(--charcoal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--warm-gold);
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.1);
}

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

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    max-width: 400px;
    animation: slideInRight 0.3s ease;
}

.notification-success {
    border-left: 5px solid var(--sage-green);
}

.notification-error {
    border-left: 5px solid #e74c3c;
}

.notification-info {
    border-left: 5px solid var(--sky-blue);
}

.notification-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
}

.notification-content i {
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.notification-success i {
    color: var(--sage-green);
}

.notification-error i {
    color: #e74c3c;
}

.notification-info i {
    color: var(--sky-blue);
}

.notification-content span {
    flex: 1;
    color: var(--charcoal);
    line-height: 1.5;
}

.notification-close {
    background: none;
    border: none;
    color: var(--medium-gray);
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    flex-shrink: 0;
}

.notification-close:hover {
    color: var(--charcoal);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Footer - Simplified */
.footer {
    background: var(--deep-teal);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    background: white;
    padding: 8px;
    border-radius: 8px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-logo p {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-contact i {
    color: var(--sunflower-yellow);
    width: 20px;
}

.footer-nav h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--sunflower-yellow);
    font-weight: 600;
}

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

.footer-nav ul li {
    margin-bottom: 0.5rem;
}

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

.footer-nav ul li a:hover {
    color: var(--sunflower-yellow);
}

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--warm-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        padding: 0.5rem;
        display: block;
        margin: 0.5rem 0;
    }
    
    .logo-image {
        height: 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-greeting {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-hero {
        min-width: auto;
    }
    
    .features-grid,
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-main {
        align-items: center;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .course-card.featured {
        transform: none;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .course-image img {
        max-height: 150px;
    }
    
    /* Mobile-specific positioning for Spanish Foundations bicycle image - shifted opposite way */
    .course-card:first-child .course-image img {
        object-position: center 85%;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 52px;
    }
    
    .footer-logo-image {
        height: 45px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-greeting {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .feature-card,
    .course-card {
        margin: 0 10px;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .course-image img {
        max-height: 120px;
    }
    
    /* Small mobile-specific positioning for Spanish Foundations bicycle image - shifted opposite way */
    .course-card:first-child .course-image img {
        object-position: center 90%;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--warm-gold);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .hero-scroll,
    .cta,
    .footer {
        display: none;
    }
    
    .hero {
        height: auto;
        padding: 2rem 0;
    }
    
    * {
        box-shadow: none !important;
    }
}