/* Mobile Navigation */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* =========== TABLET (max 768px) =========== */
@media (max-width: 768px) {

    /* Nav */
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: rgba(255, 255, 255, 0.97);
        text-align: center;
        padding: 1.5rem 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .navbar {
        padding: 0.8rem 5%;
    }

    .logo {
        font-size: 1.4rem;
    }

    /* Hero */
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    /* Sections */
    .section {
        padding: 3.5rem 5%;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        margin-top: -1rem;
    }

    /* Love Meter */
    .love-meter-section {
        padding: 2rem 5%;
    }

    .love-meter-container {
        padding: 1.5rem;
    }

    .love-icon {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }

    .love-text {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    /* Story - STACK VERTICALLY */
    .story-content {
        flex-direction: column;
        gap: 2rem;
    }

    .story-text {
        font-size: 1rem;
        text-align: left;
    }

    .story-image-container {
        position: relative;
        height: auto;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }

    .story-image {
        position: static !important;
        width: 45% !important;
        transform: none !important;
        animation: none !important;
        border-radius: 15px;
        aspect-ratio: 3/4;
    }

    .float-img-1,
    .float-img-2 {
        transform: none !important;
        animation: none !important;
    }

    .story-image:hover {
        transform: scale(1.02) !important;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Wishes */
    .wish-form {
        width: 100%;
        padding: 0;
    }

    .wishes-list {
        grid-template-columns: 1fr;
    }

    .subsection-title {
        font-size: 1.6rem;
    }

    /* Love Message */
    #love-message {
        width: 85%;
        font-size: 1.3rem;
        padding: 1.5rem 2rem;
        white-space: normal;
        border-radius: 25px;
    }

    /* Footer */
    footer {
        padding: 1.5rem;
        font-size: 0.9rem;
    }
}

/* =========== SMALL PHONE (max 480px) =========== */
@media (max-width: 480px) {

    .hero {
        background-position: center center;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .scroll-indicator {
        bottom: 20px;
        font-size: 1.5rem;
    }

    .section {
        padding: 2.5rem 4%;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .love-meter-container {
        padding: 1.2rem;
    }

    .love-text {
        font-size: 1rem;
    }

    .love-bar-bg {
        height: 14px;
    }

    .story-text {
        font-size: 0.95rem;
    }

    .story-text p {
        margin-bottom: 1rem;
    }

    .story-image-container {
        gap: 0.5rem;
    }

    .story-image {
        width: 48% !important;
        border-radius: 10px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .gallery-item {
        border-radius: 10px;
    }

    .wish-form input,
    .wish-form textarea {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 0.8rem;
        font-size: 1rem;
    }

    .subsection-title {
        font-size: 1.4rem;
    }

    .wish-card {
        padding: 1.2rem;
    }

    #love-message {
        font-size: 1.1rem;
        padding: 1.2rem 1.5rem;
    }

    .logo {
        font-size: 1.3rem;
    }
}