/* =====================================================
        RESPONSIVE.CSS
        Wedding Invitation Premium
======================================================*/

/* ==========================================
        Large Desktop
========================================== */

@media (min-width:1400px) {

    .container {
        max-width: 1320px;
    }

    #hero h1 {
        font-size: 82px;
    }

    .hero-image img {
        width: 560px;
    }

}

/* ==========================================
        Laptop
========================================== */

@media (max-width:1200px) {

    #hero h1 {
        font-size: 60px;
    }

    .hero-image img {
        width: 420px;
    }

    .opening-content h1 {
        font-size: 60px;
    }

}

/* ==========================================
        Tablet Landscape
========================================== */

@media (max-width:992px) {

    body {
        padding-bottom: 70px;
    }

    .navbar {
        display: none !important;
    }

    .mobile-nav {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 70px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.05);
        border-top: 1px solid rgba(181, 126, 220, 0.15);
        justify-content: space-around;
        align-items: center;
        z-index: 9999;
        padding: 5px 0;
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #8a7a8a;
        font-size: 11px;
        font-weight: 500;
        text-decoration: none !important;
        width: 16%;
        transition: all 0.3s ease;
    }

    .mobile-nav-item i {
        font-size: 18px;
        margin-bottom: 3px;
    }

    .mobile-nav-item.active {
        color: var(--purple) !important;
        transform: translateY(-2px);
    }

    section {
        padding: 90px 0;
    }

    .navbar-collapse {
        margin-top: 15px;
    }

    .nav-link {
        margin: 12px 0;
    }

    #hero {
        text-align: center;
        padding-top: 120px;
    }

    #hero h1 {
        font-size: 55px;
    }

    #hero p {
        font-size: 16px;
    }

    .hero-image {
        margin-top: 50px;
    }

    .hero-image img {
        width: 360px;
    }

    .count-wrapper {
        gap: 20px;
    }

    .count-box {

        width: 140px;
        height: 140px;

    }

    .count-box h1 {
        font-size: 48px;
    }

    .love-icon {
        margin: 40px auto;
    }

}


/* ==========================================
        Timeline Responsive
========================================== */

@media(max-width:991px) {

    .timeline::before {

        left: 30px;

    }

    .timeline-item {

        width: 100%;

        left: 0 !important;

        padding-left: 80px;

        padding-right: 20px;

        text-align: left !important;

        margin-bottom: 35px;

    }

    .timeline-dot {

        left: 20px !important;

        right: auto;

    }

}


/* ==========================================
        Tablet Portrait
========================================== */

@media(max-width:768px) {

    section {

        padding: 70px 0;

    }

    .section-title h2 {

        font-size: 42px;

    }

    .opening-content {

        padding: 35px 25px;

    }

    .opening-content h1 {

        font-size: 52px;

    }

    .opening-content span {

        font-size: 30px;

    }

    #hero h1 {

        font-size: 46px;

    }

    #hero h5 {

        font-size: 16px;

    }

    .hero-image img {

        width: 300px;

    }

    .quote-card {

        padding: 35px;

    }

    .person-card {

        margin-bottom: 30px;

    }

    .person-card img {

        width: 180px;

    }

    .count-box {

        width: 120px;

        height: 120px;

    }

    .count-box h1 {

        font-size: 40px;

    }

    .timeline-content {

        padding: 25px;

    }

    .timeline-content h3 {

        font-size: 28px;

    }

    .timeline-content h4 {

        font-size: 18px;

    }

}


/* ==========================================
        Mobile
========================================== */

@media(max-width:576px) {

    body {

        font-size: 15px;

    }

    section {

        padding: 60px 0;

    }

    .section-title {

        margin-bottom: 45px;

    }

    .section-title h2 {

        font-size: 36px;

    }

    .navbar-brand {

        font-size: 32px;

    }

    .opening-content {

        width: 92%;

        padding: 30px 20px;

    }

    .opening-content h1 {

        font-size: 42px;

    }

    .opening-content h5 {

        font-size: 13px;

        letter-spacing: 2px;

    }

    .opening-content span {

        font-size: 25px;

    }

    .btn-open {

        width: 100%;

    }

    #hero {

        padding-top: 120px;

    }

    #hero h1 {

        font-size: 40px;

    }

    #hero p {

        font-size: 14px;

        line-height: 1.8;

    }

    .btn-main {

        width: 100%;

        text-align: center;

    }

    .hero-image {

        margin-top: 35px;

    }

    .hero-image img {

        width: 260px;

    }

    .count-wrapper {

        justify-content: center;

    }

    .count-box {

        width: 95px;

        height: 95px;

    }

    .count-box h1 {

        font-size: 30px;

    }

    .count-box span {

        font-size: 13px;

    }

    .quote-card {

        padding: 25px;

    }

    .quote-card h2 {

        font-size: 34px;

    }

    .quote-card p {

        font-size: 14px;

    }

    .person-card {

        padding: 25px;

    }

    .person-card img {

        width: 150px;

    }

    .person-card h2 {

        font-size: 38px;

    }

    .love-icon {

        width: 70px;

        height: 70px;

        font-size: 26px;

    }

    .timeline {

        margin-top: 30px;

    }

    .timeline::before {

        left: 22px;

    }

    .timeline-item {

        padding-left: 60px;

    }

    .timeline-dot {

        width: 18px;

        height: 18px;

        left: 14px !important;

    }

    .timeline-content {

        padding: 20px;

    }

    .timeline-content h3 {

        font-size: 24px;

    }

    .timeline-content h4 {

        font-size: 16px;

    }

}


/* ==========================================
        Small Mobile
========================================== */

@media(max-width:390px) {

    .opening-content h1 {

        font-size: 36px;

    }

    #hero h1 {

        font-size: 34px;

    }

    .hero-image img {

        width: 220px;

    }

    .count-box {

        width: 80px;

        height: 80px;

    }

    .count-box h1 {

        font-size: 24px;

    }

    .count-box span {

        font-size: 11px;

    }

    .section-title h2 {

        font-size: 30px;

    }

    .person-card img {

        width: 130px;

    }

}

/* ======================================================
            ADDITIONAL RESPONSIVE OVERRIDES
====================================================== */

@media (max-width: 992px) {
    .video-container iframe {
        height: 380px !important;
    }
}

@media (max-width: 768px) {
    .gallery-item img {
        height: 220px !important;
    }

    .video-container iframe {
        height: 300px !important;
    }

    .event-card {
        padding: 35px 25px !important;
    }

    .rsvp-card, 
    .wishes-card {
        padding: 35px 25px !important;
    }

    .gift-card {
        padding: 35px 25px !important;
    }

    .footer-title {
        font-size: 36px !important;
    }
}

@media (max-width: 576px) {
    .gallery-item img {
        height: 180px !important;
    }

    .video-container iframe {
        height: 200px !important;
    }

    .event-card {
        padding: 30px 20px !important;
    }

    .rsvp-card, 
    .wishes-card {
        padding: 30px 20px !important;
    }

    .gift-card {
        padding: 30px 20px !important;
    }

    .account-number {
        font-size: 20px !important;
    }
}