/* ============================================
   COMPONENTS - Navigation, Footer, Buttons
   ============================================ */

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    height: 80px;
    transition: var(--transition);
}

nav.scrolled {
    height: 70px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 50px;
    transition: var(--transition);
}

nav.scrolled .logo img {
    height: 45px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active,
.nav-link:hover {
    color: var(--primary-color);
}

/* Nav Phone Button */
.nav-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-phone:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(38, 151, 255, 0.3);
}

.nav-phone i {
    font-size: 0.9rem;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
    z-index: 1001;
}

/* ============================================
   PAGE HERO COMPONENT
   ============================================ */
.page-hero-corp {
    position: relative;
    height: 400px;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.page-hero-corp .hero-overlay-corp {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(9, 36, 46, 0.95) 0%, rgba(38, 151, 255, 0.2) 100%);
}

.page-hero-corp .hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--primary-color) 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    opacity: 0.1;
    z-index: 1;
}

.page-hero-corp .hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.page-hero-corp h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-hero-corp p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* Mobile Drawer */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1100;
}

.drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85%;
    height: 100%;
    background: var(--white);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    z-index: 1200;
    display: flex;
    flex-direction: column;
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.drawer-header img {
    height: 40px;
}

.drawer-close {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-grey);
    border-radius: 10px;
    font-size: 1.2rem;
    color: var(--secondary-color);
    cursor: pointer;
    transition: var(--transition);
}

.drawer-close:hover {
    background: var(--primary-color);
    color: var(--white);
}

.drawer-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.drawer-links {
    list-style: none;
    margin-bottom: 2rem;
}

.drawer-links li {
    margin-bottom: 0.5rem;
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    transition: var(--transition);
}

.drawer-link i {
    width: 20px;
    text-align: center;
    color: var(--text-muted);
}

.drawer-link:hover,
.drawer-link.active {
    background: rgba(38, 151, 255, 0.1);
    color: var(--primary-color);
}

.drawer-link.active i,
.drawer-link:hover i {
    color: var(--primary-color);
}

.drawer-contact {
    background: var(--bg-grey);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.drawer-contact h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 500;
}

.drawer-phone {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 0;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.drawer-phone:last-child {
    border-bottom: none;
}

.drawer-phone i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.drawer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.drawer-social a {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: var(--bg-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.drawer-social a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ============================================
   CORPORATE FOOTER
   ============================================ */

.footer-corp {
    background: var(--secondary-color);
    color: var(--white);
}

.footer-main-corp {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.footer-brand {
    padding-right: 2rem;
}

.footer-brand img {
    height: 80px;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

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

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-list li i {
    color: var(--primary-color);
    margin-top: 3px;
    width: 16px;
    flex-shrink: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1.5rem;
    transition: var(--transition);
}

.footer-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.dev-credit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.dev-credit a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding-bottom: 2px;
}

.dev-credit a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: var(--transition);
}

.dev-credit a:hover {
    color: var(--white);
}

.dev-credit a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Buttons */
.btn-primary-corp {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-primary-corp:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(38, 151, 255, 0.3);
}

.btn-outline-corp {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-outline-corp:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-link-corp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
}

.btn-link-corp:hover {
    gap: 1rem;
}

/* Map Section */
.map-section {
    width: 100%;
}

.map-section iframe {
    display: block;
}

/* Responsive Components */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .nav-phone {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .footer-main-corp {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 4rem 1.5rem 3rem;
    }

    .footer-brand {
        padding-right: 0;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col h4 {
        display: block;
        border-bottom: none;
        position: relative;
    }

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

    .contact-list li {
        justify-content: center;
        text-align: left;
    }

    .hours-list li {
        max-width: 250px;
        margin: 0 auto;
    }

    .footer-cta {
        display: flex;
        justify-content: center;
        max-width: 200px;
        margin: 1.5rem auto 0;
    }
}