/* Astro3 Template - Elegant Dark & Gold Design */
.template-astro3 {
    --gold: #d4af37;
    --gold-light: #f4e4a6;
    --gold-dark: #b8941f;
    --dark: #1a1a1a;
    --dark-light: #2d2d2d;
    --dark-lighter: #404040;
    font-family: 'Playfair Display', serif;
}

/* Hero Section */
.hero-video {
    min-height: 100vh;
    background: linear-gradient(45deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(212,175,55,0.3)"/><circle cx="80" cy="80" r="1" fill="rgba(212,175,55,0.3)"/><circle cx="60" cy="30" r="0.5" fill="rgba(212,175,55,0.2)"/><circle cx="30" cy="70" r="0.5" fill="rgba(212,175,55,0.2)"/><circle cx="50" cy="50" r="1.5" fill="rgba(212,175,55,0.1)"/></svg>');
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

/* Hero Content Elements */
.hero-subtitle {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--gold);
    border-radius: 50px;
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-subtitle:hover {
    background: rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    margin-bottom: 3rem;
}

.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-gold:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Expertise Section */
.expertise-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: var(--dark);
}

.section-description {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 2rem;
    color: var(--dark-light);
}

.expertise-list {
    margin-top: 2rem;
}

.expertise-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.expertise-item i {
    font-size: 1.5rem;
    margin-top: 0.25rem;
    color: var(--gold);
}

.expertise-item h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.expertise-item p {
    margin: 0;
    opacity: 0.7;
    color: var(--dark-light);
}

.expertise-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.floating-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gold);
    color: var(--dark);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
}

/* Services Section */
.services-section {
    background: var(--dark) !important;
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1" fill="rgba(212,175,55,0.1)"/><circle cx="90" cy="90" r="1" fill="rgba(212,175,55,0.1)"/><circle cx="70" cy="20" r="0.5" fill="rgba(212,175,55,0.1)"/><circle cx="20" cy="80" r="0.5" fill="rgba(212,175,55,0.1)"/></svg>');
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-item {
    text-align: center;
    padding: 2rem;
    background: var(--dark-light);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s;
}

.service-item:hover::before {
    left: 100%;
}

.service-item:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--dark);
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-item h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.testimonials-carousel {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 0 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.testimonial-content .stars {
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.testimonial-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--dark);
}

.testimonial-author h5 {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: var(--gold);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    position: relative;
}

.bg-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--dark-light);
}

.cta-buttons .btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-dark-elegant {
    background: var(--dark);
    border-color: var(--dark);
    color: var(--gold);
}

.btn-dark-elegant:hover {
    background: var(--dark-light);
    border-color: var(--dark-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26, 26, 26, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .expertise-item {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-buttons .btn {
        display: block;
        margin-bottom: 1rem;
    }
    
    .cta-buttons .btn {
        display: block;
        margin-bottom: 1rem;
    }
}

/* Animation Enhancements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    background-size: 200px 100%;
    animation: shimmer 2s infinite;
}

.aos-animate {
    animation: fadeInUp 0.8s ease-out;
}

/* Utility Classes */
.text-elegant {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.border-gold {
    border-color: var(--gold) !important;
}

.bg-dark-elegant {
    background: var(--dark) !important;
}

.bg-dark-light {
    background: var(--dark-light) !important;
}

/* Loading States */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}