/* ===== CSS RESET & BASE STYLES ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary-bg: #0f0f0f;
    --secondary-bg: #121212;
    --card-bg: #1a1a1a;
    --accent-gold: #D4AF37;
    --accent-gold-light: #E5C158;
    --accent-gold-dark: #B8962E;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #666666;
    --border-color: #2a2a2a;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 10px 40px rgba(212, 175, 55, 0.2);
    --transition: all 0.3s ease;
    --radius: 14px;
    --radius-sm: 8px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background-color: var(--primary-bg); color: var(--text-primary); line-height: 1.7; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; font-weight: 700; line-height: 1.3; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-subtitle { color: var(--accent-gold); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 15px; display: block; }
.section-title { font-size: clamp(32px, 5vw, 48px); margin-bottom: 20px; }
.section-desc { color: var(--text-secondary); max-width: 600px; margin: 0 auto; font-size: 16px; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 36px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition); border: none; gap: 10px; position: relative; overflow: hidden; }
.btn::before { 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 ease, height 0.6s ease; }
.btn:hover::before { width: 300px; height: 300px; }
.btn-primary { background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark)); color: var(--primary-bg); }
.btn-primary:hover { background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold)); transform: translateY(-3px) scale(1.02); box-shadow: var(--shadow-gold), 0 0 30px rgba(212, 175, 55, 0.4); }
.btn-primary:active { transform: translateY(-1px) scale(0.98); }
.btn-secondary { background: transparent; color: var(--text-primary); border: 2px solid var(--accent-gold); }
.btn-secondary:hover { background: var(--accent-gold); color: var(--primary-bg); transform: translateY(-3px) scale(1.02); box-shadow: 0 0 30px rgba(212, 175, 55, 0.3); }
.btn-secondary:active { transform: translateY(-1px) scale(0.98); }
.btn i { transition: transform 0.3s ease; }
.btn:hover i { transform: translateX(3px); }

/* ===== NAVIGATION ===== */
.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 20px 0; transition: var(--transition); }
.navbar.scrolled { background: rgba(15, 15, 15, 0.95); backdrop-filter: blur(20px); padding: 15px 0; box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5); }
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: 800; color: var(--text-primary); transition: var(--transition); }
.logo:hover { transform: scale(1.05); }
.logo img { height: 40px; width: auto; transition: var(--transition); }
.logo:hover img { transform: rotate(-5deg) scale(1.1); }
.logo-text span { color: var(--accent-gold); transition: var(--transition); }
.logo:hover .logo-text span { text-shadow: 0 0 20px rgba(212, 175, 55, 0.5); }
.nav-menu { display: flex; gap: 40px; }
.nav-link { font-size: 14px; font-weight: 500; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--accent-gold); transition: var(--transition); }
.nav-link:hover { color: var(--accent-gold); }
.nav-link:hover::after { width: 100%; }
.nav-cta { padding: 12px 24px; font-size: 13px; }
.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 1001; }
.hamburger span { width: 28px; height: 2px; background: var(--text-primary); transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ===== HERO SECTION ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: center/cover no-repeat; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(15, 15, 15, 0.9) 100%); }
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 900px; padding: 0 20px; }
.hero-badge { display: inline-block; padding: 10px 24px; background: rgba(212, 175, 55, 0.15); border: 1px solid var(--accent-gold); border-radius: 50px; color: var(--accent-gold); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 30px; }
.hero-title { font-size: clamp(40px, 8vw, 80px); font-weight: 800; margin-bottom: 24px; line-height: 1.1; }
.hero-title span { background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: clamp(18px, 3vw, 24px); color: var(--text-secondary); margin-bottom: 40px; font-weight: 300; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 12px; text-transform: uppercase; letter-spacing: 2px; animation: bounce 2s infinite; }
.hero-scroll i { font-size: 20px; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); } 40% { transform: translateX(-50%) translateY(-10px); } 60% { transform: translateX(-50%) translateY(-5px); } }

/* ===== ABOUT SECTION ===== */
.about { background: var(--secondary-bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { position: relative; border-radius: var(--radius); overflow: hidden; }
.about-image img { width: 100%; height: 500px; object-fit: cover; transition: var(--transition); }
.about-image:hover img { transform: scale(1.05); }
.about-image-badge { position: absolute; bottom: 30px; left: 30px; background: var(--accent-gold); color: var(--primary-bg); padding: 20px 30px; border-radius: var(--radius-sm); text-align: center; }
.about-image-badge .number { font-size: 36px; font-weight: 800; font-family: 'Montserrat', sans-serif; line-height: 1; }
.about-image-badge .text { font-size: 13px; font-weight: 600; text-transform: uppercase; }
.about-content { padding-right: 40px; }
.about-content .section-subtitle, .about-content .section-title { text-align: left; }
.about-content .section-title { margin-bottom: 24px; }
.about-text { color: var(--text-secondary); margin-bottom: 30px; font-size: 16px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; }
.about-feature { display: flex; align-items: center; gap: 12px; }
.about-feature i { width: 40px; height: 40px; background: rgba(212, 175, 55, 0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent-gold); font-size: 16px; }
.about-feature span { font-weight: 500; font-size: 15px; }

/* ===== SERVICES SECTION ===== */
.services { background: var(--primary-bg); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card { background: var(--card-bg); border-radius: var(--radius); padding: 40px 30px; text-align: center; border: 1px solid var(--border-color); transition: var(--transition); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light)); transform: scaleX(0); transition: var(--transition); }
.service-card:hover { transform: translateY(-10px); border-color: var(--accent-gold); box-shadow: var(--shadow); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 80px; height: 80px; background: rgba(212, 175, 55, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; transition: var(--transition); }
.service-icon i { font-size: 32px; color: var(--accent-gold); transition: var(--transition); }
.service-card:hover .service-icon { background: var(--accent-gold); }
.service-card:hover .service-icon i { color: var(--primary-bg); }
.service-title { font-size: 20px; margin-bottom: 15px; }
.service-desc { color: var(--text-secondary); font-size: 14px; line-height: 1.8; }

/* ===== WHY CHOOSE US SECTION ===== */
.why-us { background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--primary-bg) 100%); position: relative; }
.why-us::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('../images/why-us-bg.jpg') center/cover no-repeat; opacity: 0.05; }
.why-us-content { position: relative; z-index: 1; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 80px; }
.feature-card { background: rgba(26, 26, 26, 0.8); backdrop-filter: blur(10px); border-radius: var(--radius); padding: 40px 25px; text-align: center; border: 1px solid var(--border-color); transition: var(--transition); }
.feature-card:hover { border-color: var(--accent-gold); transform: translateY(-5px); }
.feature-icon { width: 70px; height: 70px; background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.feature-icon i { font-size: 28px; color: var(--primary-bg); }
.feature-title { font-size: 18px; margin-bottom: 10px; }
.feature-desc { color: var(--text-secondary); font-size: 14px; }
.counters-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 900px; margin: 0 auto; }
.counter-item { text-align: center; padding: 40px; background: var(--card-bg); border-radius: var(--radius); border: 1px solid var(--border-color); }
.counter-number { font-size: 56px; font-weight: 800; font-family: 'Montserrat', sans-serif; color: var(--accent-gold); line-height: 1; margin-bottom: 10px; }
.counter-label { color: var(--text-secondary); font-size: 15px; text-transform: uppercase; letter-spacing: 2px; }

/* ===== GALLERY SECTION ===== */
.gallery { background: var(--primary-bg); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(212, 175, 55, 0); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.gallery-item:hover .gallery-overlay { background: rgba(212, 175, 55, 0.3); }
.gallery-overlay i { font-size: 40px; color: var(--text-primary); opacity: 0; transform: scale(0.5); transition: var(--transition); }
.gallery-item:hover .gallery-overlay i { opacity: 1; transform: scale(1); }

/* Lightbox */
.lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.95); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.active { display: flex; }
.lightbox-content { max-width: 90%; max-height: 90%; }
.lightbox-content img { max-width: 100%; max-height: 85vh; border-radius: var(--radius); }
.lightbox-close { position: absolute; top: 30px; right: 30px; width: 50px; height: 50px; background: var(--accent-gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); }
.lightbox-close:hover { transform: rotate(90deg); }
.lightbox-close i { font-size: 24px; color: var(--primary-bg); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; background: rgba(255, 255, 255, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); }
.lightbox-nav:hover { background: var(--accent-gold); }
.lightbox-nav i { font-size: 20px; color: var(--text-primary); }
.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

/* ===== TESTIMONIALS SECTION ===== */
.testimonials { background: var(--secondary-bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testimonial-card { background: var(--card-bg); border-radius: var(--radius); padding: 40px; border: 1px solid var(--border-color); transition: var(--transition); position: relative; }
.testimonial-card:hover { border-color: var(--accent-gold); transform: translateY(-5px); }
.testimonial-quote { position: absolute; top: 20px; right: 30px; font-size: 60px; color: rgba(212, 175, 55, 0.2); font-family: Georgia, serif; line-height: 1; }
.testimonial-stars { color: var(--accent-gold); font-size: 18px; margin-bottom: 20px; letter-spacing: 3px; }
.testimonial-text { color: var(--text-secondary); font-size: 15px; line-height: 1.8; margin-bottom: 25px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 15px; }
.testimonial-avatar { width: 55px; height: 55px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent-gold); }
.testimonial-info h4 { font-size: 16px; margin-bottom: 3px; }
.testimonial-info span { color: var(--text-muted); font-size: 13px; }

/* ===== CTA SECTION ===== */
.cta { background: linear-gradient(135deg, var(--accent-gold-dark), var(--accent-gold)); padding: 100px 0; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('../images/cta-bg.jpg') center/cover no-repeat; opacity: 0.1; }
.cta-content { position: relative; z-index: 1; }
.cta-title { font-size: clamp(32px, 5vw, 52px); color: var(--primary-bg); margin-bottom: 20px; }
.cta-text { color: rgba(0, 0, 0, 0.7); font-size: 18px; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta .btn { background: var(--primary-bg); color: var(--accent-gold); }
.cta .btn:hover { background: var(--text-primary); transform: translateY(-3px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3); }

/* ===== CONTACT SECTION ===== */
.contact { background: var(--primary-bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-form { background: var(--card-bg); border-radius: var(--radius); padding: 50px; border: 1px solid var(--border-color); }
.contact-form h3 { font-size: 28px; margin-bottom: 10px; }
.contact-form p { color: var(--text-secondary); margin-bottom: 30px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 14px; }
.form-group input, .form-group textarea { width: 100%; padding: 16px 20px; background: var(--secondary-bg); border: 1px solid var(--border-color); border-radius: var(--radius-sm); color: var(--text-primary); font-family: inherit; font-size: 15px; transition: var(--transition); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent-gold); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.contact-form .btn { width: 100%; }
.contact-info { display: flex; flex-direction: column; gap: 30px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 20px; }
.contact-info-icon { width: 60px; height: 60px; background: rgba(212, 175, 55, 0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-icon i { font-size: 24px; color: var(--accent-gold); }
.contact-info-content h4 { font-size: 18px; margin-bottom: 5px; }
.contact-info-content p { color: var(--text-secondary); font-size: 15px; }
.contact-info-content a { color: var(--text-secondary); }
.contact-info-content a:hover { color: var(--accent-gold); }
.contact-map { border-radius: var(--radius); overflow: hidden; height: 250px; border: 1px solid var(--border-color); }
.contact-map iframe { width: 100%; height: 100%; filter: grayscale(100%) invert(90%); }

/* ===== FOOTER ===== */
.footer { background: var(--secondary-bg); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px; margin-bottom: 60px; }
.footer-brand .logo { margin-bottom: 20px; display: inline-block; }
.footer-brand p { color: var(--text-secondary); font-size: 14px; margin-bottom: 25px; line-height: 1.8; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 45px; height: 45px; background: var(--card-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); transition: var(--transition); border: 1px solid var(--border-color); }
.footer-social a:hover { background: var(--accent-gold); color: var(--primary-bg); border-color: var(--accent-gold); }
.footer-title { font-size: 18px; margin-bottom: 25px; position: relative; padding-bottom: 15px; }
.footer-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background: var(--accent-gold); }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-secondary); font-size: 14px; transition: var(--transition); }
.footer-links a:hover { color: var(--accent-gold); padding-left: 5px; }
.footer-newsletter p { color: var(--text-secondary); font-size: 14px; margin-bottom: 20px; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input { flex: 1; padding: 14px 18px; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: var(--radius-sm); color: var(--text-primary); font-size: 14px; }
.newsletter-form input:focus { outline: none; border-color: var(--accent-gold); }
.newsletter-form button { padding: 14px 20px; background: var(--accent-gold); border: none; border-radius: var(--radius-sm); color: var(--primary-bg); cursor: pointer; transition: var(--transition); }
.newsletter-form button:hover { background: var(--accent-gold-light); }
.footer-bottom { padding-top: 30px; border-top: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { color: var(--text-muted); font-size: 14px; }
.back-to-top { width: 50px; height: 50px; background: var(--accent-gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary-bg); cursor: pointer; transition: var(--transition); position: fixed; bottom: 30px; right: 30px; opacity: 0; visibility: hidden; z-index: 999; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-5px); box-shadow: var(--shadow-gold); }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 992px) {
    .nav-menu { position: fixed; top: 0; right: -100%; width: 300px; height: 100vh; background: var(--secondary-bg); flex-direction: column; padding: 100px 40px 40px; gap: 25px; transition: var(--transition); border-left: 1px solid var(--border-color); }
    .nav-menu.active { right: 0; }
    .hamburger { display: flex; }
    .nav-cta { display: none; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-content { padding-right: 0; order: 2; }
    .about-image { order: 1; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .section { padding: 70px 0; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; max-width: 280px; }
    .about-features { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .counters-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-form { padding: 30px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } .counter-number { font-size: 42px; } .lightbox-nav { display: none; } }

/* ===== POPUP MODAL ===== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.popup-overlay.active { display: flex; }
.popup-modal {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 50px 40px;
    text-align: center;
    max-width: 420px;
    width: 100%;
    border: 1px solid var(--border-color);
    animation: popupSlideIn 0.3s ease;
}
@keyframes popupSlideIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.popup-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 40px;
}
.popup-icon.success { background: rgba(76, 175, 80, 0.15); color: #4CAF50; }
.popup-icon.error { background: rgba(244, 67, 54, 0.15); color: #F44336; }
.popup-icon.loading { background: rgba(212, 175, 55, 0.15); color: var(--accent-gold); }
.popup-title { font-size: 24px; margin-bottom: 15px; color: var(--text-primary); }
.popup-message { color: var(--text-secondary); font-size: 15px; line-height: 1.7; margin-bottom: 30px; }
.popup-btn { min-width: 120px; }

/* Loading spinner */
.popup-icon.loading i { animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Form loading state */
.contact-form.loading { pointer-events: none; opacity: 0.7; }
.contact-form .btn.loading { position: relative; color: transparent; }
.contact-form .btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-bg);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ===== MICRO INTERACTIONS & ANIMATIONS ===== */

/* Scroll Reveal Animations */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-60px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-left.active { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(60px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right.active { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.8); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-scale.active { opacity: 1; transform: scale(1); }

/* Staggered animations for grid items */
.stagger-item { opacity: 0; transform: translateY(30px); }
.stagger-item.active { animation: staggerFadeIn 0.6s ease forwards; }
.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }
.stagger-item:nth-child(5) { animation-delay: 0.5s; }
.stagger-item:nth-child(6) { animation-delay: 0.6s; }
@keyframes staggerFadeIn { to { opacity: 1; transform: translateY(0); } }

/* Floating animation */
.float { animation: float 3s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Pulse glow animation */
.pulse-glow { animation: pulseGlow 2s ease-in-out infinite; }
@keyframes pulseGlow { 0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.3); } 50% { box-shadow: 0 0 40px rgba(212, 175, 55, 0.6); } }

/* Shimmer effect for text */
.shimmer { background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-gold-light) 50%, var(--accent-gold) 100%); background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: shimmer 3s linear infinite; }
@keyframes shimmer { to { background-position: 200% center; } }

/* Card 3D tilt effect */
.tilt-card { transition: transform 0.3s ease, box-shadow 0.3s ease; transform-style: preserve-3d; }
.tilt-card:hover { transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) translateY(-10px); box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.4), -5px -5px 20px rgba(212, 175, 55, 0.1); }

/* Magnetic button effect placeholder */
.magnetic { transition: transform 0.2s ease; }

/* Gradient border animation */
.gradient-border { position: relative; }
.gradient-border::before { content: ''; position: absolute; inset: -2px; background: linear-gradient(45deg, var(--accent-gold), var(--accent-gold-dark), var(--accent-gold-light), var(--accent-gold)); border-radius: inherit; z-index: -1; background-size: 300% 300%; animation: gradientMove 4s ease infinite; opacity: 0; transition: opacity 0.3s ease; }
.gradient-border:hover::before { opacity: 1; }
@keyframes gradientMove { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* Text highlight on hover */
.highlight-text { position: relative; display: inline; }
.highlight-text::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 30%; background: rgba(212, 175, 55, 0.3); z-index: -1; transition: width 0.4s ease; }
.highlight-text:hover::after { width: 100%; }

/* Icon bounce on hover */
.icon-bounce:hover i { animation: iconBounce 0.5s ease; }
@keyframes iconBounce { 0%, 100% { transform: translateY(0); } 25% { transform: translateY(-8px); } 50% { transform: translateY(0); } 75% { transform: translateY(-4px); } }

/* Typewriter cursor */
.typewriter::after { content: '|'; animation: blink 1s infinite; color: var(--accent-gold); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Parallax background */
.parallax-bg { background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; }

/* Glass morphism effect */
.glass { background: rgba(26, 26, 26, 0.6); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.1); }

/* Neon glow text */
.neon-text { text-shadow: 0 0 10px rgba(212, 175, 55, 0.5), 0 0 20px rgba(212, 175, 55, 0.3), 0 0 30px rgba(212, 175, 55, 0.2); }

/* Underline slide animation */
.underline-slide { position: relative; }
.underline-slide::after { content: ''; position: absolute; bottom: -2px; left: 50%; width: 0; height: 2px; background: var(--accent-gold); transition: all 0.3s ease; transform: translateX(-50%); }
.underline-slide:hover::after { width: 100%; }

/* Scale up on scroll */
.scale-in { transform: scale(0.9); opacity: 0; transition: all 0.6s ease; }
.scale-in.active { transform: scale(1); opacity: 1; }

/* Rotate icon on hover */
.rotate-hover:hover { transform: rotate(360deg); transition: transform 0.6s ease; }

/* Card shine effect */
.shine-effect { position: relative; overflow: hidden; }
.shine-effect::after { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%); transform: rotate(30deg) translateX(-100%); transition: transform 0.6s ease; }
.shine-effect:hover::after { transform: rotate(30deg) translateX(100%); }

/* Fade in up for hero elements */
.fade-in-up { animation: fadeInUp 1s ease forwards; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Zoom in effect */
.zoom-in { animation: zoomIn 0.8s ease forwards; }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: scale(1); } }

/* Slide in from left */
.slide-in-left { animation: slideInLeft 0.8s ease forwards; }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } }

/* Slide in from right */
.slide-in-right { animation: slideInRight 0.8s ease forwards; }
@keyframes slideInRight { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } }

/* Smooth count up number */
.count-animate { transition: all 0.1s ease; }

/* Interactive cursor follower placeholder */
.cursor-follow { position: fixed; pointer-events: none; z-index: 9999; }

/* Scroll Progress Bar */
.scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; background: rgba(255, 255, 255, 0.1); z-index: 9999; }
.scroll-progress-bar { height: 100%; background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light)); width: 0%; transition: width 0.1s ease; box-shadow: 0 0 10px rgba(212, 175, 55, 0.5); }

/* Form group focus effect */
.form-group { position: relative; transition: var(--transition); }
.form-group.focused { transform: translateX(5px); }
.form-group.focused label { color: var(--accent-gold); }
.form-group.focused input, .form-group.focused textarea { border-color: var(--accent-gold); box-shadow: 0 0 20px rgba(212, 175, 55, 0.15); }

/* Enhanced hero animations */
.hero-badge { animation: fadeInUp 0.8s ease 0.2s both; }
.hero-title { animation: fadeInUp 0.8s ease 0.4s both; }
.hero-subtitle { animation: fadeInUp 0.8s ease 0.6s both; }
.hero-buttons { animation: fadeInUp 0.8s ease 0.8s both; }
.hero-scroll { animation: fadeInUp 0.8s ease 1s both, bounce 2s infinite 1.5s; }

/* Glow effect on section titles */
.section-title { transition: text-shadow 0.3s ease; }
.section-header:hover .section-title { text-shadow: 0 0 30px rgba(255, 255, 255, 0.1); }

/* Enhanced about image */
.about-image::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, transparent 50%); opacity: 0; transition: opacity 0.4s ease; z-index: 1; border-radius: var(--radius); }
.about-image:hover::before { opacity: 1; }

/* Counter number glow */
.counter-number { transition: text-shadow 0.3s ease, transform 0.3s ease; }
.counter-item:hover .counter-number { text-shadow: 0 0 30px rgba(212, 175, 55, 0.6); transform: scale(1.1); }

/* Gallery item enhanced hover */
.gallery-item::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%); opacity: 0; transition: opacity 0.3s ease; z-index: 1; }
.gallery-item:hover::before { opacity: 1; }

/* Footer social icons enhanced */
.footer-social a { transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.footer-social a:hover { transform: translateY(-5px) rotate(10deg); }

/* Contact info item hover */
.contact-info-item { transition: transform 0.3s ease, background 0.3s ease; padding: 15px; border-radius: var(--radius-sm); margin: -15px; }
.contact-info-item:hover { transform: translateX(10px); background: rgba(212, 175, 55, 0.05); }

/* Newsletter form enhanced */
.newsletter-form input { transition: all 0.3s ease; }
.newsletter-form input:focus { transform: scale(1.02); }
.newsletter-form button { transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.newsletter-form button:hover { transform: scale(1.1) rotate(-5deg); }

/* Back to top enhanced */
.back-to-top { transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.back-to-top:hover { transform: translateY(-8px) scale(1.1); box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4); }

/* CTA section pulse */
.cta { position: relative; }
.cta::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%); animation: ctaPulse 3s ease-in-out infinite; }
@keyframes ctaPulse { 0%, 100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.02); } }

/* Testimonial quote animation */
.testimonial-quote { transition: all 0.3s ease; }
.testimonial-card:hover .testimonial-quote { transform: scale(1.2) rotate(-5deg); color: rgba(212, 175, 55, 0.4); }

/* Star rating shimmer */
.testimonial-stars { transition: all 0.3s ease; }
.testimonial-card:hover .testimonial-stars { text-shadow: 0 0 20px rgba(212, 175, 55, 0.8); letter-spacing: 5px; }
