/* Color Palette & Variables */
:root {
    --bg-color: #333130; 
    --text-primary: #FFFFFF;
    --text-secondary: #CCCCCC;
    --divider-color: rgba(255, 255, 255, 0.2);
    --header-bg: rgba(40, 38, 37, 0.95);
    --accent: #D4AF37; /* Luxury gold accent */
}

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

html, body {
    /* Allow vertical scrolling while preventing horizontal overflow */
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    width: 100vw;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header Styles */
.main-header {
    width: 100%;
    height: 80px;
    background-color: var(--header-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--divider-color);
}

.header-left {
    display: flex;
    align-items: center;
}

.header-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo {
    height: 75px; /* Use maximum height within the 80px header */
    width: auto;
    max-width: 250px; /* Strictly prevent huge images from pushing the menu */
    object-fit: contain;
    object-position: left center;
}

.header-center {
    display: flex;
    flex-grow: 1;
    justify-content: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 3rem;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: color 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--accent);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.login-icon {
    color: var(--text-secondary);
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.login-icon:hover {
    color: var(--accent);
}

/* Google Translate Widget Override */
#google_translate_element select {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--divider-color);
    padding: 5px 10px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
}
.goog-te-gadget {
    color: transparent !important;
}

/* Layout Container */
.container {
    min-height: calc(100vh - 80px); /* Adjust for header height */
    height: auto;
    padding-bottom: 5rem;
    margin-top: 80px;
    width: 100%;
    max-width: 1600px;
    padding: 2vh 5vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: clamp(1rem, 4vh, 4rem);
    
    animation: fadeIn 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    opacity: 0;
}

/* Content Section */
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.5rem, 2vh, 2rem);
    width: 100%;
    flex: 0 1 auto;
    text-align: center;
}

.coming-soon {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.2rem, 5vw, 4.5rem); 
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    text-transform: uppercase;
}

.divider {
    width: clamp(60px, 10vw, 120px);
    height: 1px;
    background-color: var(--divider-color);
}

.description {
    font-size: clamp(0.95rem, 1.8vw, 1.3rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    max-width: 700px;
    line-height: 1.6;
    padding: 0 1rem;
    text-align: center;
}

/* Contact Section (WhatsApp) */
.contact {
    margin-top: 1vh;
    flex: 0 1 auto;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    gap: clamp(0.8rem, 2vw, 1.2rem);
    text-decoration: none;
    color: var(--text-primary);
    padding: clamp(0.8rem, 2vh, 1.5rem) clamp(1.5rem, 4vw, 3rem);
    border: 1px solid var(--divider-color);
    border-radius: 50px;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.whatsapp-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.whatsapp-icon {
    width: clamp(22px, 3vw, 32px);
    height: clamp(22px, 3vw, 32px);
}

.phone-number {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    letter-spacing: 0.1em;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        height: auto;
        padding: 1rem;
        gap: 1rem;
        position: relative; /* Prevent overlapping on very small screens */
    }
    .header-center {
        width: 100%;
    }
    .nav-links {
        gap: 1rem;
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
    }
    .container {
        margin-top: 0;
        height: auto;
    }
    html, body {
        overflow-y: auto; /* Allow scrolling on mobile if header gets too tall */
    }
}

/* Programs Grid Styles */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    margin-top: 2rem;
    padding-bottom: 4rem;
}

.program-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--divider-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.program-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--divider-color);
}

.program-image-placeholder {
    width: 100%;
    height: 200px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--divider-color);
    color: var(--text-secondary);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
}

.program-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.program-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.program-content .price {
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.view-details-btn {
    margin-top: auto;
    text-decoration: none;
    color: var(--text-primary);
    padding: 0.8rem 0;
    border: 1px solid var(--divider-color);
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s;
    background: transparent;
}

.view-details-btn:hover {
    background: var(--text-primary);
    color: #000;
}
