:root {
    --sunoco-blue: #0046ad;
    --sunoco-yellow: #ffd100;
    --sunoco-red: #e31837;
    --dark-blue: #002d6e;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #343a40;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navigation */
.top-bar {
    background-color: var(--sunoco-blue);
    color: white;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.top-contact a {
    color: var(--sunoco-yellow);
    margin-left: 1rem;
    text-decoration: none;
}

.top-contact a:hover {
    text-decoration: underline;
}

.header {
    background: linear-gradient(135deg, var(--sunoco-blue), var(--dark-blue));
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    box-shadow: var(--shadow);
}

.logo img {
    max-width: 100%;
    max-height: 100%;
}

.brand {
    color: white;
}

.brand h1 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.brand p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.nav-menu a.active {
    background-color: var(--sunoco-yellow);
    color: var(--sunoco-blue);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 46, 93, 0.8), rgba(0, 46, 93, 0.8)), url('https://images.unsplash.com/photo-1631730487025-04b0f86b4d5d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background-color: var(--sunoco-yellow);
    color: var(--sunoco-blue);
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
    background-color: #ffdc33;
}

/* Gas Prices */
.prices-section {
    padding: 3rem 1rem;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--sunoco-blue);
    position: relative;
}

.section-title h3 {
    font-size: 2rem;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.section-title h3::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--sunoco-yellow);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.price-date {
    text-align: center;
    margin-bottom: 2rem;
    font-style: italic;
    color: var(--dark-gray);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.price-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 2px solid var(--medium-gray);
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.price-header {
    padding: 1.5rem;
    background-color: var(--sunoco-blue);
    color: white;
}

.price-header h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.price-value {
    padding: 1.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--sunoco-blue);
}

.price-note {
    padding: 1rem;
    background-color: var(--medium-gray);
    font-size: 0.9rem;
    color: var(--dark-gray);
}

/* Features Section */
.features {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #f0f4f8, #e2e8f0);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    padding: 2rem;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: var(--sunoco-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--sunoco-yellow);
    font-size: 2rem;
}

.feature-card h4 {
    color: var(--sunoco-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--dark-gray);
}

/* Fixed Promotions Slider */
.promotions {
    padding: 3rem 1rem;
    background-color: white;
}

.promo-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
    height: 300px;
}

.promo-slider {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.5s ease;
}

.promo-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    flex-shrink: 0;
}

.promo-slide-content {
    background: rgba(0, 70, 173, 0.85);
    color: white;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-slide-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--sunoco-yellow);
}

.promo-slide-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.promo-nav {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 0.5rem;
}

.promo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--medium-gray);
    cursor: pointer;
    transition: var(--transition);
}

.promo-dot.active {
    background-color: var(--sunoco-blue);
    transform: scale(1.2);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-blue), #001a40);
    color: white;
    padding: 3rem 1rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.footer-column h4 {
    color: var(--sunoco-yellow);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--sunoco-yellow);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--sunoco-yellow);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

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

.social-links a:hover {
    background-color: var(--sunoco-yellow);
    color: var(--sunoco-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-bottom img {
    max-width: 120px;
    /*filter: brightness(0) invert(1);*/
}

.footer-links-bottom {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1rem 0;
}

.footer-links-bottom a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links-bottom a:hover {
    color: var(--sunoco-yellow);
}

.copyright {
    font-size: 0.9rem;
    color: #aaa;
}

/* Responsive Design */
@media (max-width: 900px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--dark-blue);
        padding: 1rem 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .promo-slide-content {
        padding: 1.5rem;
    }

    .promo-slide-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .top-bar {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .header {
        padding: 1rem;
    }

    .brand h1 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .price-grid, .features-grid {
        grid-template-columns: 1fr;
    }

    .promo-slide-content {
        padding: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* From the old site */
.instruction-message h2{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding-bottom: 0.6rem;
    max-width: 500px;
}
.instruction-message form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input-row {
    display: flex;
    margin-bottom: 1em;
}

.instruction-message form input[type="tel"] {
    width: 2em;
    margin-right: 0.5em;
    text-align: center;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0.5em;
}

.instruction-message form input[type="tel"]:focus {
    outline: 2px solid #007bff;
    border-color: #007bff;
}

.instruction-message form input[type="tel"]:last-child {
    margin-right: 0;
}

.instruction-message form button[type="submit"] {
    padding: 0.7em 1.5em;
    font-size: 1em;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.instruction-message form button[type="submit"]:hover {
    background-color: #0056b3;
}
.error-message {
    color: red;
    margin-bottom: 15px;
    font-weight: bold;
}

.submit-btn {
    margin-top: 20px;
    padding: 10px 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.input-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.code-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 1.5rem;
}

.price-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 20px;
    color: #e74c3c;
    background-color: #fdeded;
    border-radius: 8px;
}

.price-error i {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* New and Updated Styles for the added HTML content */
.front-page {
    padding: 3rem 2rem;
    text-align: center;
    background-color: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.front-page h1 {
    font-size: 3rem;
    color: var(--sunoco-blue);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.front-page .highlight {
    font-size: 1.5rem;
    color: var(--sunoco-red);
    font-weight: 600;
    margin-bottom: 2rem;
}

.front-page h2 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.front-page p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.front-page ul {
    list-style: none;
    padding: 0;
    margin: 0 auto 2rem auto;
    max-width: 500px;
    text-align: left;
}

.front-page ul li {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.front-page ul li::before {
    content: '✅'; /* Checkmark icon */
    position: absolute;
    left: 0;
    color: var(--sunoco-yellow);
}

.about-us {
    padding: 3rem 2rem;
    text-align: center;
    background-color: var(--light-gray);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.about-us h2 {
    font-size: 2.5rem;
    color: var(--sunoco-blue);
    margin-bottom: 1rem;
}

.about-us .highlight {
    font-size: 1.3rem;
    color: var(--dark-blue);
    font-style: italic;
    margin-bottom: 2rem;
}

.about-us h3 {
    font-size: 1.8rem;
    color: var(--dark-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-us p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about-us ul {
    list-style: none;
    padding: 0;
    margin: 0 auto 2rem auto;
    max-width: 500px;
    text-align: left;
}

.about-us ul li {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.about-us ul li::before {
    content: '⭐'; /* Star icon */
    position: absolute;
    left: 0;
    color: var(--sunoco-yellow);
}

/* Adjustments for the cta-button within these sections */
.front-page .cta-button,
.about-us .cta-button {
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .front-page h1 {
        font-size: 2.5rem;
    }

    .front-page .highlight {
        font-size: 1.3rem;
    }

    .front-page h2 {
        font-size: 1.8rem;
    }

    .about-us h2 {
        font-size: 2rem;
    }

    .about-us .highlight {
        font-size: 1.1rem;
    }

    .about-us h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .front-page h1 {
        font-size: 2rem;
    }

    .front-page .highlight {
        font-size: 1.1rem;
    }

    .front-page h2 {
        font-size: 1.5rem;
    }

    .front-page p, .front-page ul li,
    .about-us p, .about-us ul li {
        font-size: 1rem;
    }

    .about-us h2 {
        font-size: 1.8rem;
    }

    .about-us .highlight {
        font-size: 1rem;
    }

    .about-us h3 {
        font-size: 1.3rem;
    }
}