/*
 * RT85 Website - Responsive Stylesheet
 * -------------------------------------
 * This file contains all media queries for the RT85 website.
 * It follows a mobile-first approach, starting with styles for
 * tablets and then scaling up to desktops.
 */

/* --- Tablet (768px and up) --- */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .content-section {
        padding: 4rem 0;
    }

    .about-content,
    .difference-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .about-image {
        margin-bottom: 2rem;
        order: 1;
    }

    .about-text {
        order: 2;
    }

    .difference-text {
        margin-bottom: 2rem;
    }

    .contact-info {
        margin-bottom: 3rem;
    }

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

    .footer-logo,
    .footer-links,
    .footer-contact {
        align-items: center;
        display: flex;
        flex-direction: column;
    }
}


/* --- Mobile (up to 767px) --- */
@media (max-width: 767px) {
    html {
        font-size: 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .content-section {
        padding: 3rem 0;
    }

    /* Header & Mobile Navigation */
    .header {
        transition: 0.3s ease-in-out;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: calc(100vh - var(--header-height));
        text-align: center;
        transition: 0.3s;
        gap: 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 1.5rem 0;
        font-size: 1.2rem;
        border-bottom: 1px solid var(--light-grey);
    }

    .nav-link:hover {
        background-color: var(--light-grey);
    }

    .nav-link::after {
        display: none;
    }

    .navbar .cta-button {
        display: none;
        /* Hide header CTA, users can find it in the menu or on page */
    }

    .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);
    }

    /* Hero */
    .hero-section {
        height: 80vh;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    /* Benefits */
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    /* Forms */
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contact-wrapper,
    .form-container {
        padding: 2rem;
    }

    /* Testimonial */
    .testimonial {
        flex-direction: column;
        text-align: center;
    }

    /* Footer */
    .footer-content {
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}
