/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1863dc;
    --secondary-color: #1487B1;
    --dark-color: #212121;
    --light-color: #f4f4f4;
    --text-color: #6B7C93;
    --header-overlay: rgba(0, 0, 0, 0.6);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

/* Mobile Menu Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle.light {
    color: #fff;
}

h1 {
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
}

h2 {
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.3;
}

h3 {
    font-family: 'Muli', Helvetica, Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Container */
.gridContainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.header-wrapper {
    position: relative;
}

.header-homepage {
    position: relative;
    min-height: 100vh;
    background-image: url('../images/uploads/2022/10/smart-parking-2x-scaled.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}

.header-homepage.color-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.header-homepage > * {
    position: relative;
    z-index: 2;
}

/* Navigation */
.navigation-bar {
    padding: 20px 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

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

.logo {
    max-height: 50px;
    width: auto;
}

.main-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.main-menu a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.header-homepage-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 0 15px;
}

.hero-title {
    font-family: 'Muli', Helvetica, Arial, sans-serif;
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: #fff;
}

.header-subtitle {
    font-family: 'Muli', Helvetica, Arial, sans-serif;
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 24px;
    color: #fff;
}

.header-subtitle2 {
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
    font-size: 1.4em;
    font-weight: 300;
    margin-bottom: 20px;
    color: #fff;
}

/* Buttons */
.header-buttons-wrapper {
    margin-top: 40px;
}

.button {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 2px;
    margin: 0 10px;
    transition: var(--transition);
    font-weight: 500;
}

.button:hover {
    background: #1456c2;
    transform: translateY(-2px);
}

.button-outline {
    background: transparent;
    border: 2px solid #fff;
}

.button-outline:hover {
    background: #fff;
    color: var(--primary-color);
}

/* Arrow Down */
.header-homepage-arrow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
}

.header-homepage-arrow i {
    font-size: 50px;
    color: #fff;
    animation: bounce 2s infinite;
}

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

/* Sections */
.section {
    padding: 80px 0;
}

.section-gray {
    background-color: var(--light-color);
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
}

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

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-item {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.service-item h3 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 30px;
}

.about-image img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.contact-item {
    text-align: center;
}

.contact-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-item h3 {
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1487B1 0%, #0d5a7a 100%);
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    max-height: 80px;
    margin-bottom: 15px;
}

.footer-tagline {
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
    margin: 0;
}

.footer-contact {
    text-align: right;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    color: #fff;
}

.contact-info i {
    font-size: 1.1rem;
    color: #fff;
    min-width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-info {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo-section {
        align-items: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .contact-info p {
        justify-content: center;
    }
}

/* Inner Pages */
.header-inner {
    position: relative;
}

.navigation-bar.inner-nav {
    position: relative;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navigation-bar.inner-nav .main-menu a {
    color: var(--dark-color);
}

.navigation-bar.inner-nav .main-menu a:hover,
.navigation-bar.inner-nav .main-menu .current-menu-item a {
    color: var(--primary-color);
}

.inner-header {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.inner-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.inner-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.inner-header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 1;
    width: 100%;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #fff;
    opacity: 0.9;
}

/* Article Styles */
.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    color: var(--text-color);
    font-size: 0.9rem;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-text h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-text h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-text ul, .article-text ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-text li {
    margin-bottom: 10px;
}

.article-text strong {
    font-weight: 600;
    color: var(--dark-color);
}

.update-date {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
    font-style: italic;
    color: var(--text-color);
}

.article-cta {
    background: var(--light-color);
    padding: 40px;
    border-radius: 6px;
    text-align: center;
    margin: 40px 0;
}

.article-tags {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e8e8e8;
}

.article-tags h4 {
    margin-bottom: 15px;
}

.tag {
    display: inline-block;
    background: var(--light-color);
    padding: 5px 15px;
    border-radius: 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .header-subtitle {
        font-size: 1.2rem;
    }
    
    .main-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 20px;
    }
    
    .main-menu.active {
        display: flex;
    }
    
    .navigation-bar.inner-nav .main-menu {
        background: #fff;
    }
    
    .navigation-bar:not(.inner-nav) .main-menu {
        background: rgba(255, 255, 255, 0.95);
    }
    
    .main-menu a {
        padding: 10px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .navigation-bar:not(.inner-nav) .main-menu a {
        color: var(--dark-color);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .inner-header {
        height: 300px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-text {
        font-size: 1rem;
    }
    
    .header-homepage-content {
        padding: 0 15px;
    }
    
    .header-buttons-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .button {
        width: 100%;
        max-width: 250px;
        margin: 5px 0;
    }
}