/* --- 1. VARIABLES & FONTS --- */
:root {
    --primary-color: #4a0072; 
    --primary-light: #7b1fa2; 
    --dark-grey: #2c2c2c;     
    --light-grey: #f4f4f9;
    --white: #ffffff;
    --accent-gold: #C5A059;
    --font-header: 'Nunito', sans-serif;
    --font-body: 'Nunito Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); color: var(--dark-grey); line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; object-fit: cover; }

/* --- 2. TOP BAR --- */
.top-bar { background-color: var(--dark-grey); color: #e0e0e0; padding: 12px 0; font-size: 0.9rem; font-weight: 600; border-bottom: 3px solid var(--primary-color); }
.container { max-width: 1150px; margin: 0 auto; padding: 0 20px; }
.flex-bar { display: flex; justify-content: space-between; align-items: center; }
.top-link { color: #e0e0e0; display: inline-flex; align-items: center; gap: 8px; transition: 0.3s; }
.top-link:hover { color: var(--white); }
.separator { margin: 0 15px; color: #555; }
.portal-link { background: rgba(255,255,255,0.1); padding: 5px 15px; border-radius: 20px; font-size: 0.85rem; }
.portal-link:hover { background: var(--primary-color); color: white; }

/* --- 3. HEADER & MENU --- */
header { background: var(--white); box-shadow: 0 4px 20px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; }
.logo h1 { font-family: var(--font-header); font-size: 1.6rem; font-weight: 800; color: var(--primary-color); line-height: 1.1; }
.logo .sub-logo { font-family: var(--font-body); font-size: 0.85rem; font-weight: 700; color: var(--dark-grey); text-transform: uppercase; letter-spacing: 2px; }

.nav-links { display: flex; gap: 35px; align-items: center; }
.nav-links a { font-family: var(--font-header); font-weight: 700; font-size: 1rem; color: var(--dark-grey); position: relative; }
.nav-links a::after { content: ''; position: absolute; width: 0; height: 3px; bottom: -6px; left: 0; background-color: var(--primary-color); transition: width 0.3s ease-in-out; border-radius: 2px; }
.nav-links a:hover { color: var(--primary-color); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active::after { width: 100%; }

/* Buttons */
.btn-apply { background: var(--primary-color); color: var(--white) !important; padding: 12px 28px; border-radius: 30px; box-shadow: 0 5px 15px rgba(74, 0, 114, 0.2); }
.btn-apply:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-apply::after { display: none; } 

/* Hamburger Icon (Hidden on Desktop) */
.hamburger { display: none; font-size: 1.8rem; color: var(--primary-color); cursor: pointer; }

/* --- 4. HERO SECTION --- */
.hero-section { position: relative; height: 650px; overflow: hidden; background: #000; }
.slide { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background-size: cover; background-position: center; 
    opacity: 0; transition: opacity 1s ease; 
}
.slide.active { opacity: 1; z-index: 1; }

/* Animations */
.anim-zoom { animation: zoomEffect 6s infinite alternate; }
.anim-slide-left { animation: slideLeft 6s infinite alternate; }
.anim-slide-right { animation: slideRight 6s infinite alternate; }
.anim-pulse { animation: pulseEffect 6s infinite alternate; }

@keyframes zoomEffect { from { transform: scale(1); } to { transform: scale(1.15); } }
@keyframes slideLeft { from { transform: translateX(0) scale(1.1); } to { transform: translateX(-5%) scale(1.1); } }
@keyframes slideRight { from { transform: translateX(0) scale(1.1); } to { transform: translateX(5%) scale(1.1); } }
@keyframes pulseEffect { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }

/* Hero Text */
.hero-text-layer {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2;
    background: linear-gradient(rgba(74, 0, 114, 0.5), rgba(0, 0, 0, 0.6));
    display: flex; align-items: center; pointer-events: none;
}
.hero-content { pointer-events: auto; }
.hero-content h2 { font-family: var(--font-header); color: var(--white); font-size: 3.5rem; font-weight: 800; margin-bottom: 20px; }
.hero-content p { color: #f0f0f0; font-size: 1.3rem; margin-bottom: 35px; max-width: 650px; }

.btn-primary { background: var(--white); color: var(--primary-color); padding: 15px 35px; font-weight: 800; border-radius: 30px; display: inline-block; }
.btn-primary:hover { background: var(--primary-light); color: white; }

/* Circular Slider Buttons */
.prev-btn, .next-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.2); backdrop-filter: blur(5px);
    color: white; border: 1px solid rgba(255,255,255,0.4);
    cursor: pointer; z-index: 10; transition: 0.3s; padding: 0; font-size: 1.2rem;
}
.prev-btn:hover, .next-btn:hover { background: var(--primary-color); border-color: var(--primary-color); }
.prev-btn { left: 30px; } .next-btn { right: 30px; }

/* --- 5. SECTIONS & GRID --- */
.section-padding { padding: 90px 0; }
.bg-light { background-color: var(--light-grey); }
.text-center { text-align: center; }
.section-tag { color: var(--primary-light); font-weight: 800; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 10px; }
.section-title { font-family: var(--font-header); font-size: 2.5rem; font-weight: 800; color: var(--primary-color); margin-bottom: 25px; }
.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.img-frame { border-radius: 10px; box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
.text-link { color: var(--primary-color); font-weight: 700; border-bottom: 2px solid var(--primary-light); }

/* --- 6. GALLERY --- */
.gallery-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; margin-top: 30px;
}
.gallery-item { position: relative; overflow: hidden; border-radius: 8px; height: 250px; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; transition: transform 0.5s ease; object-fit: cover; }
.gallery-item:hover img { transform: scale(1.1); }
.overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; 
    background: linear-gradient(transparent, rgba(74,0,114,0.9));
    color: white; padding: 20px; opacity: 0; transition: 0.3s; font-weight: 700;
}
.gallery-item:hover .overlay { opacity: 1; }

/* --- 7. CTA & FOOTER --- */
.cta-section { background: var(--dark-grey); color: var(--white); padding: 90px 0; }
.cta-buttons { margin-top: 30px; }
.btn-white { background: var(--white); color: var(--dark-grey); padding: 15px 30px; border-radius: 30px; font-weight: 800; margin-right: 15px; display: inline-block; }
.btn-border { border: 2px solid var(--white); color: var(--white); padding: 13px 28px; border-radius: 30px; font-weight: 800; display: inline-block; }
.btn-white:hover { background: var(--primary-light); color: var(--white); }

footer { background: var(--primary-color); color: rgba(255,255,255,0.85); padding-top: 70px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; padding-bottom: 50px; }
.footer-col h3 { font-family: var(--font-header); color: var(--white); margin-bottom: 25px; font-weight: 700; font-size: 1.3rem; }
.footer-bottom { background: #32004d; padding: 25px 0; margin-top: 20px; }

/* --- 8. MOBILE RESPONSIVE FIXES --- */
@media (max-width: 768px) {
    .hamburger { display: block; } /* Show Hamburger */
    .top-bar { display: none; } /* Hide Top Bar */

    .nav-links {
        position: absolute; top: 100%; right: -100%; width: 75%; height: 100vh;
        background: var(--white); flex-direction: column; align-items: center; justify-content: flex-start;
        padding-top: 60px; transition: 0.4s ease; box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    .nav-links.active { right: 0; }
    .nav-links li { margin: 20px 0; }

    .hero-section { height: 85vh; }
    .hero-overlay h2 { font-size: 2rem; line-height: 1.2; }
    .hero-content p { font-size: 1rem; max-width: 90%; }
    
    .grid-2-col, .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    
    .section-padding { padding: 50px 0; }
    .container { padding: 0 15px; }
    
    .prev-btn, .next-btn { width: 40px; height: 40px; font-size: 1rem; }
    .prev-btn { left: 10px; } .next-btn { right: 10px; }
}