/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* ===== TOP BANNER ===== */
.top-banner {
    background-color: #f4f4f4;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1rem;
}

.logo {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
}

/* Banner image specific styling for index page */
.banner-image {
    padding: 0 !important;
    min-height: auto !important;
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Map container */
.map-container {
    margin-top: 1rem;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #8B5A3C 0%, #D2691E 100%);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 250px;
}

.cookie-accept {
    background: white;
    color: #8B5A3C;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ===== MOBILE MENU TOGGLE ===== */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    background: linear-gradient(135deg, #8B5A3C 0%, #D2691E 100%);
    border: none;
    padding: 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.banner-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ===== MAIN CONTAINER ===== */
.main-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
    padding: 2rem;
}

/* ===== MAIN CONTENT AREA ===== */
.content {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.content h2 {
    color: #8B5A3C;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #8B5A3C;
}

/* ===== EDITABLE SECTIONS ===== */
/* These sections are clearly marked for easy content editing */
.editable-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 4px;
}

.editable-section h3 {
    color: #8B5A3C;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.editable-section h4 {
    color: #D2691E;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.editable-section p {
    margin-bottom: 0.8rem;
    color: #555;
    font-size: 1rem;
}

.editable-section p:last-child {
    margin-bottom: 0;
}

.editable-section strong {
    color: #333;
}

/* ===== TIMELINE STYLES ===== */
.timeline {
    border-left: none;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-left: 4px solid #8B5A3C;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: bold;
    color: #8B5A3C;
    min-width: 60px;
    flex-shrink: 0;
}

.timeline-content {
    color: #555;
    line-height: 1.6;
    flex: 1;
}

/* ===== SERVICE LIST STYLES ===== */
.service-list {
    margin-top: 1.5rem;
}

.service-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-number {
    background: linear-gradient(135deg, #8B5A3C 0%, #D2691E 100%);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.service-text {
    color: #555;
    line-height: 1.6;
    flex: 1;
    padding-top: 0.3rem;
}

/* ===== HOMEPAGE SPECIFIC STYLES ===== */
.highlight-box {
    background: linear-gradient(135deg, #8B5A3C 0%, #D2691E 100%) !important;
    color: white !important;
    border-left: none !important;
}

.highlight-box h3 {
    color: white !important;
}

.highlight-box p {
    color: white !important;
}

.highlight-box strong {
    color: white;
}

.highlight-box a:not(.cta-button) {
    color: white !important;
}

.cta-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background: #ffffff !important;
    color: #8B5A3C !important;
    text-decoration: none !important;
    border-radius: 4px;
    font-weight: bold;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.highlight-box .cta-button {
    color: #8B5A3C !important;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    background: #f8f8f8 !important;
    color: #D2691E !important;
}

/* ===== RIGHT SIDE MENU ===== */
.right-menu {
    width: 250px;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.right-menu h3 {
    color: #8B5A3C;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #8B5A3C;
}

.right-menu ul {
    list-style: none;
}

.right-menu ul li {
    margin-bottom: 0.5rem;
}

.right-menu ul li a {
    display: block;
    padding: 0.8rem 1rem;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.right-menu ul li a:hover {
    background: #8B5A3C;
    color: white;
    transform: translateX(5px);
}

.right-menu ul li a.active {
    background: linear-gradient(135deg, #8B5A3C 0%, #D2691E 100%);
    color: white;
}

/* ===== FOOTER ===== */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
}

.footer p {
    margin: 0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-container {
        flex-direction: column;
    }

    .right-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        z-index: 999;
        transition: right 0.3s ease;
        overflow-y: auto;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    }
    
    .right-menu.mobile-active {
        right: 0;
    }

    .banner-content h1 {
        font-size: 1.8rem;
    }

    .content h2 {
        font-size: 1.5rem;
    }

    .editable-section {
        padding: 1rem;
    }

    .main-container {
        padding: 1rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-year {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .banner-content {
        padding: 0.5rem;
    }

    .banner-content h1 {
        font-size: 1.5rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .content {
        padding: 1.5rem;
    }
    
    .mobile-menu-toggle {
        top: 0.5rem;
        right: 0.5rem;
    }
}
