/* ====================
   Base Styles & Reset
   ==================== */

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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====================
   Top Bar Styles
   ==================== */

.top-bar {
    background: #1a1a2e;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

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

.top-bar .contact-info span {
    margin-right: 15px;
}

.top-bar .contact-info a {
    color: #fff;
    text-decoration: underline;
}

.top-bar .language-switcher a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
}

.top-bar .language-switcher a.active {
    opacity: 1;
    font-weight: bold;
    background: #fff;
    color: #1a1a2e;
    padding: 2px 8px;
    border-radius: 4px;
}

/* ====================
   Header Styles
   ==================== */

.main-header {
    background: #ffffff;
    border-bottom: 2px solid #e6e6e6;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #0055a4;
}

.logo-text span {
    display: block;
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.main-nav a.active,
.main-nav a:hover {
    color: #0055a4;
}

.main-nav a.active::after,
.main-nav a:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #0055a4;
}

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

.main-nav .has-submenu .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 4px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.main-nav .has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .submenu li {
    margin: 0;
}

.main-nav .submenu a {
    display: block;
    padding: 8px 15px;
    color: #333;
    white-space: nowrap;
}

.main-nav .submenu a:hover {
    background: #f5f5f5;
    color: #0055a4;
}

.header-cta {
    display: flex;
    align-items: center;
}

.cta-button {
    display: inline-block;
    background: #0055a4;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.cta-button:hover {
    background: #003d7a;
}

/* ====================
   Sidebar Styles
   ==================== */

.sidebar-container {
    position: fixed;
    left: 0;
    top: 120px;
    bottom: 0;
    width: 220px;
    background: #f9f9f9;
    border-right: 1px solid #e6e6e6;
    padding: 20px;
    overflow-y: auto;
    z-index: 50;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 8px;
}

.sidebar-menu a {
    display: block;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 0;
    transition: color 0.2s;
}

.sidebar-menu a:hover {
    color: #0055a4;
}

/* ====================
   Main Content Styles
   ==================== */

.main-content {
    margin-left: 220px;
    padding-top: 120px;
}

/* ====================
   Hero Slider Styles
   ==================== */

.hero-section {
    background: #f5f5f5;
    padding: 30px 0;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin-bottom: 30px;
}

.hero-slider .hero-slide {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: 0.5s ease-in-out;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-slider .hero-slide.active {
    left: 0;
    z-index: 1;
}

.hero-slider .hero-slide:nth-child(2) {
    background: linear-gradient(135deg, #0055a4 0%, #007acc 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20%;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content h3 {
    font-size: 1.5rem;
    color: #ffeb3b;
    font-family: 'Playfair Display', serif;
    margin: 1rem 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.btn-check {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-check:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

/* ====================
   Section Styles
   ==================== */

.intro-section {
    text-align: center;
    padding: 50px 0;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    color: #0055a4;
    margin-bottom: 15px;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.section-title-small {
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0055a4;
}

/* ====================
   Product Styles
   ==================== */

.products-section {
    padding: 40px 0;
    background: white;
}

.product-category {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.product-item a {
    text-decoration: none;
    color: inherit;
    text-align: center;
    transition: transform 0.3s;
}

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

.product-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    background: #f0f0f0;
}

.product-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    display: block;
}

/* ====================
   Product Lines Styles
   ==================== */

.product-lines-section {
    padding: 40px 0;
    background: #f9f9f9;
}

.lines-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.line-item a {
    text-decoration: none;
    color: #333;
    text-align: center;
    position: relative;
    display: block;
}

.line-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    background: #e0e0e0;
}

.line-name {
    font-size: 14px;
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
}

.line-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4444;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
}

/* ====================
   News Section Styles
   ==================== */

.news-section {
    padding: 40px 0;
    background: white;
}

.news-list {
    list-style: none;
    margin-top: 20px;
}

.news-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.news-date {
    background: #0055a4;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 10px;
    border-radius: 4px;
    margin-right: 12px;
    min-width: 70px;
    text-align: center;
}

.news-title {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.news-title:hover {
    color: #0055a4;
    text-decoration: underline;
}

/* ====================
   Contact Section Styles
   ==================== */

.contact-section {
    padding: 40px 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 25px;
}

.contact-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 8px;
    font-size: 14px;
}

.contact-info strong {
    color: #0055a4;
}

.contact-form-section h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

#contactForm {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#contactForm input,
#contactForm textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    resize: vertical;
    font-family: inherit;
}

#contactForm input:focus,
#contactForm textarea:focus {
    outline: none;
    border-color: #0055a4;
    box-shadow: 0 0 0 3px rgba(0,85,164,0.2);
}

#contactForm button {
    background: #0055a4;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

#contactForm button:hover {
    background: #003d7a;
}

/* ====================
   Footer Styles
   ==================== */

.site-footer {
    background: #1a1a2e;
    color: #e0e0e0;
    padding: 30px 0 20px;
    margin-top: 50px;
}

.footer-container {
    display: flex;
    flex-direction: column;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

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

.footer-col a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 15px;
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
}

.footer-bottom a {
    color: #aaa;
    text-decoration: none;
}

.social-link {
    display: inline-block;
    margin-right: 10px;
    padding: 5px 12px;
    background: #1a1a2e;
    color: #aaa;
    text-decoration: none;
    font-size: 12px;
    border-radius: 4px;
}

.social-link:hover {
    background: #0055a4;
    color: white;
}

/* ====================
   Responsive Design
   ==================== */

@media (max-width: 992px) {
    .sidebar-container {
        display: none;
    }
    
    .main-content {
        margin-left: 0;
        padding-top: 120px;
    }
    
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .main-nav .has-submenu .submenu {
        display: none;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        padding: 10%;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-title-small {
        font-size: 1.6rem;
    }
}