/* =====================================================
   TABLET.CSS - Styles for tablet devices (768px - 1024px)
   Montierre Perfume Website
   ===================================================== */

@media (min-width: 768px) and (max-width: 1024px) {
    
    /* Simplified footer on tablet */
    footer.bg-black {
        display: block;
        padding: 40px 30px 40px 30px;
    }
    
    footer.bg-black .mb-20 {
        display: none;
    }
    
    footer.bg-black .grid {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 30px;
        justify-content: space-between;
    }
    
    .footer-about {
        display: none;
    }
    
    .footer-links,
    .footer-subscribe {
        display: block;
        flex: 1;
        min-width: 200px;
    }
    
    .footer-policies {
        display: block;
        flex: 1;
        min-width: 200px;
    }
    
    .footer-bottom {
        margin-top: 30px;
        padding-top: 20px;
    }
    
    .footer-social {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    /* ===== NAVBAR ===== */
    .navbar {
        padding: 14px 40px;
        justify-content: center;
        min-height: 58px;
    }
    
    .navbar-left {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    
    .navbar-center {
        gap: 20px;
    }
    
    .navbar-center a {
        font-size: 14px;
    }
    
    .logo {
        height: 30px;
        width: auto;
    }
    
    /* ===== HERO SECTION ===== */
    .hero-section {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-text {
        font-size: 28px;
        width: 80%;
        max-width: 600px;
        letter-spacing: 1.2px;
    }
    
    .hero-vector {
        bottom: -50px;
        height: 160px;
    }
    
    /* ===== CRAFTED SECTION ===== */
    .crafted-section {
        padding: 50px 40px;
    }
    
    .crafted-title {
        font-size: 28px;
    }
    
    .crafted-text {
        font-size: 16px;
        max-width: 650px;
    }
    
    /* ===== FRAME SECTION ===== */
    .frame {
        padding: 50px 40px;
        gap: 28px;
    }
    
    .frame .an-ode-to-elegance {
        font-size: 28px;
    }
    
    .frame .div-2 {
        gap: 20px;
    }
    
    .frame .rectangle {
        height: 350px;
    }
    
    .frame .text-wrapper {
        font-size: 20px;
    }
    
    /* ===== FRAGRANCE SECTION ===== */
    .fragrance-section {
        padding: 60px 40px;
        gap: 30px;
    }
    
    .fragrance-nav {
        width: 30%;
    }
    
    .tab-link {
        font-size: 20px;
        padding: 12px 0;
    }
    
    .tab-description {
        font-size: 15px;
    }
    
    .fragrance-display {
        width: 70%;
    }
    
    .fragrance-card {
        width: calc((100% / 2) - 10px);
    }
    
    /* ===== ART MEETS FRAGRANCE ===== */
    .art-column {
        height: 400px;
    }
    
    .content-column {
        padding: 60px 40px;
    }
    
    .content-column h2 {
        font-size: 30px;
    }
    
    .content-column p {
        font-size: 15px;
    }
    
    /* ===== INSTAGRAM SECTION ===== */
    .instagram-gallery {
        padding: 0 40px;
        gap: 15px;
    }
    
    .gallery-image {
        height: 300px;
    }
    
    .instagram-content {
        padding: 50px 40px;
        gap: 20px;
    }
    
    .instagram-title {
        font-size: 28px;
    }
    
    .instagram-subtitle {
        font-size: 15px;
        max-width: 600px;
    }
    
    /* ===== INDULGE SECTION ===== */
    .indulge-section {
        padding: 70px 40px;
    }
    
    .indulge-title {
        font-size: 28px;
    }
    
    .shop-now-link {
        font-size: 18px;
    }
    
    /* ===== PROFILE SECTION ===== */
    .profile-section {
        padding: 120px 0 50px 0;
    }
    
    .profile-grid {
        grid-template-columns: 240px 1fr;
        gap: 30px;
    }
    
    .profile-sidebar {
        padding: 25px;
    }
    
    .profile-content {
        padding: 30px;
    }
    
    /* ===== STATIC TEXT CONTAINER ===== */
    .static-text-container {
        font-size: 18px;
        padding: 18px 30px;
    }
    
    /* ===== COLLECTION OVERLAY ===== */
    .collection-overlay {
        height: auto;
        padding: 30px 40px;
    }
    
    .collection-cards {
        gap: 40px;
    }
    
    .collection-card {
        width: 180px;
    }
    
    .collection-card img {
        width: 180px;
        height: 180px;
    }
    
    /* ===== SEARCH BAR ===== */
    .sliding-search-bar {
        width: 280px;
        right: 40px;
    }
    
    /* ===== MODALS ===== */
    .auth-modal {
        max-width: 380px;
    }
    
    .cart-modal {
        max-width: 400px;
    }
    
    /* ===== BODY PADDING ===== */
    body {
        padding-top: 70px;
    }
}

/* ===== LANDSCAPE TABLET ADJUSTMENTS ===== */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    
    .hero-section {
        height: 100vh;
    }
    
    .hero-text {
        font-size: 24px;
    }
    
    .fragrance-section {
        flex-direction: row;
    }
    
    .fragrance-nav {
        width: 25%;
    }
    
    .fragrance-display {
        width: 75%;
    }
    
    .fragrance-card {
        width: calc((100% / 3) - 15px);
    }
    
    .art-meets-fragrance-section {
        flex-direction: row;
    }
    
    .art-column,
    .content-column {
        height: auto;
        min-height: 350px;
    }
    
    .instagram-gallery {
        flex-direction: row;
    }
    
    .gallery-image {
        height: 250px;
    }
}

/* ===== TOUCH OPTIMIZATIONS FOR TABLETS ===== */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Slightly larger touch targets */
    .icon-button,
    .navbar-center a {
        min-height: 40px;
    }
    
    /* Better scrolling */
    .tabs,
    .instagram-gallery,
    .fragrance-cards-container {
        -webkit-overflow-scrolling: touch;
    }
}
