﻿/* 
* Website Tập đoàn Mica - Main Stylesheet
* Font chữ: Playfair Display (tiêu đề) và Calibri (nội dung)
*/

:root {
    --primary-color: #c11f1f;
    --secondary-color: #252525;
    --light-color: #f8f8f8;
    --dark-color: #212529;
}

body {
    padding-top: 80px;
    font-family: Arial, sans-serif;
    color: var(--secondary-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .section-title {
    font-family: Arial, sans-serif;
    font-weight: 600;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #9a1919;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    text-transform: uppercase;
    overflow: visible;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 2px;
    width: 100px;
    background-color: var(--primary-color);
}

.section-title .mica-title {
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 170px;
    line-height: 130px;
    letter-spacing: 4%;
    text-align: center;
    vertical-align: middle;
    background: linear-gradient(180deg, rgba(21, 20, 20, 0.08) 40.96%, rgba(140, 140, 140, 0.08) 58.42%, rgba(206, 206, 206, 0.08) 65.7%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-bottom: 0;
    margin-top: 60px;
    padding-top: 30px;
    text-transform: uppercase;
    position: relative;
    display: block;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
}

.section-title .line-title {
    font-family: Arial, sans-serif;
    font-weight: 500;
    font-size: 30px;
    position: relative;
    display: inline-block;
    padding: 0 20px;
    margin-top: -20px;
}

.section-title .line-title::before,
.section-title .line-title::after {
    content: '';
    position: absolute;
    top: 50%;
    height: 1px;
    width: 100px;
    background-color: var(--primary-color);
}

.section-title .line-title::before {
    right: 100%;
}

.section-title .line-title::after {
    left: 100%;
}

/* Header & Navigation */
.navbar {
    padding: 10px 0;
    background-color: white;
    border-bottom: 1px solid #eee;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    transition: all 0.3s ease;
}

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

/* Custom hamburger menu */
.custom-toggler {
    display: block !important;
    border: none;
    cursor: pointer;
    background: transparent;
    padding: 0;
    z-index: 1100;
    position: relative;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
}

.menu-icon-bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
}

/* Animation khi menu được mở */
.custom-toggler[aria-expanded="true"] .menu-icon-bar {
    background-color: white;
}

.custom-toggler[aria-expanded="true"] .menu-icon-bar:first-child {
    transform: rotate(45deg) translate(6px, 6px);
}

.custom-toggler[aria-expanded="true"] .menu-icon-bar:nth-child(2) {
    opacity: 0;
}

.custom-toggler[aria-expanded="true"] .menu-icon-bar:last-child {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Sidebar menu */
.navbar-collapse {
    display: block !important;
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background-color: var(--primary-color);
    color: white;
    padding: 0;
    transition: all 0.3s ease;
    overflow-y: hidden;
    z-index: 9999;
}

.navbar-collapse.show {
    right: 0;
}

/* Close icon */
.navbar-collapse::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");
    background-size: cover;
    cursor: pointer;
    z-index: 1060;
}

/* Style cho menu sidebar */
.navbar-nav {
    padding: 150px 0 30px;
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
}

.navbar-collapse .navbar-nav {
    align-items: stretch;
    justify-content: flex-start;
}

/* Reset bất kỳ flexbox row nào */
.navbar-collapse .navbar-nav.flex-row,
.navbar-collapse .navbar-nav.flex-sm-row,
.navbar-collapse .navbar-nav.flex-md-row,
.navbar-collapse .navbar-nav.flex-lg-row,
.navbar-collapse .navbar-nav.flex-xl-row,
.navbar-collapse .navbar-nav.flex-xxl-row,
.navbar-collapse .navbar-nav.row {
    flex-direction: column !important;
}

.navbar-nav .nav-item {
    margin: 0;
    list-style: none;
    width: 100%;
}

.navbar-nav .nav-item + .nav-item {
    margin-top: 0;
}

.navbar-nav .nav-link {
    color: white;
    font-weight: 500;
    font-size: 16px;
    padding: 16px 25px;
    margin: 0;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-family: Calibri, 'Segoe UI', sans-serif;
    text-decoration: none;
    position: relative;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.navbar-nav .nav-link.active {
    color: white;
    font-weight: 600;
}

.navbar-nav .nav-link::after {
    display: none;
}

/* Icon mũi tên cho submenu */
.navbar-nav .nav-item.has-submenu .nav-link::after {
    content: '›';
    display: inline-block;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    font-size: 24px;
    color: white;
}

/* Language selector */
.language-selector {
    position: absolute;
    top: 30px;
    left: 25px;
    display: flex;
    align-items: center;
}

.language-selector img {
    width: 24px;
    height: auto;
    margin-right: 5px;
}

.language-selector span {
    color: white;
    font-weight: 500;
    margin-left: 5px;
}

/* Footer trong sidebar */
.sidebar-footer {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    padding: 0 25px;
}

.navbar-brand {
    padding: 0;
    display: flex;
    align-items: center;
    height: 70px;
    margin-right: 30px;
}

.navbar-brand img {
    max-height: 50px;
    max-width: 240px;
    height: auto;
    width: auto;
    object-fit: contain;
}

/* Hero Banner */
.hero-banner {
    background: url('../images/hero-banner.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    min-height: 600px;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero-banner h1, 
.hero-banner h2, 
.hero-banner p {
    transition: opacity 0.3s ease;
}

.hero-banner h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-banner h2 {
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 400;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.hero-banner p {
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.scroll-down-btn {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    text-align: center;
}

.scroll-down-btn a {
    display: inline-block;
    color: #fff;
    font-size: 24px;
    width: 50px;
    height: 50px;
    line-height: 46px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.scroll-down-btn a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Business Areas */
.business-areas {
    background: linear-gradient(to bottom, rgba(245, 222, 222, 0.5), #ffffff);
    padding: 60px 0;
}

.business-cards-container {
    margin-right: -2.5px !important;
    margin-left: -2.5px !important;
    display: flex;
    flex-wrap: wrap;
    width: 100% !important;
}

.business-card-wrapper {
    padding-left: 2.5px !important;
    padding-right: 2.5px !important;
    margin-bottom: 5px !important;
    box-sizing: border-box !important;
    float: left !important;
}

.business-card-wrapper .business-card {
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.business-card {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 390px;
    aspect-ratio: 3/4 !important;
    height: auto !important;
    min-height: 400px !important;
}

.business-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.business-card:hover img {
    transform: scale(1.1);
}

.business-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    color: white;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.business-name h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Company Intro */
.company-intro {
    background: linear-gradient(135deg, #1a1a1a, #333333);
    padding: 80px 0;
}

.company-intro h2.section-title {
    text-align: left;
}

.company-intro h2.section-title::after {
    left: 0;
    transform: none;
}

.stat-item {
    padding: 15px;
}

.stat-number {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* News and Events */
.news-events {
    padding: 80px 0;
    background-color: #f9f3f3;
}

.news-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 450px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-content p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
    flex-grow: 1;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    position: relative;
}

.read-more::after {
    content: '→';
    margin-left: 5px;
    transition: margin-left 0.3s;
}

.read-more:hover::after {
    margin-left: 10px;
}

/* Footer - Commented out to avoid conflict with new footer */
/*
.footer {
    background-color: #f8f8f8;
    padding: 60px 0 20px;
}

.footer h5 {
    font-weight: 600;
    color: var(--secondary-color);
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #666;
    transition: color 0.3s;
}

.footer ul li a:hover {
    color: var(--primary-color);
}
*/

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .hero-banner {
        height: 100vh;
        min-height: 500px;
    }
    
    .hero-banner h1 {
        font-size: 2.5rem;
    }
    
    .business-card, .news-card {
        margin-bottom: 30px;
    }
    
    .company-intro {
        text-align: center;
    }
    
    .company-intro h2.section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Chỉnh khoảng cách ngang giữa các thẻ */
.row.g-1 > [class*="col-"] {
    padding-right: 2.5px;
    padding-left: 2.5px;
}

.row.g-1 {
    margin-right: -2.5px;
    margin-left: -2.5px;
}

@media (max-width: 767px) {
    .hero-banner {
        height: 100vh;
        min-height: 400px;
    }
    
    .hero-banner h1 {
        font-size: 2rem;
    }
    
    .hero-banner h2 {
        font-size: 1.1rem;
        letter-spacing: 1.5px;
    }
    
    .stat-item {
        margin-bottom: 30px;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
    animation: fadeIn 1s ease forwards;
}

body.menu-open {
    overflow: hidden;
}

/* Đảm bảo các cột có kích thước chính xác */
@media (min-width: 768px) {
    .business-card-wrapper {
        width: 33.333333% !important;
    }
}

/* Custom Grid với khoảng cách 5px */
.custom-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    width: 100%;
    gap: 20px;
    overflow-x: hidden !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    justify-content: flex-start;
    align-items: stretch;
}

.grid-item {
    width: calc(33.333% - 14px);
    min-width: 280px;
    box-sizing: border-box;
    max-width: 100% !important;
    flex: 0 0 calc(33.333% - 14px);
    margin-bottom: 20px;
    margin-right: 0;
    flex-basis: calc(33.333% - 14px);
}

@media (max-width: 991px) {
    .custom-grid {
        justify-content: flex-start;
    }
    
    .grid-item {
        width: calc(50% - 10px);
        min-width: 250px;
        flex: 0 0 calc(50% - 10px);
        margin-right: 0;
    }
}

@media (min-width: 992px) {
    .grid-item {
        width: calc(33.333% - 14px);
        flex: 0 0 calc(33.333% - 14px);
        min-width: 280px;
        margin-right: 0;
        flex-basis: calc(33.333% - 14px);
    }
    
    /* Override tất cả CSS khác cho desktop */
    .business-areas .custom-grid .grid-item {
        width: calc(33.333% - 14px) !important;
        flex: 0 0 calc(33.333% - 14px) !important;
        flex-basis: calc(33.333% - 14px) !important;
        min-width: 280px !important;
        max-width: calc(33.333% - 14px) !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding: 0 !important;
    }
}

@media (max-width: 576px) {
    .grid-item {
        width: 100%;
        min-width: 100%;
        flex: 0 0 100%;
    }
}

.business-card {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 3/4 !important;
    height: auto !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 400px !important;
}

/* CSS cho phần Giới thiệu Tập Đoàn */
.company-intro-section {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 900px;
    background: #1F1F1F;
    overflow: hidden;
    padding-top: 30px;
    padding-bottom: 50px;
}

.company-intro-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: url('../images/bg-intro.jpg') center/cover no-repeat;
    background-blend-mode: plus-lighter;
    filter: blur(1px);
    z-index: 0;
}

.company-intro-container {
    z-index: 1;
}

.about-title-gradient {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 200px;
    text-align: left;
    padding-left: 50px;
    font-family: Arial, sans-serif;
    font-style: italic;
    font-weight: 500;
    font-size: 120px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: linear-gradient(182.15deg, rgba(234, 179, 179, 0.2) 31.66%, rgba(106, 106, 106, 0.05) 70.73%, rgba(106, 106, 106, 0) 80.16%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-top: 100px;
    text-shadow: 0px 0px 2px rgba(255,255,255,0.1);
}

.company-title {
    margin-bottom: 20px;
    padding-left: 50px;
    font-family: Arial, sans-serif;
    font-weight: 700;
    font-size: 25px;
    line-height: 40px;
    letter-spacing: 0%;
    text-transform: capitalize;
    color: #E3E3E3;
}

.company-description {
    margin-bottom: 40px;
    padding-left: 50px;
    padding-right: 15px;
    font-family: Arial, sans-serif;
    font-weight: 300;
    font-style: italic;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
    text-align: justify;
    color: #E3E3E3;
}

.company-image-wrapper {
    position: relative;
    top: 0;
    margin-bottom: 30px;
}

.company-intro-image {
    width: 100%;
    max-width: 490px;
    height: 287px;
    background: url('../images/company-intro.jpg') center/cover no-repeat;
    filter: drop-shadow(0px 4px 8px rgba(42, 33, 33, 0.1));
    border-radius: 15px;
    margin: 0 auto;
}

.company-stats-row {
    color: #E3E3E3;
    text-align: center;
}

.stat-number-value {
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 80px;
    line-height: 56px;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
}

.stat-description {
    font-family: Arial, sans-serif;
    font-size: 14px;
}

/* CSS cho phần Tin tức và Sự kiện */
.news-events-title {
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 65px;
    line-height: 56px;
    letter-spacing: 0%;
    text-align: right;
    vertical-align: middle;
    text-transform: uppercase;
    margin-top: 70px;
}

.btn-view-all {
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.btn-view-all-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #cc0000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.btn-view-all-text {
    font-family: Calibri;
    font-size: 14px;
    color: #333;
}

/* CSS cho phần Footer - Commented out to avoid conflict with new footer */
/*
.footer-logo {
    width: 300px;
    height: auto;
    max-width: 100%;
}

.footer-links-row {
    margin-top: -30px !important;
}

.footer-social-icon {
    width: 36px;
    height: 36px;
}
*/

/* Base Styles */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 100%;
    overflow-x: hidden;
    padding-left: 15px;
    padding-right: 15px;
}

/* Header and Navigation */
header {
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
}

.custom-header {
    background-color: #fff;
    position: relative;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 100;
}

.header-container {
    max-width: 1400px;
    margin: 0 !important;
    margin-left: 20px !important;
    padding: 4px 18px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

/* Logo */
.logo {
    flex: 0 0 auto;
}

#main-logo {
    width: 400px !important; /* Logo to hơn trên desktop */
    height: auto;
    transition: width 0.3s ease;
}

/* Menu Toggle (Hamburger) */
.menu-toggle {
    display: none !important;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    margin-left: auto; /* Đẩy sang bên phải */
    z-index: 101;
    position: relative;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #cc0000;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hiệu ứng khi nút menu được kích hoạt */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Desktop Navigation */
.desktop-nav {
    display: flex !important;
}

/* Mobile Menu */
.mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    background-color: #cc0000;
    z-index: 1000;
    padding: 60px 0 20px;
    overflow-y: hidden;
    transition: all 0.4s ease;
    transform: translateX(100%);
    visibility: hidden;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
}

/* Desktop: menu chiếm một phần màn hình */
@media (min-width: 992px) {
    .mobile-menu {
        width: 350px; /* Menu rộng nhất định trên desktop */
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
        opacity: 0;
    }
    
    .mobile-menu.active {
        opacity: 1;
    }
    
    /* Hiệu ứng mượt mà hơn cho desktop */
    .menu-toggle span {
        transition: all 0.2s ease-in-out;
    }
    
    .menu-toggle:hover span {
        background-color: #990000;
    }
    
    /* Hiệu ứng hover cho menu item trên desktop */
    .mobile-nav a:hover {
        background-color: rgba(255,255,255,0.1);
    }
}

/* Desktop: ẩn menu toggle */
@media (min-width: 992px) {
    .menu-toggle {
        display: none !important;
    }
}

/* Mobile: menu chiếm toàn màn hình */
@media (max-width: 991px) {
    .menu-toggle {
        display: flex !important;
    }
    
    .mobile-menu {
        width: 100%;
    }
}

.mobile-menu.active {
    transform: translateX(0);
    visibility: visible;
}

.menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.menu-close:hover {
    color: #ffcccc;
}

.language-selector {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: white;
}

.language-selector img {
    width: 30px;
    margin-right: 10px;
}

/* Mobile Nav Styles */
.mobile-nav ul {
    padding: 0;
    list-style: none;
    margin: 0;
}

.mobile-nav li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav a {
    color: white;
    padding: 15px 20px;
    display: block;
    font-weight: bold;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.mobile-nav .has-submenu {
    position: relative;
}

.arrow-down {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid white;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.arrow-down.active {
    transform: rotate(180deg);
}

/* Submenu */
.mobile-nav .submenu {
    background-color: #9e0000;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease-in-out;
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav .submenu.open {
    max-height: 1000px;
}

.mobile-nav .submenu a {
    padding-left: 40px;
    font-size: 0.95em;
}

.mobile-footer {
    color: white;
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Header fixed when scrolling */
.custom-header.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    animation: slideDown 0.5s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.custom-header.fixed #main-logo {
    width: 220px;
}

/* Footer Styles - Commented out to avoid conflict with new footer */
/*
.footer {
    background-color: #fff;
    border-top: 1px solid #dee2e6;
    padding: 2rem 0;
}

.footer-links {
    margin-top: -30px;
}

.social-links {
    display: flex;
    justify-content: center;
}

.social-icon {
    width: 36px;
    height: 36px;
    background-color: #212529;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    text-decoration: none;
}

.social-icon:last-child {
    margin-right: 0;
}

.social-icon i {
    color: white;
}

.social-icon i {
    color: white;
}
*/

/* Animations */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    #main-logo {
        width: 350px !important;
    }
    
    .custom-header.fixed #main-logo {
        width: 300px !important;
    }
}

@media (max-width: 992px) {
    #main-logo {
        width: 320px !important;
    }
}

@media (max-width: 768px) {
    #main-logo {
        width: 250px !important;
    }
    
    .custom-header.fixed #main-logo {
        width: 160px;
    }
    
    .header-container {
        padding: 10px;
    }
}

@media (max-width: 576px) {
    #main-logo {
        width: 180px;
    }
    
    .custom-header.fixed #main-logo {
        width: 150px;
    }
    
    .header-container {
        padding: 8px;
    }
    
    .menu-toggle {
        width: 25px;
        height: 18px;
    }
}

/* Extra small device responsiveness */
@media (max-width: 375px) {
    #main-logo {
        width: 160px;
    }
    
    .custom-header.fixed #main-logo {
        width: 140px;
    }
    
    .header-container {
        padding: 5px;
    }
} 
