/* --- Header & Navigation --- */
.top-header {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 1.25rem 0;
    font-size: 1.1rem;
    animation: slideDown 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.top-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    animation: shimmer 3s infinite;
}

.top-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-header-left {
    display: flex;
    gap: 1.875rem;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-2px);
}

.contact-info svg {
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.contact-info:hover svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px var(--accent-color));
}

.contact-info a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.contact-info a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent-color);
}

.contact-info a:hover::after {
    width: 100%;
}

.top-header-right {
    display: flex;
    align-items: center;
    gap: 1.875rem;
}

.top-header-link {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    padding: 0.625rem 1.25rem;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.top-header-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(212, 175, 55, 0.2);
    transition: width 0.3s ease;
    border-radius: 4px;
}

.top-header-link:hover {
    color: var(--accent-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.top-header-link:hover::before {
    width: 100%;
}

.top-social-links {
    display: flex;
    gap: 0.75rem;
}

.top-social-links a {
    color: var(--text-light);
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.top-social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--accent-color);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.top-social-links a:hover {
    color: var(--text-dark);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.top-social-links a:hover::before {
    opacity: 1;
    transform: scale(1);
}

.top-social-links a svg {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.main-header {
    background-color: var(--text-light);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.8s ease;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.875rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-dark);
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-image {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.nav-links {
    display: none; /* Hidden on mobile by default */
}

.nav-links a {
    margin: 0 1.25rem;
    color: var(--text-muted);
    font-weight: 500;
}

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

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    margin-left: 0.25rem;
}

.dropdown.open .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--text-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 0.5rem 0;
    pointer-events: none;
}

.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Hover effect for dropdown menu items */
.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
    z-index: -1;
}

.dropdown-menu a:hover {
    background: var(--light-bg);
    color: var(--primary-color);
    transform: translateX(5px);
}

.dropdown-menu a:hover::before {
    width: 4px;
}



/* Mobile Navigation */
.nav-links.mobile-open {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--text-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 5rem 0 2rem;
    z-index: 1001;
    overflow-y: auto;
    animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-links.mobile-open > a:first-child {
    margin-top: 1rem;
}

.nav-links.mobile-open a {
    display: block;
    padding: 1rem 2rem;
    margin: 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.nav-links.mobile-open a:hover {
    background-color: var(--light-bg);
}

.nav-links.mobile-open .dropdown {
    border-bottom: none;
}

.nav-links.mobile-open .dropdown-toggle {
    justify-content: space-between;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.1rem;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.nav-links.mobile-open .dropdown-toggle:hover {
    background-color: var(--light-bg);
}

.nav-links.mobile-open .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--light-bg);
    margin: 0;
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
}

.nav-links.mobile-open .dropdown.open .dropdown-menu {
    max-height: 500px;
    padding: 0.5rem 0;
}

.nav-links.mobile-open .dropdown-menu a {
    padding: 0.75rem 3rem;
    border-bottom: none;
    font-size: 1rem;
    background: transparent;
    color: var(--text-muted);
}

.nav-links.mobile-open .dropdown-menu a:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
}

.nav-links.mobile-open .dropdown-toggle::after {
    content: '+';
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.nav-links.mobile-open .dropdown.open .dropdown-toggle::after {
    content: '−';
    transform: rotate(180deg);
}

.nav-button {
     display: none; /* Hidden on mobile */
}

.mobile-menu-button {
    display: block; /* Shown on mobile */
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.mobile-menu-button:hover {
    background-color: var(--light-bg);
}

.mobile-menu-button svg {
    width: 30px;
    height: 30px;
    color: var(--text-dark);
}

.mobile-menu-button.active {
    z-index: 1002;
    position: relative;
}

.mobile-menu-button.active svg {
    color: var(--primary-color);
}

/* Mobile Menu Backdrop */
.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 3rem 0;
    color: var(--text-light);
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #a00030 100%);
}

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

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.25rem;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero .btn {
    margin: 0 0.5rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* --- Hero Slideshow --- */
.hero-slideshow {
    position: relative;
    height: 70vh;
    color: var(--text-light);
    overflow: hidden;
}

.slides-container {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    text-align: left;
    max-width: 900px;
    animation: fadeIn 1.5s ease-out;
    padding-left: 2rem;
}

.slide-content h1 {
    font-size: 3.75rem;
    margin-bottom: 1.25rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.slide-content p {
    font-size: 1.5rem;
    color: #e0e0e0;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
    max-width: 600px;
}

.slide-content .btn {
    margin: 0 0.625rem 0 0;
}

/* Slide Arrows */
.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background-color: rgba(0,0,0,0.4);
    color: var(--text-light);
    border: none;
    cursor: pointer;
    padding: 1rem;
    font-size: 1.5rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.slide-arrow:hover {
    background-color: rgba(0,0,0,0.7);
}

.prev-slide {
    left: 2rem;
}

.next-slide {
    right: 2rem;
}

/* Slide Dots */
.slide-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active {
    background-color: var(--text-light);
    transform: scale(1.2);
}

/* --- Footer --- */
.main-footer {
    background-color: #1f1f1f;
    color: var(--text-light);
    padding: 4rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h5 {
    font-size: 1rem;
    color: #e0e0e0;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

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

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul a {
    color: var(--text-muted);
}

.footer-col ul a:hover {
    color: var(--text-light);
}

.social-links {
    display: flex;
}

.social-links a {
    margin-right: 1rem;
}

.social-links svg {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- Responsive Design --- */
@media (min-width: 768px) {
    .nav-links { display: flex; align-items: center; }
    .nav-button { display: block; }
    .mobile-menu-button { display: none; }
    .footer-grid { grid-template-columns: repeat(5, 1fr); }
    .footer-col-about { grid-column: span 1; }
    
    .logo-image {
        height: 50px;
        max-width: 200px;
    }
}

@media (max-width: 767px) {
    .top-header {
        padding: 0.75rem 0;
        font-size: 0.9rem;
    }
    
    .top-header-content {
        flex-direction: row;
        gap: 0.5rem;
        text-align: center;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .top-header-left {
        flex-direction: row;
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .top-header-right {
        flex-direction: row;
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .top-social-links {
        justify-content: center;
    }
    
    .contact-info {
        font-size: 0.8rem;
        gap: 0.25rem;
    }
    
    .contact-info svg {
        width: 14px;
        height: 14px;
    }
    
    .top-header-link {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .logo-image {
        height: 40px;
        max-width: 150px;
    }
    
    .footer-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    /* Hero slideshow mobile adjustments */
    .slide {
        justify-content: center;
    }
    
    .slide-content {
        text-align: center;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
        max-width: 100%;
    }
    
    .slide-content .btn {
        margin: 0.5rem;
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 35px;
        max-width: 120px;
    }
}