/* ==================== HEADER & NAVIGATION ==================== */
header {
    background-color: #1e1e1e;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #333;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #bb86fc;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #bb86fc;
}

/* ==================== HAMBURGER MENU ==================== */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 101;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: #e0e0e0;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: '';
    position: absolute;
    left: 0;
}

.nav-toggle-label span::before {
    top: -7px;
}

.nav-toggle-label span::after {
    top: 7px;
}

/* Hamburger animation when open */
.nav-toggle:checked ~ .nav-toggle-label span {
    background: transparent;
}

.nav-toggle:checked ~ .nav-toggle-label span::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle:checked ~ .nav-toggle-label span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ==================== SIDEBAR + CONTENT LAYOUT ==================== */
.layout-with-sidebar {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem 2rem 2rem;
}

.sidebar {
    width: 200px;
    flex-shrink: 0;
    padding-right: 2rem;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar h3 {
    font-size: 1.2rem;
    color: #bb86fc;
    margin-bottom: 1rem;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 0.5rem;
}

.sidebar-menu li a {
    color: #e0e0e0;
    text-decoration: none;
    padding: 0.5rem;
    padding-left: 0.5rem;
    border-left: 2px solid transparent;
    display: block;
    transition: all 0.3s;
}

.sidebar-menu li a:hover {
    color: #bb86fc;
    border-left-color: #bb86fc;
    padding-left: 1rem;
}

.content {
    flex: 1;
    min-width: 1px;
}

/* ==================== HOME SECTION (shared card style) ==================== */
.home-section {
    background-color: #1e1e1e;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 3px solid #bb86fc;
}

.home-section h2 {
    color: #03dac6;
    margin-bottom: 1.5rem;
}

.home-section p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #b0b0b0;
}

.home-section ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    font-size: 0.98rem;
    line-height: 1.8;
}

.home-section li {
    margin-bottom: 0.8rem;
    color: #b0b0b0;
}

.home-section img {
    width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 6px;
    display: block;
}

/* ==================== CTA BUTTONS ==================== */
.cta-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.cta-btn-primary {
    background: linear-gradient(135deg, #bb86fc, #7c3aed);
    color: #fff;
}

.cta-btn-primary:hover {
    background: linear-gradient(135deg, #7c3aed, #bb86fc);
    box-shadow: 0 4px 15px rgba(187, 134, 252, 0.4);
    transform: translateY(-2px);
}

.cta-btn-secondary {
    background-color: transparent;
    color: #03dac6;
    border: 2px solid #03dac6;
}

.cta-btn-secondary:hover {
    background-color: #03dac6;
    color: #121212;
    box-shadow: 0 4px 15px rgba(3, 218, 198, 0.3);
}

.cta-btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* ==================== FOOTER ==================== */
footer {
    background-color: #1e1e1e;
    border-top: 1px solid #333;
    margin-top: auto;
    padding: 0.7rem 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.9rem;
}

.footer-content h3 {
    font-size: 1rem;
    color: #bb86fc;
    margin-bottom: 0.6rem;
}

.footer-availability,
.footer-preferred {
    font-size: 0.88rem;
    color: #999;
    margin-bottom: 0.4rem;
}

.footer-preferred strong {
    color: #03dac6;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
    margin-bottom: 0.6rem;
}

.contact-item {
    background-color: #252525;
    padding: 0.56rem;
    border-radius: 4px;
    border-left: 3px solid #bb86fc;
}

.contact-item p {
    margin-bottom: 0.25rem;
    font-size: 0.92rem;
}

.contact-item p strong {
    color: #03dac6;
}

.contact-item a {
    color: #bb86fc;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #c49cff;
}

.footer-bottom {
    text-align: center;
    padding-top: 0.56rem;
    border-top: 1px solid #333;
    color: #888;
    font-size: 0.82rem;
}

/* ==================== RESPONSIVE COMPONENTS ==================== */
@media (max-width: 768px) {
    /* Hamburger visible on mobile */
    .nav-toggle-label {
        display: block;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: #1e1e1e;
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 0;
        transition: right 0.3s ease;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
        z-index: 99;
    }

    nav ul li {
        border-bottom: 1px solid #333;
    }

    nav ul li a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
    }

    .nav-toggle:checked ~ ul {
        right: 0;
    }

    /* Sidebar stacks on mobile */
    .layout-with-sidebar {
        flex-direction: column;
        padding: 6rem 2rem 2rem;
    }

    .sidebar {
        width: 100%;
        padding-right: 0;
        position: static;
        margin-bottom: 1.5rem;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-btn {
        width: 100%;
        text-align: center;
    }
}
