:root {
    --primary-red: #e63946;
    --secondary-black: #000000;
    --accent-white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #343a40;
    --text-dark: #2d3436;
    --text-light: #636e72;
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    background-color: var(--light-gray);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* Loader Styles */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-black) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-out;
}

.loader-content {
    text-align: center;
    animation: fadeInUp 1s ease;
}

.loader-icon {
    font-size: 5rem;
    color: var(--accent-white);
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

.loader-text {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-white);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.loader-subtext {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.progress-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin-top: 1.5rem;
    overflow: hidden;
}

.progress {
    height: 100%;
    width: 0%;
    background: var(--accent-white);
    border-radius: 2px;
    transition: width 0.3s ease;
}

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

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

/* Header Styles */
.top-bar {
    background-color: var(--secondary-black);
    color: var(--accent-white);
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar a {
    color: var(--accent-white);
    text-decoration: none;
    margin-right: 15px;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: var(--primary-red);
}

.navbar {
    background-color: var(--accent-white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 15px 0;
    transition: all 0.3s;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 2rem;
    color: var(--primary-red) !important;
    display: flex;
    align-items: center;
}

.navbar-brand i {
    margin-right: 10px;
    color: var(--secondary-black);
}

.nav-link {
    font-weight: 500;
    color: var(--dark-gray) !important;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-red) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width 0.3s;
}

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

.nav-link.active {
    color: var(--primary-red) !important;
}

.nav-link.active::after {
    width: 100%;
}

/* Page Header */
.page-header {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(230,57,70,0.5) 50%, rgba(0,0,0,0.7) 100%), 
                url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
}

.page-header-content {
    text-align: center;
    color: var(--accent-white);
    z-index: 2;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 300;
}

.breadcrumb {
    background: transparent;
    justify-content: center;
    margin-top: 1.5rem;
}

.breadcrumb-item {
    color: rgba(255,255,255,0.8);
}

.breadcrumb-item.active {
    color: var(--accent-white);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.6);
}

/* Contact Section */
.contact-section {
    margin-bottom: 4rem;
}

.contact-card {
    background: var(--accent-white);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--medium-gray);
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red) 0%, #b71c1c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--accent-white);
}

.contact-details h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.contact-details p {
    margin: 0;
    color: var(--text-light);
}

.contact-details a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: var(--primary-red);
}

/* Form Styles */
.form-label {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(230, 57, 70, 0.15);
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-red) 0%, #b71c1c 100%);
    color: var(--accent-white);
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.6);
}

/* Map Section */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 4rem;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* Social Media Fixed Buttons */
.social-fixed {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-white);
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-btn.whatsapp {
    background: #25D366;
}

.social-btn.telegram {
    background: #0088cc;
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* FAQ Section */
.faq-section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-black);
    border-radius: 5px;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.accordion-button {
    font-weight: 600;
    color: var(--dark-gray);
    background-color: var(--accent-white);
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-red);
    color: var(--accent-white);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    padding: 1.5rem;
    color: var(--text-light);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--secondary-black) 0%, #1a1a1a 100%);
    color: var(--accent-white);
    padding: 5rem 0 2rem;
    margin-top: 6rem;
    position: relative;
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1511379938547-c1f69419868d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
    opacity: 0.05;
    z-index: -1;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-red);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--primary-red);
    padding-left: 8px;
}

.footer-links a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    color: var(--primary-red);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    color: var(--accent-white);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.social-icons a:hover {
    background: var(--primary-red);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    position: relative;
    z-index: 2;
}

.footer-bottom a {
    color: var(--accent-white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--primary-red);
    text-decoration: underline;
}

/* Success Message */
.success-message {
    display: none;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .contact-card {
        padding: 2rem;
    }

    .contact-info-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .page-header {
        height: 300px;
    }
}