/* Base Styles & Variables */
:root {
    /* Colors */
    --deep-charcoal: #1A1A1A;
    --rich-navy: #0A1931;
    --metallic-gold: #C9A96D;
    --pearl-white: #F8F8F8;
    --silver: #C0C0C0;
    --dark-gray: #2D2D2D;
    
    /* Fonts */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Montserrat', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Shadows */
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 20px 25px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    background-color: var(--deep-charcoal);
    color: var(--pearl-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 4rem;
    letter-spacing: 1px;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: var(--spacing-sm);
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--metallic-gold);
}

h3 {
    font-size: 1.8rem;
    color: var(--pearl-white);
}

p {
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
    color: var(--silver);
}

a {
    text-decoration: none;
    color: var(--pearl-white);
    transition: all 0.3s ease;
}

/* Header & Navigation */
header {
    background-color: rgba(10, 25, 49, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar {
    padding: 1.5rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    font-family: var(--heading-font);
    font-size: 2rem;
    margin: 0;
}

.logo span {
    color: var(--metallic-gold);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    position: relative;
    font-weight: 500;
    font-size: 1.1rem;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--metallic-gold);
    transition: width 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.nav-link:hover {
    color: var(--metallic-gold);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--pearl-white);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(10, 25, 49, 0.7), rgba(10, 25, 49, 0.9)), 
                url('img/photo-1671680012265-089c98613420.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero-content {
    width: 100%;
    padding-top: 4rem;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 0;
    letter-spacing: 2px;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: var(--metallic-gold);
    font-family: var(--heading-font);
}

.hero-content p {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    color: var(--pearl-white);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 2px;
    font-weight: 500;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.primary-btn {
    background-color: var(--metallic-gold);
    color: var(--rich-navy);
}

.primary-btn:hover {
    background-color: transparent;
    color: var(--metallic-gold);
    border-color: var(--metallic-gold);
}

.secondary-btn {
    background-color: transparent;
    border: 2px solid var(--metallic-gold);
    color: var(--metallic-gold);
}

.secondary-btn:hover {
    background-color: var(--metallic-gold);
    color: var(--rich-navy);
}

/* Sections */
.features, .process, .technology, .gates-info, .pricing, .additional-fees, .payment-methods, .account-info, .contact-section, .locations, .faq {
    padding: var(--spacing-xl) 0;
}

.features, .gates-info, .pricing, .locations {
    background-color: var(--rich-navy);
}

.technology, .payment-methods, .account-info, .contact-section, .faq {
    background-color: var(--deep-charcoal);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-md);
    border-radius: 4px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 169, 109, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: rgba(201, 169, 109, 0.3);
}

.feature-icon {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: var(--spacing-md);
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-icon img {
    transform: scale(1.1);
}

.feature-card h3 {
    margin-bottom: var(--spacing-xs);
}

/* Benefits Section */
.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.benefits-text h2:after {
    left: 0;
    transform: none;
}

.benefits-list {
    list-style: none;
    margin: var(--spacing-md) 0;
}

.benefits-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--silver);
}

.benefits-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: var(--metallic-gold);
    border-radius: 50%;
}

.benefits-image {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    height: 100%;
}

.benefits-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.benefits-image:hover img {
    transform: scale(1.05);
}

/* Benefits Grid (How It Works Page) */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-md);
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(201, 169, 109, 0.1);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(201, 169, 109, 0.3);
}

.benefit-card h3 {
    color: var(--metallic-gold);
    margin-bottom: var(--spacing-xs);
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.footer-info h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
    color: var(--metallic-gold);
}

.footer-info p {
    margin-bottom: var(--spacing-md);
    color: var(--silver);
}

address {
    font-style: normal;
    color: var(--silver);
    line-height: 1.8;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links a {
    color: var(--silver);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--metallic-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(192, 192, 192, 0.1);
    padding-top: var(--spacing-sm);
    text-align: center;
    color: var(--silver);
    font-size: 0.9rem;
}

/* How It Works Page Styles */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.step {
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(201, 169, 109, 0.1);
}

.step:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 169, 109, 0.3);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--metallic-gold);
    color: var(--rich-navy);
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.step-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 4px;
    margin-top: var(--spacing-md);
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.step-image:hover img {
    transform: scale(1.1);
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.tech-features {
    list-style: none;
}

.tech-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--silver);
}

.tech-features li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: var(--metallic-gold);
    border-radius: 50%;
}

.tech-diagram {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    height: 100%;
}

.tech-diagram img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Toll Gates Page Styles */
.map-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: var(--spacing-md);
    position: relative;
    overflow: hidden;
}

.map-placeholder {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 4px;
    overflow: hidden;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gate-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--metallic-gold);
    border-radius: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.gate-marker:hover {
    transform: translate(-50%, -50%) scale(1.5);
}

.gate-marker:hover .gate-info {
    display: block;
}

.gate-info {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--rich-navy);
    padding: var(--spacing-sm);
    border-radius: 4px;
    width: 200px;
    z-index: 10;
    box-shadow: var(--shadow-heavy);
}

.gate-info h4 {
    margin-bottom: var(--spacing-xs);
    color: var(--metallic-gold);
}

.gates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.gate-card {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(201, 169, 109, 0.1);
}

.gate-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 169, 109, 0.3);
}

.gate-image {
    flex: 1;
    max-width: 150px;
}

.gate-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gate-details {
    flex: 2;
    padding: var(--spacing-sm);
}

.gate-location, .gate-direction {
    color: var(--silver);
    margin-bottom: var(--spacing-xs);
    font-size: 0.9rem;
}

.gate-direction {
    color: var(--metallic-gold);
}

.hours-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hours-visual {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    height: 100%;
}

.hours-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hours-details p {
    margin-bottom: var(--spacing-sm);
}

/* Tariffs Page Styles */
.pricing-tables {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(201, 169, 109, 0.1);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: rgba(201, 169, 109, 0.3);
}

.pricing-card.featured {
    border: 1px solid var(--metallic-gold);
    position: relative;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-header {
    background-color: rgba(201, 169, 109, 0.1);
    padding: var(--spacing-lg);
    text-align: center;
}

.pricing-header h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--metallic-gold);
}

.price {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    color: var(--metallic-gold);
}

.pricing-body {
    padding: var(--spacing-md);
}

.pricing-features {
    list-style: none;
    margin: var(--spacing-md) 0;
}

.pricing-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: var(--spacing-xs);
    color: var(--silver);
}

.pricing-features li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: var(--metallic-gold);
    border-radius: 50%;
}

.fees-table {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.fee-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    border-bottom: 1px solid rgba(192, 192, 192, 0.1);
}

.fee-row:last-child {
    border-bottom: none;
}

.fee-description h4 {
    color: var(--metallic-gold);
    margin-bottom: var(--spacing-xs);
}

.fee-amount {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    color: var(--metallic-gold);
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.method-card {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-md);
    border-radius: 4px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(201, 169, 109, 0.1);
}

.method-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 169, 109, 0.3);
}

.account-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.account-features {
    list-style: none;
    margin: var(--spacing-md) 0;
}

.account-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--silver);
}

.account-features li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: var(--metallic-gold);
    border-radius: 50%;
}

/* Contact Page Styles */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.contact-item {
    margin-bottom: var(--spacing-lg);
}

.contact-item h3 {
    color: var(--metallic-gold);
    margin-bottom: var(--spacing-xs);
}

.contact-item address {
    color: var(--silver);
    font-style: normal;
    line-height: 1.8;
}

.social-links {
    margin-top: var(--spacing-lg);
}

.social-icons {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--dark-gray);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--metallic-gold);
    color: var(--rich-navy);
    transform: translateY(-3px);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-lg);
    border-radius: 4px;
    border: 1px solid rgba(201, 169, 109, 0.1);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--pearl-white);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(192, 192, 192, 0.2);
    border-radius: 4px;
    color: var(--pearl-white);
    font-family: var(--body-font);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--metallic-gold);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ff6b6b;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.location-card {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-md);
    border-radius: 4px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(201, 169, 109, 0.1);
}

.location-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 169, 109, 0.3);
}

.location-card h3 {
    color: var(--metallic-gold);
    margin-bottom: var(--spacing-sm);
}

.hours {
    margin-top: var(--spacing-sm);
    color: var(--silver);
    font-style: italic;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-md);
    border-radius: 4px;
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(201, 169, 109, 0.1);
}

.faq-item h3 {
    color: var(--metallic-gold);
    margin-bottom: var(--spacing-xs);
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .benefits-content, .tech-content, .hours-content, .account-content, .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .gate-card {
        flex-direction: column;
    }
    
    .gate-image {
        max-width: 100%;
        height: 200px;
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--rich-navy);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-medium);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 1rem 0;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .process-steps, .gates-grid, .pricing-tables, .methods-grid, .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: scale(1) translateY(-10px);
    }
    
    .map-placeholder {
        height: 300px;
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .container {
        width: 95%;
    }
    
    .fee-row {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
}