/* Default Template Styles */

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    overflow-x: hidden;
}

/* Header Styles */
header {
    text-align: center;
    padding: 120px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-weight: 700;
}

header p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Button Group */
.btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all var(--animation-speed) ease;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: white;
    color: var(--primary);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.btn-secondary {
    background-color: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Main Content */
main {
    background-color: var(--light);
}

/* Section Styles */
section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark);
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
    opacity: 0.7;
    font-weight: 400;
}

/* Services */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: all var(--animation-speed) ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 600;
}

.service-card p {
    color: var(--text);
    opacity: 0.8;
    line-height: 1.6;
}

/* Showcase */
#showcase {
    background-color: var(--dark);
    color: white;
}

#showcase .section-title {
    color: white;
}

#showcase .section-subtitle {
    color: rgba(255,255,255,0.8);
}

.showcase-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.showcase-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all var(--animation-speed) ease;
}

.showcase-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.showcase-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 40px 30px 30px;
    transform: translateY(100%);
    transition: transform var(--animation-speed) ease;
}

.showcase-item:hover .showcase-overlay {
    transform: translateY(0);
}

.showcase-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white;
}

.showcase-overlay p {
    color: rgba(255,255,255,0.9);
    font-weight: 400;
}

/* Testimonials */
.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: all var(--animation-speed) ease;
}

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

.rating {
    color: #f39c12;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.testimonial-card blockquote {
    margin-bottom: 30px;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text);
    opacity: 0.9;
}

.client-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.client-info strong {
    display: block;
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 600;
}

.client-info span {
    display: block;
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.7;
    margin-top: 5px;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: all var(--animation-speed) ease;
    display: block;
    padding: 10px;
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

footer p {
    margin-bottom: 15px;
    opacity: 0.9;
    font-weight: 400;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 20px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background-color: var(--primary);
    color: white;
    padding: 8px 16px;
    z-index: 10000;
    text-decoration: none;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Particles */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Announcement Modal */
.announcement-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.announcement-box {
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: relative;
    animation: slideUp 0.3s ease;
}

.announcement-content {
    margin-bottom: 30px;
}

.announcement-content h2 {
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 700;
}

.announcement-content p {
    line-height: 1.7;
    color: var(--text);
    opacity: 0.9;
}

.announcement-confirm {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin-left: auto;
}

.announcement-confirm:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0; 
        transform: translateY(50px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 80px 20px;
    }
    
    header h1 {
        font-size: 2.5rem;
    }
    
    header p {
        font-size: 1.1rem;
    }
    
    .btn-group {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    section {
        padding: 60px 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-container,
    .showcase-container,
    .testimonials-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .showcase-item img {
        height: 250px;
    }
    
    .social-links {
        gap: 15px;
    }
}

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}