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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    font-size: 21px;
    font-display: swap;
}

/* Optimize image rendering */
img {
    max-width: 100%;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo img {
    height: 120px;
    width: auto;
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #E85D2A;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-checkbox {
    display: none;
}

.dropdown-toggle {
    cursor: pointer;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.dropdown-toggle:hover {
    color: #E85D2A;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 5px;
    min-width: 180px;
    padding: 10px 0;
    margin-top: 10px;
    list-style: none;
    z-index: 1000;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.dropdown-menu a:hover {
    background: #f5f5f5;
    color: #E85D2A;
}

/* Show dropdown on hover for desktop */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Show dropdown when checkbox is checked */
.dropdown-checkbox:checked ~ .dropdown-menu {
    display: block;
}

.btn-book {
    background: #CC2229;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-book:hover {
    background: #A51B21;
}

/* Hamburger Menu - CSS Only */
.hamburger-checkbox {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger-checkbox:checked ~ .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-checkbox:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
}

.hamburger-checkbox:checked ~ .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* About Page Header */
.header-center {
    text-align: center;
    flex-grow: 1;
}

.header-center h2 {
    font-size: 31px;
    margin-bottom: 5px;
}

.header-center .subtitle {
    font-size: 21px;
    color: #666;
}

.btn-phone {
    background: #CC2229;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 23px;
    white-space: nowrap;
    transition: background 0.3s;
}

.btn-phone:hover {
    background: #A51B21;
}

/* Hero Section */
.hero {
    background: linear-gradient(to bottom, #E8EEF2 0%, #D5E1E9 100%);
    padding: 80px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 0;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 62px;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.hero-text p {
    font-size: 23px;
    margin-bottom: 30px;
    color: #333;
}

.btn-primary {
    display: inline-block;
    background: #CC2229;
    color: white;
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 23px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #A51B21;
}

.hero-image {
    flex: 1;
    padding: 0;
    margin: 0;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    padding: 0;
    margin: 0;
    display: block;
}

/* Service Area Section */
.service-area {
    background: #1E5BA8;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.service-area p {
    font-size: 21px;
    font-weight: 500;
}

/* Brands Section */
.brands {
    background: white;
    padding: 40px 0;
    overflow: hidden;
}

.brands > p,
.brands > h3 {
    text-align: center;
    font-size: 21px;
    margin: 0 20px 20px;
    display: block;
    width: 100%;
    font-weight: bold;
    font-style: italic;
}

.brands-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-1080px));
    }
}

.brands-track:hover {
    animation-play-state: paused;
}

.brand-logo {
    flex-shrink: 0;
    text-align: center;
    width: 120px;
}

.brand-logo img {
    max-width: 120px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.brand-logo img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* About Page Styles */
.about-content {
    background: linear-gradient(to bottom, #E8EEF2 0%, #D5E1E9 100%);
    padding: 60px 0 80px;
    min-height: calc(100vh - 200px);
}

.about-title {
    font-size: 42px;
    font-style: italic;
    margin-bottom: 40px;
    color: #1a1a1a;
}

.about-text {
    max-width: 1200px;
    margin: 0 auto;
}

.about-text p {
    font-size: 21px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #1a1a1a;
}

.signature {
    margin-top: 40px;
    font-size: 21px;
}

.note {
    font-size: 18px;
    color: #666;
}

.corporate-link {
    margin-top: 30px;
    font-size: 21px;
}

.corporate-link a {
    color: #1E5BA8;
    text-decoration: underline;
}

.corporate-link a:hover {
    color: #E85D2A;
}

/* Booking Page Styles */
.booking-content {
    background: linear-gradient(to bottom, #E8EEF2 0%, #D5E1E9 100%);
    padding: 60px 0 80px;
    min-height: calc(100vh - 200px);
}

.booking-content h1 {
    font-size: 45px;
    margin-bottom: 20px;
    color: #1a1a1a;
    text-align: center;
}

.booking-intro {
    text-align: center;
    font-size: 21px;
    color: #333;
    margin-bottom: 40px;
}

.booking-form-container {
    max-width: 900px;
    margin: 0 auto;
}

.booking-form-container iframe {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* New Accounts Page Styles */
.new-accounts-content {
    background: linear-gradient(to bottom, #E8EEF2 0%, #D5E1E9 100%);
    padding: 80px 0 100px;
    min-height: calc(100vh - 200px);
}

.new-accounts-content h1 {
    font-size: 45px;
    line-height: 1.3;
    margin-bottom: 30px;
    color: #1a1a1a;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 30px;
}

.new-accounts-content h2 {
    font-size: 30px;
    line-height: 1.3;
    color: #333;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 60px;
    font-weight: 500;
}

.benefits-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.benefit-card h3 {
    font-size: 28px;
    color: #CC2229;
    margin-bottom: 20px;
}

.benefit-card p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

/* Contact Page Styles */
.contact-content {
    background: linear-gradient(to bottom, #E8EEF2 0%, #D5E1E9 100%);
    padding: 60px 0 80px;
    min-height: calc(100vh - 200px);
}

.contact-content h1 {
    font-size: 45px;
    margin-bottom: 40px;
    color: #1a1a1a;
    text-align: center;
}

.contact-info {
    max-width: 1200px;
    margin: 40px auto 0;
}

.h2-marquee-wrapper {
    margin-bottom: 20px;
}

.h2-marquee {
    font-size: 30px;
    color: #1a1a1a;
    text-align: center;
}

@keyframes h2-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.contact-section h2,
.contact-form-section h2 {
    font-size: 30px;
    margin-bottom: 20px;
    color: #1a1a1a;
    text-align: center;
}

.contact-section p {
    font-size: 21px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

.contact-details {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-top: 30px;
    align-items: start;
}

.contact-left-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-right-column {
    display: flex;
    align-items: flex-start;
}

.contact-details-bottom {
    margin-top: 40px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    font-size: 26px;
    margin-bottom: 10px;
    color: #E85D2A;
}

.contact-item a:not(.btn-directions) {
    color: #1E5BA8;
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:not(.btn-directions):hover {
    color: #E85D2A;
}

.contact-item .note {
    font-size: 18px;
    color: #666;
    font-style: italic;
}

.btn-directions {
    display: inline-block;
    background: #2196F3;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    margin-top: 15px;
    transition: background 0.3s;
}

.btn-directions:hover {
    background: #1976D2;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    width: 100%;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    display: block;
}

.service-list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.service-list li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.service-list li:before {
    content: "•";
    color: #E85D2A;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Contact Form Styles */
.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 21px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1E5BA8;
}

.contact-form button {
    width: 100%;
    margin-top: 10px;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
}

footer p {
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        position: relative;
    }

    .hamburger {
        display: flex;
        order: 2;
        margin-left: auto;
    }

    .logo img {
        height: 70px;
    }

    nav {
        display: none;
        width: 100%;
        order: 4;
    }

    .hamburger-checkbox:checked ~ nav {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px 0;
    }

    /* Mobile Dropdown Styles */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: #f5f5f5;
        margin-top: 10px;
        border-radius: 5px;
    }

    /* Disable hover on mobile, only use checkbox */
    .dropdown:hover .dropdown-menu {
        display: none;
    }

    /* Explicitly enable checkbox behavior on mobile */
    .dropdown-checkbox:checked ~ .dropdown-menu {
        display: block !important;
    }

    /* Ensure checkbox toggle works on mobile */
    .dropdown-toggle {
        display: block;
        padding: 0;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    .btn-book {
        order: 3;
    }

    .header-center {
        display: none;
    }

    .btn-phone {
        order: 3;
        font-size: 21px;
        padding: 10px 20px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 0;
    }

    .hero-image {
        order: -1;
    }

    .hero-text h1 {
        font-size: 47px;
    }

    .about-title {
        font-size: 36px;
    }

    .brands-track {
        gap: 40px;
        animation: scroll 20s linear infinite;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-720px));
        }
    }

    .brand-logo {
        width: 80px;
    }

    .brand-logo img {
        max-width: 80px;
    }

    .contact-content h1 {
        font-size: 42px;
    }

    .contact-details {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .booking-content h1 {
        font-size: 42px;
    }

    .new-accounts-content h1 {
        font-size: 36px;
    }

    .new-accounts-content h2 {
        font-size: 24px;
    }

    .h2-marquee-wrapper {
        overflow: hidden;
    }

    .h2-marquee {
        font-size: 24px;
        white-space: nowrap;
        display: inline-block;
        animation: h2-scroll 20s linear infinite;
        padding-left: 100%;
    }

    .h2-marquee-wrapper:hover .h2-marquee {
        animation-play-state: paused;
    }

    .contact-section h2,
    .contact-form-section h2 {
        font-size: 24px;
    }

    .benefits-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    .benefit-card {
        padding: 30px 25px;
    }

    .benefit-card h3 {
        font-size: 24px;
    }

    .benefit-card p {
        font-size: 18px;
    }
}
