/* Urban Lounge Co. - Mobile Responsive Styles */

/* Tablet Styles (768px and below) */
@media screen and (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Typography adjustments */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    /* Hero section */
    .hero {
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    /* Navigation */
    .nav-menu {
        flex-direction: column;
    }

    .nav-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #2C3E50;
    }

    /* Grid adjustments */
    .row {
        margin: 0 -10px;
    }

    .col,
    .col-half,
    .col-third,
    .col-quarter {
        flex: 0 0 100%;
        padding: 0 10px;
        margin-bottom: 1rem;
    }

    /* Product grid */
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    /* Header adjustments */
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    /* Sections */
    .section {
        padding: 3rem 0;
    }

    /* Cards */
    .card-body {
        padding: 1.5rem;
    }
}

/* Mobile Styles (480px and below) */
@media screen and (max-width: 480px) {
    /* Base font size adjustment */
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 10px;
    }

    /* Typography for mobile */
    h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    h2 {
        font-size: 1.5rem;
        padding-left: 0.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    h4 {
        font-size: 1.125rem;
    }

    p {
        text-align: left;
        font-size: 0.95rem;
    }

    /* Hero section mobile */
    .hero {
        padding: 3rem 0;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    /* Header mobile */
    .header-top {
        padding: 0.25rem 0;
        font-size: 0.75rem;
        text-align: center;
    }

    .header-main {
        padding: 0.75rem 0;
    }

    .logo {
        height: 50px;
    }

    .contact-info {
        font-size: 0.875rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }

    /* Navigation mobile */
    .nav-link {
        padding: 0.625rem 1rem;
        font-size: 0.9rem;
    }

    /* Buttons mobile */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* Product grid mobile */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .product-item {
        margin-bottom: 1rem;
    }

    .product-image {
        height: 200px;
    }

    .product-info {
        padding: 1rem;
    }

    .product-title {
        font-size: 1.125rem;
    }

    .product-description {
        font-size: 0.875rem;
    }

    /* Forms mobile */
    .form-control {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .form-label {
        font-size: 0.9rem;
    }

    .checkbox-group {
        align-items: flex-start;
    }

    .checkbox-group label {
        font-size: 0.8rem;
    }

    /* Cards mobile */
    .card {
        margin-bottom: 1.5rem;
    }

    .card-header {
        padding: 1rem;
    }

    .card-body {
        padding: 1rem;
    }

    .card-footer {
        padding: 0.75rem 1rem;
    }

    /* Sections mobile */
    .section {
        padding: 2rem 0;
    }

    .section-title {
        margin-bottom: 2rem;
        font-size: 1.5rem;
    }

    /* Footer mobile */
    footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-section h3 {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.875rem;
    }

    .footer-links li {
        margin-bottom: 0.375rem;
    }

    .social-link {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 0.875rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
        padding-top: 0.75rem;
    }

    /* Utility classes mobile */
    .mb-1 { margin-bottom: 0.2rem; }
    .mb-2 { margin-bottom: 0.4rem; }
    .mb-3 { margin-bottom: 0.75rem; }
    .mb-4 { margin-bottom: 1rem; }
    .mb-5 { margin-bottom: 1.5rem; }

    .mt-1 { margin-top: 0.2rem; }
    .mt-2 { margin-top: 0.4rem; }
    .mt-3 { margin-top: 0.75rem; }
    .mt-4 { margin-top: 1rem; }
    .mt-5 { margin-top: 1.5rem; }

    /* Paper cut effects mobile adjustments */
    .paper-cut-corner::before {
        border-width: 0 15px 15px 0;
    }

    .zigzag-border::after {
        height: 8px;
        background-size: 15px 15px;
    }

    /* Row adjustments */
    .row {
        margin: 0 -5px;
    }

    .col,
    .col-half,
    .col-third,
    .col-quarter {
        padding: 0 5px;
    }
}

/* Extra small mobile (320px and below) */
@media screen and (max-width: 320px) {
    html {
        font-size: 13px;
    }

    .container {
        padding: 0 8px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }

    .logo {
        height: 45px;
    }

    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .product-image {
        height: 180px;
    }

    .form-control {
        padding: 8px 10px;
        font-size: 0.85rem;
    }

    .card-header,
    .card-body {
        padding: 0.75rem;
    }

    .section {
        padding: 1.5rem 0;
    }

    .footer-section h3 {
        font-size: 1rem;
    }

    .social-link {
        width: 32px;
        height: 32px;
        line-height: 32px;
        font-size: 0.8rem;
    }
}

/* Landscape mobile orientation */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .section {
        padding: 1.5rem 0;
    }

    .header-main {
        padding: 0.5rem 0;
    }

    .logo {
        height: 40px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        touch-action: manipulation;
    }

    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        touch-action: manipulation;
    }

    .contact-item {
        min-height: 44px;
        touch-action: manipulation;
    }

    .form-control {
        min-height: 44px;
        touch-action: manipulation;
    }

    /* Remove hover effects on touch devices */
    .product-item:hover {
        transform: none;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    }

    .product-item:hover .product-image {
        transform: none;
    }

    .card:hover {
        transform: none;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    }

    .btn:hover {
        transform: none;
    }

    .social-link:hover {
        transform: none;
    }
}

/* High DPI / Retina display adjustments */
@media only screen and (-webkit-min-device-pixel-ratio: 2),
       only screen and (min--moz-device-pixel-ratio: 2),
       only screen and (-o-min-device-pixel-ratio: 2/1),
       only screen and (min-device-pixel-ratio: 2),
       only screen and (min-resolution: 192dpi),
       only screen and (min-resolution: 2dppx) {
    
    /* Sharper borders and shadows for high DPI */
    .card {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .btn {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    }

    header {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
}

/* Print styles */
@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    header,
    nav,
    footer,
    .btn {
        display: none;
    }

    .container {
        width: auto;
        margin: 0;
        padding: 0;
    }

    .section {
        padding: 1rem 0;
    }

    .card {
        border: 1px solid #000;
        box-shadow: none;
    }

    a {
        text-decoration: underline;
    }

    a[href^="tel:"]::after {
        content: " (" attr(href) ")";
    }

    a[href^="mailto:"]::after {
        content: " (" attr(href) ")";
    }
}