/* --- RESPONSIVE.CSS --- */
/* Qadr Luxury Website - Responsive Breakpoints */
/* NO FONT-SIZE REDUCTION - All font sizes remain at original values */
/* Logo, Icons, and All Elements - Exactly as original design */

/* ------------------------------------------------------------
   MOBILE MENU TOGGLE STYLES (Hamburger Menu - Right Side)
------------------------------------------------------------ */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    order: 2;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Desktop view - always show nav normally */
@media (min-width: 769px) {
    .main-nav {
        display: flex !important;
        position: relative !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        padding-top: 0 !important;
        box-shadow: none !important;
    }
    
    .main-nav ul {
        flex-direction: row !important;
        gap: 40px !important;
    }
    
    .main-nav .mobile-login-link {
        display: none !important;
    }
    
    .menu-overlay {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* ------------------------------------------------------------
   HERO BANNER RESPONSIVE FIX (main-hero-banner / hero-left h1)
------------------------------------------------------------ */
@media (max-width: 992px) {
    .hero-wrapper {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        min-height: auto;
        padding: 40px 0;
    }

    .hero-left {
        width: 100%;
    }

    .hero-left h1 {
        width: 100%;
        font-size: clamp(30px, 6vw, 42px);
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    .strategy-benefits-list {
        text-align: left;
        max-width: 400px;
        margin: 0 auto 20px auto;
    }

    .cta-flex {
        justify-content: center;
        display: flex;
    }
}

@media (max-width: 768px) {
    .hero-left h1 {
        font-size: clamp(26px, 7vw, 36px);
        width: 100%;
    }

    .main-hero-banner {
        padding-top: 30px;
        padding-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .hero-left h1 {
        font-size: clamp(22px, 8vw, 30px);
        line-height: 1.2;
    }

    .hero-text {
        font-size: 14px;
    }
}

/* ------------------------------------------------------------
   TABLET PORTRAIT & MOBILE (max-width: 768px)
   NO FONT SIZE CHANGES - ONLY LAYOUT ADJUSTMENTS
------------------------------------------------------------ */
@media (max-width: 768px) {
    /* Show mobile menu toggle button on right side */
    .mobile-menu-toggle {
        display: flex;
    }
    .hero-center{
        justify-content: center;
    }
    .brand-identity h1{
        font-size: clamp(45px, 8.5vw, 80px);
    }
    /* Header container - keep original layout */
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        padding: 0 20px;
    }
    .cart-count {
        width: 17px;
        height: 17px;
        font-size: 9px;
    }
    
    /* Hide main nav by default on mobile */
    .main-nav {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, #24180f 0%, #3b2b1d 50%, #5a4430 100%);
        padding-top: 100px;
        transition: left 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 1000;
        box-shadow: 5px 0 30px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 25px;
        align-items: center;
        padding: 0 20px;
    }
    
    .main-nav ul li {
        width: 100%;
        text-align: center;
    }
    
    .main-nav a {
        font-size: 12px;
        letter-spacing: 1.5px;
        color: #ffffff;
        display: block;
        padding: 10px 0;
    }
    
    .main-nav a:hover,
    .main-nav a.active {
        color: #c5a059;
    }
    
    /* Mobile login link styling */
    .main-nav .mobile-login-link {
        display: inline-block;
        margin-top: 20px;
        border: 1px solid rgba(255, 255, 255, 0.35);
        padding: 7px 22px;
        border-radius: 30px;
        text-align: center;
        background: transparent;
        color: #ffffff;
        font-size: 11px;
        letter-spacing: 2px;
    }
    
    .main-nav .mobile-login-link:hover {
        background: #ffffff;
        color: #000000;
        border-color: #ffffff;
    }
    
    .cta-wrapper {
        gap: 20px;
    }
    
    span.border-flower {
        width: 80px;
    }
    
    /* All font sizes remain ORIGINAL - NO REDUCTION */
    .brand-identity h1 {
        font-size: clamp(55px, 8.5vw, 80px);
    }
    
    .hero-tagline p {
        font-size: clamp(20px, 2.2vw, 25px);
    }
    
    .btn-explore {
        font-size: 13px;
    }
    
    .essence-head h2 {
        font-size: 13px;
    }
    
    .essence-headline {
        font-size: 44px;
    }
    
    .collection-featured h2 {
        font-size: 13px;
    }
    
    .collection-tag-title {
        font-size: 24px;
    }
    
    .collection-subtext-pitch {
        font-size: 11px;
    }
    
    .journal-date-stamp {
        font-size: 11px;
    }
    
    .journal-article-title {
        font-size: 21px;
    }
    
    .journal-read-more-btn {
        font-size: 11px;
    }
    
    /* Layout adjustments only */
    .secondary-promo-banner {
        padding: 45px 0;
    }
    
    .collection {
        padding: 30px 0;
    }
    
    .qadr-collection-card {
        max-width: 320px;
        height: 400px;
    }
    
    .qadr-collection-flex {
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
        flex-direction: row;
    }
    
    .cratsmanship {
        padding: 30px 0;
    }
    
    .journal-flex {
        flex-wrap: wrap;
        justify-content: center;
        gap: 35px;
        flex-direction: row;
    }
    
    .qadr-journal-card {
        max-width: 340px;
    }
    
    .journal-image-wrapper {
        height: 220px;
    }
    
    .collection-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    /* Footer - NO FONT SIZE CHANGES */
    .qadr-luxury-footer {
        padding-top: 55px;
    }
    
    .qadr-footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-royal-emblem {
        font-size: 50px;
    }
    
    .footer-brand-credo {
        font-size: 11px;
    }
    
    .qadr-col-title {
        font-size: 11px;
    }
    
    .qadr-footer-links a {
        font-size: 12px;
    }
    
    .newsletter-helper-text {
        font-size: 11px;
    }
    
    .newsletter-line-input {
        font-size: 11px;
    }
    
    .legal-copyright-mark {
        font-size: 10px;
    }
    
    .legal-policy-anchors a {
        font-size: 10px;
    }
}

/* ------------------------------------------------------------
   MOBILE (max-width: 640px) - LAYOUT ONLY, NO FONT SIZE CHANGES
------------------------------------------------------------ */
@media (max-width: 640px) {
    .qadr-footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-center{
        justify-content: center;
    }
    .essence-head {
        flex-wrap: wrap;
        justify-content: center;
    }
    .brand-identity h1{
        font-size: clamp(45px, 8.5vw, 80px);
    }
    .qadr-collection-card {
        max-width: 100%;
        height: 380px;
    }
    
    .qadr-journal-card {
        max-width: 100%;
    }
    
    .journal-image-wrapper {
        height: 200px;
    }
    
    .qadr-footer-col {
        align-items: center;
        text-align: center;
    }
    
    .qadr-footer-links {
        align-items: center;
    }
    
    .newsletter-helper-text {
        max-width: 100%;
        text-align: center;
    }
    
    .qadr-footer-newsletter-form {
        max-width: 100%;
        margin: 0 auto 30px auto;
    }
    
    .input-inline-row {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .qadr-social-row {
        justify-content: center;
        flex-wrap: wrap;
        gap: 25px;
    }
    
    .stripe-container-fluid {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .legal-policy-anchors {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ------------------------------------------------------------
   EXTRA SMALL DEVICES (max-width: 480px) - LAYOUT ONLY
------------------------------------------------------------ */
@media (max-width: 480px) {
    .header-container {
        padding: 0 15px;
    }
    .cart-count {
        width: 15px;
        height: 15px;
        font-size: 8px;
    }
    .brand-identity h1{
        font-size: clamp(45px, 8.5vw, 80px);
    }
    .qadr-collection-card {
        min-height: 350px;
        height: auto;
    }
    .hero-center{
        justify-content: center;
    }
    .collection-meta-wrapper {
        padding: 20px 15px;
    }
    
    .journal-image-wrapper {
        height: 180px;
    }
    
    .journal-content-wrapper {
        padding: 15px 15px 10px 0px;
    }
    
    .footer-royal-emblem {
        font-size: 45px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 16px;
        bottom: 15px;
        right: 15px;
    }
}

/* ------------------------------------------------------------
   INTRO SCREEN RESPONSIVE - LAYOUT ONLY, NO FONT CHANGES
------------------------------------------------------------ */
@media (max-width: 768px) {

    .intro-images{
        position: relative;
        width: 300px;
        height: 400px;
    }

    .intro-left,
    .intro-right{
        height: 400px;
        width: auto;
    }
.hero-center{
        justify-content: center;
    }
    @keyframes leftSlide{
        0%{
            left:-250px;
            opacity:0;
        }
        100%{
            left:50%;
            transform:translate(-100%, -50%);
            opacity:1;
        }
    }

    @keyframes rightSlide{
        0%{
            right:-250px;
            opacity:0;
        }
        100%{
            right:50%;
            transform:translate(100%, -50%);
            opacity:1;
        }
    }
}
@media (max-width: 480px) {

    .intro-images{
        width:250px;
        height:300px;
    }

    .intro-left,
    .intro-right{
        height:300px;
        width:auto;
    }

    @keyframes leftSlide{
        0%{
            left:-200px;
            opacity:0;
        }
        100%{
            left:50%;
            transform:translate(-100%, -50%);
            opacity:1;
        }
    }

    @keyframes rightSlide{
        0%{
            right:-200px;
            opacity:0;
        }
        100%{
            right:50%;
            transform:translate(100%, -50%);
            opacity:1;
        }
    }
}
/* ==========================================================================
   HERO BANNER (brand-identity / hero-tagline) — RESPONSIVE FIX
   ========================================================================== */
@media (max-width: 991px) {
    .brand-identity h1 {
        font-size: clamp(32px, 7vw, 55px);
        letter-spacing: 4px;
        word-break: break-word;
    }

    .hero-content-box {
        width: 100% !important;

    }

    .hero-tagline p {
        font-size: clamp(16px, 3vw, 20px);
    }

    .luxury-divider {
        flex-wrap: wrap;
    }

    span.border-flower {
        width: 60px;
    }
}

@media (max-width: 640px) {
    .brand-identity h1 {
        font-size: clamp(26px, 8vw, 40px);
        letter-spacing: 2px;
        line-height: 1.2;
    }

    .main-hero-banner {
        padding-top: 160px;
        padding-bottom: 80px;
    }

    .hero-tagline p {
        font-size: 15px;
        line-height: 1.5;
    }

    .cta-wrapper {
        flex-wrap: wrap;
        gap: 12px;
    }

    .btn-explore {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .brand-identity h1 {
        font-size: clamp(22px, 9vw, 36px);
        letter-spacing: 1px;
    }

    .main-hero-banner {
        padding-top: 140px;
        padding-bottom: 60px;
    }

    span.border-flower {
        width: 40px;
    }
}