/* 
  LIWA Fashions - Premium CSS Design System
  Author: Antigravity
  Version: 1.1
*/

:root {
    --primary-gold: #D4AF37;
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F5E050 50%, #B8860B 100%);
    --bg-dark: #0A0A0A;
    --bg-darker: #050505;
    --text-white: #FFFFFF;
    --text-gray: #A0A0A0;
    --accent-cream: #F5F5DC;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-alt: 'Outfit', sans-serif;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-logo {
    font-family: var(--font-heading);
    font-size: 3rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 0.5; transform: scale(0.95); }
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .luxury-text {
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 10px;
}

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

.section-padding {
    padding: 100px 0;
}

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

h4.text-gold {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    font-weight: 700;
}

.btn-primary {
    display: inline-block;
    padding: 15px 35px;
    background: var(--gold-gradient);
    color: var(--bg-dark);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.4);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:active::after {
    width: 300px;
    height: 300px;
}

.btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    background: transparent;
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    border: 1px solid var(--primary-gold);
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--bg-dark);
}

/* Glassmorphism Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 5px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-10px);
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: var(--transition-smooth);
}

header.sticky {
    background: rgba(10, 10, 10, 0.95);
    padding: 15px 0;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
}

.logo span {
    color: var(--primary-gold);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--primary-gold);
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('hero_fashion_institute.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-gray);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s 0.3s forwards;
}

.hero-btns {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s 0.6s forwards;
    display: flex;
    gap: 20px;
    justify-content: center;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img {
    position: relative;
}

.about-img img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 20px 20px 0 var(--primary-gold);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--gold-gradient);
    color: var(--bg-dark);
    padding: 30px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.experience-badge span {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.about-content h2 {
    font-size: 2.8rem;
    margin: 15px 0 25px;
}

.about-content p {
    color: var(--text-gray);
    margin-bottom: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary-gold);
}

.about-features {
    list-style: none;
    margin-bottom: 40px;
}

.about-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-top: 10px;
}

/* Courses Section */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.course-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.course-img {
    height: 250px;
    overflow: hidden;
}

.course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.course-info {
    padding: 30px;
    flex-grow: 1;
}

.course-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.duration {
    color: var(--primary-gold);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.course-info p:not(.duration) {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.view-details {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.view-details:hover {
    gap: 15px;
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(212, 175, 55, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-overlay i {
    font-size: 2rem;
    color: var(--bg-dark);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Testimonials */
.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.testimonial-container {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    margin: 0 10px;
}

.student-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.student-info img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid var(--primary-gold);
}

.review {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--accent-cream);
}

.stars {
    color: var(--primary-gold);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border: 1px solid var(--primary-gold);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: var(--primary-gold);
}

/* Career Section */
.career-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.career-card {
    text-align: center;
    padding: 30px;
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.career-card span {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255,255,255,0.05);
    display: block;
    margin-bottom: 10px;
}

.career-card:hover {
    background: var(--primary-gold);
    color: var(--bg-dark);
}

.career-card:hover span {
    color: rgba(0,0,0,0.1);
}

/* CTA Section */
.cta-box {
    text-align: center;
    padding: 60px;
}

.cta-box h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-gray);
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-details {
    margin-top: 45px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 35px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
}

.contact-item:hover {
    border-color: var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--primary-gold);
    width: 30px;
    text-align: center;
}

.contact-item div p {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--primary-gold);
    margin-bottom: 5px;
    font-weight: 600;
    font-family: var(--font-alt);
}

.contact-item div h4 {
    font-size: 1.2rem;
    font-weight: 500;
    font-family: var(--font-body);
    color: var(--text-white);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    padding-left: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-decoration: none;
    border-radius: 50%;
    transition: var(--transition-smooth);
    border: 1px solid var(--glass-border);
}

.social-links a:hover {
    background: var(--primary-gold);
    color: var(--bg-dark);
}

/* Contact Form Enhancements */
.contact-form-container {
    perspective: 1000px;
}

.contact-form {
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212,175,55,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-gold);
    font-size: 1.1rem;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 15px 15px 15px 45px; /* Extra padding for icons */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-group textarea {
    padding-top: 15px;
    resize: none;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--primary-gold);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.form-group input:focus + i, 
.form-group select:focus + i, 
.form-group textarea:focus + i {
    transform: translateY(-50%) scale(1.2);
    text-shadow: 0 0 10px var(--primary-gold);
}

/* Custom Select Styling */
select option {
    background: var(--bg-dark);
    color: var(--text-white);
}

.btn-submit {
    width: 100%;
    padding: 18px;
    font-size: 1rem;
    margin-top: 10px;
}

/* Floating WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* Footer */
footer {
    background: var(--bg-darker);
    padding: 80px 0 20px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-about p {
    margin-top: 20px;
    color: var(--text-gray);
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 25px;
    font-size: 1.2rem;
}

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

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links ul li a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    color: var(--text-gray);
}

.footer-contact i {
    color: var(--primary-gold);
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-gray);
    font-size: 0.9rem;
}

.footer-bottom strong {
    color: var(--primary-gold);
    font-weight: 600;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}

.close-lightbox {
    position: absolute;
    top: 50px;
    right: 50px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.shape {
    position: absolute;
    background: rgba(212, 175, 55, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-1000px) rotate(360deg); opacity: 0; }
}

/* Media Queries */
@media (max-width: 1024px) {
    .courses-grid, .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .career-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-wrapper, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .about-img {
        margin-bottom: 50px;
    }
    
    .experience-badge {
        right: 0;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .courses-grid, .features-grid, .career-grid, .gallery-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .hamburger {
        display: block;
        color: var(--text-white);
        font-size: 1.5rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 20px;
        text-align: center;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .nav-links.active {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}
