/* ==========================================
   GLOBAL STYLES & COLOR SCHEME
   ========================================== */

:root {
    --primary-color: #ffffff;
    --secondary-dark: #000000;
    --accent-gold: #d4a574;
    --accent-coral: #ff6b6b;
    --accent-teal: #00d4d4;
    --text-light: #ffffff;
    --text-muted: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #000000;
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--text-light);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(135deg, #ff1493, #1e90ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

p {
    color: var(--text-muted);
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-coral);
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-coral));
    color: var(--primary-color);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 165, 116, 0.3);
}

.btn-secondary {
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    background: transparent;
}

.btn-secondary:hover {
    background: var(--accent-gold);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-enroll {
    background: #ffffff;
    color: #10b981;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-enroll:hover {
    background: #f0f0f0;
}

.btn-menu {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 8px 14px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-menu:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ff1493;
    color: #ff1493;
}

.btn-learn-more {
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 10px 24px;
    margin-top: 1rem;
}

.btn-learn-more:hover {
    background: var(--accent-gold);
    color: var(--primary-color);
}

.btn-cta {
    background: var(--accent-coral);
    color: white;
    padding: 14px 36px;
    font-size: 1rem;
    margin-top: 1rem;
}

.btn-cta:hover {
    background: var(--accent-gold);
    transform: scale(1.05);
}

/* ==========================================
   NAVIGATION BAR
   ========================================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo h1 {
    font-size: 1.5rem;
    color: #ffffff;
}

.logo-img {
    width: 120px;
    height: 120px;
    margin-right: 1rem;
    vertical-align: middle;
    border-radius: 50%;
}

.logo {
    display: flex;
    align-items: center;
}

.nav-link {
    color: #ffffff;
    font-weight: 500;
    position: relative;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-menu {
    display: flex;
    gap: 1rem;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    border: 2px solid var(--accent-gold);
    border-radius: 6px;
    background: var(--accent-gold);
    transition: var(--transition);
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.hamburger:hover {
    background: var(--accent-coral);
    border-color: var(--accent-coral);
    transform: scale(1.05);
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: #ffffff;
    margin: 3px 0;
    border-radius: 1px;
    transition: var(--transition);
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #000000;
    background-blend-mode: overlay;
    transition: background 0.3s ease;
}

.hero-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    opacity: 0.1;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-gold);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -50px;
    right: -50px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -30px;
    right: 10%;
    background: var(--accent-coral);
}

.hero-content {
    max-width: 700px;
    z-index: 10;
    text-align: center;
    padding: 2rem;
}

.hero-headline {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    line-height: 1.2;
}

.hero-subheadline {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   SECTION CONTAINER
   ========================================== */

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* ==========================================
   ABOUT PAGE HERO
   ========================================== */

.about-hero {
    margin-top: 80px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0f2d 0%, #1a0a2e 50%, #2d0f3f 100%);
    padding: 4rem 2rem;
    text-align: center;
}

.about-title {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ff1493, #1e90ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-subtitle {
    font-size: 1.3rem;
    color: #ffffff;
    opacity: 0.9;
}

/* ==========================================
   VALUES SECTION
   ========================================== */

.values-section {
    background: #000000;
    padding: 6rem 2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-box {
    background: linear-gradient(135deg, #1a0a0f 0%, #2d0f3f 100%);
    border: 2px solid #ff1493;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.value-box:hover {
    border-color: #1e90ff;
    box-shadow: 0 15px 40px rgba(30, 144, 255, 0.2);
    transform: translateY(-5px);
}

.value-box h3 {
    font-size: 1.4rem;
    color: #ff1493;
    margin-bottom: 1rem;
}

.value-box p {
    color: #ffffff;
    line-height: 1.7;
}

/* ==========================================
   WHY ALMA CASTELLANA SECTION
   ========================================== */

.why-us {
    background: #000000;
    padding: 6rem 2rem;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.value-card {
    background: linear-gradient(135deg, #1a0a0f 0%, #2d0f3f 100%);
    border: 1px solid rgba(255, 20, 147, 0.4);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.value-card:hover {
    background: rgba(212, 165, 116, 0.1);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 40px rgba(212, 165, 116, 0.15);
}

.value-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

.value-card p {
    line-height: 1.7;
    color: var(--text-muted);
}

.why-us-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ==========================================
   MISSION SECTION
   ========================================== */

.mission {
    background: #000000;
    padding: 6rem 2rem;
}

.mission-content {
    text-align: center;
}

.mission-quote {
    font-size: 1.4rem;
    color: #ffffff;
    font-style: italic;
    line-height: 2;
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

/* ==========================================
   PROGRAMS SECTION
   ========================================== */

.programs {
    background: #000000;
    padding: 6rem 2rem;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.program-card {
    background: linear-gradient(135deg, #0a0f2d 0%, #1a0a2e 100%);
    border: 1px solid rgba(30, 144, 255, 0.4);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-card:hover {
    background: rgba(0, 212, 212, 0.08);
    border-color: var(--accent-teal);
    box-shadow: 0 20px 50px rgba(0, 212, 212, 0.2);
}

.program-icon {
    font-size: 3.5rem;
    color: var(--accent-teal);
    margin-bottom: 1.5rem;
}

.program-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.program-card p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* ==========================================
   CTA STRIP
   ========================================== */

.cta-strip {
    background: #000000;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-strip::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-strip .section-container {
    position: relative;
    z-index: 1;
}

.cta-strip h2 {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.cta-strip p {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* ==========================================
   MODAL
   ========================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: var(--text-muted);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--accent-gold);
}

.modal-content h2 {
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.modal-content p {
    margin-bottom: 1.5rem;
}

.modal-actions {
    margin-bottom: 2rem;
}

.quick-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quick-form input,
.quick-form select {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(212, 165, 116, 0.05);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
}

.quick-form input::placeholder,
.quick-form select {
    color: var(--text-muted);
}

.quick-form input:focus,
.quick-form select:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(212, 165, 116, 0.1);
}

/* ==========================================
   MENU MODAL
   ========================================== */

.menu-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    margin: 5% auto;
    padding: 2.5rem;
    border: 2px solid #ff1493;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    animation: slideIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(255, 20, 147, 0.3);
    color: #ffffff;
    max-height: 85vh;
    overflow-y: auto;
}

.menu-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #ff1493;
}

.menu-header h2 {
    font-size: 1.8rem;
    color: #ff1493;
    margin-bottom: 0.5rem;
}

.menu-header h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.menu-tagline {
    font-size: 0.95rem;
    color: #1e90ff;
    font-style: italic;
}

.menu-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-section:last-child {
    border-bottom: none;
}

.menu-section h4 {
    font-size: 1.1rem;
    color: #ff1493;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.menu-section p {
    margin-bottom: 0.8rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu-section a {
    color: #1e90ff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.menu-section a:hover {
    color: #ff1493;
    text-decoration: underline;
}

.menu-links {
    list-style: none;
    padding: 0;
}

.menu-links li {
    margin-bottom: 0.8rem;
}

.menu-links a {
    color: #ffffff;
    display: block;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.menu-links a:hover {
    color: #ff1493;
    padding-left: 0.5rem;
}

.menu-social {
    display: flex;
    gap: 1.5rem;
}

.menu-social a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 20, 147, 0.2);
    border: 1px solid #ff1493;
    border-radius: 8px;
    color: #ff1493;
    text-decoration: none;
    transition: all 0.3s ease;
}

.menu-social a:hover {
    background: #ff1493;
    color: #000000;
}

.menu-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 2px solid #1e90ff;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #999999;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-logo {
    font-size: 1.5rem;
    color: #ffffff;
}

.footer-tagline {
    color: #ffffff;
    font-size: 0.9rem;
}

.footer-section p,
.footer-section a {
    color: #ffffff;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section a:hover {
    color: #e0e0e0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-gold);
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: #ffffff;
    font-size: 0.85rem;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.2rem;
    }

    .hero-subheadline {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

.nav-menu {
    display: none;
}

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        padding: 1rem 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        z-index: 1001;
    }

    .nav-link {
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .nav-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn-enroll {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 1rem;
    }

    .btn-menu {
        display: none;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        min-height: 48px; /* Touch-friendly */
        font-size: 1rem;
    }

    .mission-quote {
        font-size: 1.1rem;
    }

    .cta-strip h2 {
        font-size: 1.5rem;
    }

    .value-grid,
    .programs-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .value-card,
    .program-card,
    .value-box {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .social-links {
        justify-content: center;
    }

    .modal-content,
    .menu-modal-content {
        width: 95%;
        margin: 10% auto;
        max-height: 80vh;
        overflow-y: auto;
    }

    .menu-modal-content {
        padding: 1.5rem;
    }

    .menu-section {
        margin-bottom: 1.5rem;
    }

    .menu-social {
        flex-direction: column;
        gap: 1rem;
    }

    .menu-social a {
        justify-content: center;
        padding: 1rem;
    }

    .section-container {
        padding: 2rem 1rem;
    }

    .about-hero,
    .why-us,
    .mission,
    .programs,
    .values-section,
    .cta-strip {
        padding: 3rem 1rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .logo-img {
        width: 80px;
        height: 80px;
    }

    .logo h1 {
        font-size: 1.3rem;
    }

    .navbar {
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(10px);
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.2rem;
    }

    .hero-headline {
        font-size: 1.8rem;
    }

    .hero-subheadline {
        font-size: 0.9rem;
    }

    .hero-ctas {
        gap: 0.5rem;
    }

    .btn {
        padding: 12px 16px;
        font-size: 0.9rem;
        min-height: 44px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .nav-menu.active {
        padding: 1rem;
    }

    .nav-link {
        padding: 12px 0;
        font-size: 1rem;
    }

    .modal-content,
    .menu-modal-content {
        width: 98%;
        margin: 5% auto;
        padding: 1rem;
    }

    .menu-header h2 {
        font-size: 1.5rem;
    }

    .menu-header h3 {
        font-size: 1.2rem;
    }

    .value-card,
    .program-card,
    .value-box {
        padding: 1rem;
    }

    .value-icon,
    .program-icon {
        font-size: 2.5rem;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 1.1rem;
    }

    .social-links a {
        width: 50px;
        height: 50px;
    }

    .cta-strip h2 {
        font-size: 1.3rem;
    }

    .cta-strip p {
        font-size: 1rem;
    }
}
