/* 
 * Responsive Stylesheet for Takshya Creations
 * 
 * This file contains additional responsive styling for the website.
 */

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
    display: none;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    .hero-section {
        height: 400px;
    }
    
    .hero-title {
        font-size: 30px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .product-image img {
        height: 250px;
    }
    
    .product-title {
        height: 44px;
    }
}

@media (max-width: 767px) {
    .container {
        max-width: 540px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-menu-close {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: #ffffff;
        z-index: 1000;
        transition: left 0.3s ease;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        overflow-y: auto;
        display: block;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .nav-item {
        margin: 10px 0;
    }
    
    .nav-link {
        padding: 10px 0;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0 0 0 20px;
    }
    
    .dropdown-item {
        padding: 8px 0;
    }
    
    .hero-section {
        height: 300px;
        margin-bottom: 40px;
    }
    
    .hero-content {
        padding: 15px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .product-card {
        margin-bottom: 20px;
    }
    
    .product-image img {
        height: 200px;
    }
    
    .checkout-steps {
        flex-direction: column;
    }
    
    .checkout-step {
        margin-bottom: 10px;
    }
    
    .checkout-step:not(:last-child):after {
        display: none;
    }
    
    .cart-table thead {
        display: none;
    }
    
    .cart-table tbody tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid var(--border-color);
    }
    
    .cart-table tbody td {
        display: block;
        text-align: right;
        padding: 10px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .cart-table tbody td:before {
        content: attr(data-label);
        float: left;
        font-weight: 500;
    }
    
    .cart-product {
        text-align: left;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .order-status {
        margin-top: 10px;
    }
    
    .account-sidebar {
        margin-bottom: 30px;
    }
}

@media (max-width: 575px) {
    .container {
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
    }
    
    .product-image img {
        height: 180px;
    }
    
    .product-title {
        height: auto;
        max-height: 40px;
    }
    
    .cart-product {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cart-product-image {
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    .cart-quantity {
        justify-content: flex-end;
    }
    
    .order-meta {
        flex-direction: column;
    }
    
    .order-meta-item {
        margin-right: 0;
    }
    
    .order-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .order-total-price {
        margin-bottom: 10px;
    }
    
    .thumbnail-images {
        flex-wrap: wrap;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 768px) {
  .banner-container {
    margin-top: 60px; /* Smaller margin on mobile */
  }
  
  .banner-container img {
    max-height: 300px; /* Shorter banners on mobile */
  }
  
  .about-us-icon {
    max-width: 70px; /* Smaller icon on mobile */
  }
}

