/* ===============================================
   Mobile Responsive Styles for Tulja Art
   =============================================== */

/* Base Mobile Reset */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    position: relative;
}

body {
    width: 100% !important;
}

#all {
    width: 100% !important;
    overflow-x: hidden !important;
}

/* Mobile First - Extra Small Devices (phones, less than 768px) */
@media (max-width: 767px) {
    
    /* Typography */
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }
    
    h2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }
    
    h3 {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }
    
    h4 {
        font-size: 18px !important;
    }
    
    h5, h6 {
        font-size: 16px !important;
    }
    
    /* Spacing Adjustments */
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .container-fluid {
        width: 100% !important;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .section-padding {
        padding: 40px 0 !important;
    }
    
    /* Force all Bootstrap columns to full width on mobile */
    .col-xxxl-1, .col-xxxl-2, .col-xxxl-3, .col-xxxl-4, .col-xxxl-5, .col-xxxl-6,
    .col-xxxl-7, .col-xxxl-8, .col-xxxl-9, .col-xxxl-10, .col-xxxl-11, .col-xxxl-12,
    .col-xxl-1, .col-xxl-2, .col-xxl-3, .col-xxl-4, .col-xxl-5, .col-xxl-6,
    .col-xxl-7, .col-xxl-8, .col-xxl-9, .col-xxl-10, .col-xxl-11, .col-xxl-12,
    .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6,
    .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12,
    .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6,
    .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12,
    .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6,
    .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12,
    .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6,
    .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
        width: 100% !important;
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Remove column offsets on mobile */
    [class*="col-xxxl-offset-"],
    [class*="col-xxl-offset-"],
    [class*="col-xl-offset-"],
    [class*="col-lg-offset-"],
    [class*="col-md-offset-"],
    [class*="col-sm-offset-"] {
        margin-left: 0 !important;
    }
    
    /* Logo - Make responsive */
    .logo-container img {
        max-width: 250px !important;
        height: auto !important;
    }
    
    /* Page Loader Logo */
    .loader-logo {
        max-width: 200px !important;
        height: auto !important;
    }
    
    /* Menu */
    #menu {
        width: 100% !important;
        left: -100% !important;
        z-index: 9999 !important;
    }
    
    #menu.active {
        left: 0 !important;
    }
    
    .menu-container {
        padding: 20px !important;
        overflow-y: auto;
        max-height: 100vh;
    }
    
    .menu-inner {
        text-align: center;
    }
    
    .main-navigation ul {
        padding: 0;
    }
    
    .main-navigation ul li {
        display: block !important;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .main-navigation ul li a {
        padding: 15px 20px !important;
        font-size: 16px !important;
        display: block;
    }
    
    #menu-trigger {
        display: block !important;
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        z-index: 10000 !important;
        font-size: 30px !important;
        padding: 15px !important;
        width: 60px !important;
        height: 60px !important;
        background: rgba(0,0,0,0.8) !important;
        color: #fff !important;
        border-radius: 50% !important;
        text-align: center !important;
        line-height: 30px !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
    }
    
    #menu-trigger:hover {
        background: rgba(0,0,0,0.9) !important;
        transform: scale(1.1);
    }
    
    #menu-trigger.active {
        background: rgba(255,0,0,0.8) !important;
    }
    
    /* Page Screen Cover for Menu */
    #page-screen-cover {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 9998;
    }
    
    #page-screen-cover.active {
        display: block !important;
    }
    
    /* Slider */
    .ms-fullscreen-template {
        height: 400px !important;
        min-height: 400px !important;
    }
    
    .ms-container {
        height: 400px !important;
        touch-action: pan-y !important;
    }
    
    .ms-slide {
        height: 400px !important;
    }
    
    /* Master Slider Touch Support */
    .ms-container,
    .ms-view,
    .ms-slide {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-touch-callout: none;
    }
    
    /* Slider Controls - Make them bigger for touch */
    .ms-nav-next,
    .ms-nav-prev {
        width: 60px !important;
        height: 60px !important;
        line-height: 60px !important;
        font-size: 24px !important;
    }
    
    /* Slider Bullets */
    .ms-bullets {
        bottom: 20px !important;
    }
    
    .ms-bullets .ms-bullet {
        width: 12px !important;
        height: 12px !important;
        margin: 0 6px !important;
    }
    
    /* Slider Text Layers - Mobile Adjustments */
    #masterslider .ms-layer1 {
        top: 30% !important;
    }
    
    #masterslider .ms-layer2 {
        top: 45% !important;
        display: none !important; /* Hide description on mobile */
    }
    
    #masterslider .ms-layer3 {
        top: 60% !important;
        display: none !important; /* Hide button on mobile for cleaner look */
    }
    
    #masterslider .ms-layer h2 {
        font-size: 20px !important;
        line-height: 1.2 !important;
        padding: 0 20px;
    }
    
    /* Master Slider Thumbnails - Hide on mobile */
    .ms-thumbnail-container {
        display: none !important;
    }
    
    /* Navigation */
    .navbar-brand {
        font-size: 20px !important;
        padding: 10px 15px !important;
    }
    
    .navbar-nav {
        margin: 0 !important;
    }
    
    .navbar-nav > li > a {
        padding: 10px 15px !important;
    }
    
    .navbar-toggle {
        margin-top: 10px;
        margin-right: 10px;
    }
    
    /* Hero/Banner Section */
    .hero-section,
    .page-header,
    .masthead {
        padding: 60px 15px !important;
        min-height: 300px !important;
    }
    
    /* Buttons */
    .btn,
    .button {
        padding: 12px 25px !important;
        font-size: 14px !important;
        display: inline-block;
        margin: 5px !important;
    }
    
    .btn-group .btn {
        display: inline-block;
        width: auto;
    }
    
    /* Button variations */
    .button-border,
    .button-dark,
    .button-big,
    .button-long,
    .button-small {
        padding: 12px 20px !important;
        font-size: 14px !important;
        display: inline-block;
        text-align: center;
        white-space: normal;
        line-height: 1.4;
    }
    
    .button-big {
        padding: 15px 30px !important;
        font-size: 16px !important;
    }
    
    .button-small {
        padding: 8px 15px !important;
        font-size: 13px !important;
    }
    
    .button-long {
        width: 100% !important;
        max-width: 300px;
    }
    
    /* Icon Buttons */
    .button i,
    .btn i {
        margin: 0 5px;
    }
    
    /* Images */
    img {
        max-width: 100%;
        height: auto !important;
    }
    
    .img-responsive {
        display: block;
        max-width: 100%;
        height: auto;
    }
    
    /* Portfolio Grid */
    .portfolio-item,
    .grid-item {
        width: 100% !important;
        margin-bottom: 20px;
        float: none !important;
    }
    
    .portfolio-item img {
        width: 100%;
        height: auto;
    }
    
    /* Grid Container */
    .grid,
    .portfolio-grid {
        margin: 0 !important;
        padding: 0 10px !important;
    }
    
    /* Cards */
    .card,
    .service-box,
    .feature-box {
        margin-bottom: 20px;
        padding: 20px !important;
    }
    
    /* Tables */
    table {
        font-size: 12px;
    }
    
    .table-responsive {
        border: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Forms */
    .form-control {
        font-size: 16px !important; /* Prevents zoom on iOS */
        padding: 12px 15px !important;
        margin-bottom: 15px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    label {
        font-size: 14px;
        display: block;
        margin-bottom: 8px;
    }
    
    textarea.form-control {
        min-height: 120px;
    }
    
    /* Contact Form */
    #form-contact input,
    #form-contact textarea,
    #form-contact select {
        width: 100% !important;
        margin-bottom: 15px;
    }
    
    /* Footer */
    footer {
        text-align: center;
        padding: 30px 15px !important;
    }
    
    footer .col-xs-12 {
        margin-bottom: 20px;
    }
    
    footer p {
        font-size: 13px;
        line-height: 1.6;
    }
    
    /* Hide desktop elements */
    .hidden-xs,
    .visible-xxxl,
    .visible-xxl,
    .visible-xl,
    .visible-lg,
    .visible-md {
        display: none !important;
    }
    
    /* Modal */
    .modal-dialog {
        margin: 10px;
        width: auto !important;
    }
    
    .modal-content {
        padding: 15px;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 15px !important;
    }
    
    /* Popup Windows */
    .popup-window {
        width: 95% !important;
        max-width: 95% !important;
        margin: 20px auto !important;
        padding: 15px !important;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .popup-window-inner {
        padding: 15px;
    }
    
    .popup-window h2,
    .popup-window h3 {
        font-size: 20px !important;
        margin-bottom: 15px;
    }
    
    .popup-window img,
    .popup-window video,
    .popup-window iframe {
        width: 100% !important;
        height: auto !important;
        max-width: 100%;
    }
    
    .popup-window .owl-carousel {
        width: 100%;
    }
    
    .popup-close {
        font-size: 24px !important;
        padding: 10px !important;
        width: 44px;
        height: 44px;
        line-height: 24px;
    }
    
    /* Columns - Stack on mobile */
    .col-xs-12 {
        width: 100%;
    }
    
    [class*="col-"] {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Text alignment */
    .text-mobile-center {
        text-align: center !important;
    }
    
    /* Video */
    .video-container,
    .embed-responsive {
        margin-bottom: 20px;
    }
    
    iframe {
        max-width: 100%;
    }
    
    /* Testimonials */
    .testimonial {
        padding: 20px 15px !important;
        text-align: center;
    }
    
    /* Social Icons */
    .social-icons {
        text-align: center;
        margin: 20px 0;
    }
    
    .social-icons a {
        margin: 0 10px;
        font-size: 24px !important;
    }
    
    .menu-bottom a {
        font-size: 28px !important;
        margin: 0 8px;
    }
    
    /* Breadcrumb */
    .breadcrumb {
        font-size: 12px;
        padding: 10px 15px;
    }
    
    /* Pagination */
    .pagination {
        display: block;
        text-align: center;
    }
    
    .pagination > li {
        display: inline-block;
        float: none;
    }
    
    .pagination > li > a,
    .pagination > li > span {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    /* Blog Posts */
    .blog-post {
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .blog-post img {
        width: 100%;
        height: auto;
        margin-bottom: 15px;
    }
    
    /* Services Section */
    .service-item {
        margin-bottom: 25px;
        text-align: center;
    }
    
    /* About Section */
    .about-content {
        padding: 20px 15px;
    }
    
    /* Parallax - Disable on mobile for better performance */
    .parallax-background {
        background-attachment: scroll !important;
        background-position: center center !important;
    }
    
    /* Single Page Sections */
    .single-page {
        padding: 20px 0 !important;
    }
    
    .section-page {
        padding: 20px 15px !important;
    }
    
    .section-content {
        padding: 30px 0 !important;
    }
    
    /* Page Headings */
    .page-top-heading {
        font-size: 28px !important;
        margin-bottom: 30px !important;
        padding: 20px 0 !important;
    }
    
    .no-top-margin {
        margin-top: 20px !important;
    }
    
    /* Content Columns */
    .content-column {
        margin-bottom: 30px;
        padding: 20px 15px !important;
    }
    
    /* Row Spacing */
    .row-big,
    .row-huge,
    .row-clean {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Big Icon Single (Services Page) */
    .big-icon-single {
        width: 100% !important;
        float: none !important;
        margin-bottom: 40px;
        padding: 20px 15px !important;
        text-align: center;
    }
    
    .big-icon-single i {
        font-size: 48px !important;
        margin-bottom: 20px;
    }
    
    .big-icon-single h3 {
        font-size: 22px !important;
        margin: 15px 0 !important;
    }
    
    .big-icon-single .button-dark,
    .big-icon-single .button-long {
        width: 100% !important;
        max-width: 300px;
        display: block;
        margin: 20px auto 0 !important;
    }
    
    /* Blog Layout */
    .blog-layout2 {
        padding: 0 10px;
    }
    
    .blog-item {
        width: 100% !important;
        float: none !important;
        margin-bottom: 40px;
        padding: 0 10px !important;
    }
    
    .blog-img {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .blog-img img {
        width: 100%;
        height: auto;
    }
    
    .blog-content {
        padding: 20px 15px;
    }
    
    .blog-content h5 {
        font-size: 18px !important;
        line-height: 1.4;
    }
    
    .blog-details {
        font-size: 12px;
    }
    
    .blog-date {
        font-size: 12px;
        padding: 10px;
    }
    
    .blog-date-day {
        font-size: 24px !important;
    }
    
    /* Portfolio Page Specific */
    .portfolio-filter {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .portfolio-filter li {
        display: inline-block;
        margin: 5px;
    }
    
    .portfolio-filter li a {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    /* Filter Lists */
    .filter-list-alt {
        text-align: center;
        padding: 0;
        margin: 20px 0;
        list-style: none;
        float: none !important;
    }
    
    .filter-list-alt li {
        display: inline-block;
        margin: 5px;
    }
    
    .filter-list-alt li a {
        padding: 10px 15px;
        font-size: 14px;
        display: block;
    }
    
    #main-category-filter {
        float: none !important;
        text-align: center;
        width: 100%;
        margin-bottom: 20px !important;
    }
    
    /* Back to Main Button */
    .back-to-main-btn {
        float: none !important;
        width: 100% !important;
        max-width: 250px;
        margin: 0 auto 20px !important;
        display: block;
        text-align: center;
        padding: 12px 20px !important;
    }
    
    /* Category Groups */
    .category-group {
        margin-bottom: 30px;
        padding: 10px;
    }
    
    /* Portfolio Layout */
    .portfolio-layout3 {
        margin: 0 -10px;
    }
    
    .portfolio-item {
        padding: 10px !important;
        margin-bottom: 20px;
    }
    
    .portfolio-item-content {
        width: 100%;
    }
    
    .portfolio-img {
        width: 100%;
        position: relative;
        overflow: hidden;
    }
    
    .portfolio-img img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .portfolio-img-detail {
        padding: 15px;
    }
    
    .portfolio-item-detail-content {
        font-size: 14px;
    }
    
    .portfolio-item-cat {
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    /* Video Thumbnail */
    .video-thumbnail {
        position: relative;
        width: 100%;
    }
    
    .video-thumbnail .fa-play-circle {
        font-size: 48px !important;
    }
    
    /* No Category Message */
    #no-category-message {
        padding: 50px 20px !important;
    }
    
    /* Page Top Heading with Filter */
    .page-top-heading.pull-left {
        float: none !important;
        text-align: center;
        width: 100%;
        margin-bottom: 20px;
    }
    
    /* Owl Carousel on Mobile */
    .owl-carousel {
        margin-bottom: 30px;
    }
    
    .owl-carousel .owl-item {
        padding: 0 5px;
    }
    
    .single-slider-v2 .owl-dots {
        bottom: 15px !important;
    }
    
    /* About Page */
    .img-full {
        width: 100%;
        height: auto;
        margin: 20px 0;
    }
    
    .paragraph-big {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 20px;
    }
    
    /* Contact Page */
    #form-contact2 input[type="text"],
    #form-contact2 input[type="email"],
    #form-contact2 textarea {
        width: 100% !important;
        padding: 12px 15px !important;
        margin-bottom: 15px !important;
        font-size: 16px !important;
        border: 1px solid #ddd;
        display: block;
    }
    
    #form-contact2 textarea {
        min-height: 150px;
    }
    
    /* Booking Form */
    #form-booking input[type="text"],
    #form-booking input[type="email"],
    #form-booking input[type="tel"],
    #form-booking textarea,
    #form-booking select {
        width: 100% !important;
        padding: 12px 15px !important;
        margin-bottom: 15px !important;
        font-size: 16px !important;
        border: 1px solid #ddd;
        display: block;
        box-sizing: border-box;
    }
    
    #form-booking textarea {
        min-height: 120px;
        resize: vertical;
    }
    
    /* All Submit Buttons */
    .submit-small,
    input[type="submit"],
    button[type="submit"],
    .button-big,
    .button-dark,
    .button-long {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px 20px !important;
        font-size: 16px !important;
        margin-top: 10px;
        display: block;
        float: none !important;
        text-align: center;
    }
    
    .clearfix {
        clear: both;
    }
    
    .pull-left,
    .pull-right {
        float: none !important;
        width: 100% !important;
    }
    
    /* Alert Messages */
    .alert {
        padding: 15px;
        margin-bottom: 20px;
        font-size: 14px;
    }
    
    .alert-success {
        background: #d4edda !important;
        color: #155724 !important;
        border: 1px solid #c3e6cb !important;
    }
    
    /* Text Danger/Success */
    .text-danger,
    .text-success {
        display: block;
        font-size: 13px;
        margin-top: 5px;
        margin-bottom: 10px;
    }
    
    /* Lists */
    ul {
        padding-left: 20px;
    }
    
    ul li {
        margin-bottom: 10px;
        line-height: 1.6;
    }
    
    /* Margin Utilities */
    .margin-10,
    .margin-20,
    .margin-30,
    .margin-40,
    .margin-50 {
        margin-top: 15px !important;
        margin-bottom: 15px !important;
    }
    
    /* Icon Circle Links */
    .icon-circle {
        width: 44px;
        height: 44px;
        line-height: 44px;
        font-size: 18px;
        display: inline-block;
        margin: 5px;
    }
    
    /* Delimiter */
    .delimiter-inline-alt {
        margin: 0 8px;
    }
    
    /* Lightbox adjustments */
    .lightbox {
        padding: 10px;
    }
    
    /* Return Message */
    .return-msg {
        font-size: 14px;
        margin: 10px 0;
    }
    
    /* Image Hover Effects - Disable on mobile */
    .blog-img-hover:hover .blog-img-detail {
        opacity: 1;
    }
    
    .blog-img-detail {
        opacity: 0.9;
    }
    
    /* Better Spacing Between Elements */
    article,
    section {
        margin-bottom: 20px;
    }
    
    /* Fix for overflow issues */
    body,
    html {
        overflow-x: hidden !important;
        max-width: 100%;
    }
    
    * {
        max-width: 100%;
    }
    
    img,
    video,
    iframe {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Table Overflow */
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Links - Better tap targets */
    a {
        min-height: 44px;
        display: inline-block;
        line-height: normal;
        cursor: pointer !important;
        pointer-events: auto !important;
    }
    
    p a,
    .blog-content a,
    .content-column a {
        display: inline;
        min-height: auto;
        cursor: pointer !important;
    }
    
    /* Clickable Elements */
    .blog-img-hover,
    .portfolio-item-content,
    .popup-window-trigger,
    .icon-circle,
    .isotope-filter,
    .main-category-btn,
    .back-to-main-btn {
        cursor: pointer !important;
        pointer-events: auto !important;
        -webkit-tap-highlight-color: rgba(0,0,0,0.2);
        touch-action: manipulation;
    }
    
    /* Blog Image Detail - Always show on mobile */
    .blog-img-detail {
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    .blog-img-detail-inner,
    .blog-img-detail-content {
        pointer-events: auto !important;
    }
    
    .blog-img-detail-content a {
        pointer-events: auto !important;
        cursor: pointer !important;
    }
    
    /* Search Form */
    #form-search input[type="text"] {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }
    
    /* Better tap targets */
    a, button {
        min-height: 44px;
        display: inline-block;
        line-height: 44px;
    }
}

/* Small Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
    
    h1 {
        font-size: 32px !important;
    }
    
    h2 {
        font-size: 28px !important;
    }
    
    .section-padding {
        padding: 60px 0 !important;
    }
    
    .portfolio-item {
        width: 50% !important;
        float: left;
    }
    
    .btn {
        display: inline-block;
        width: auto;
    }
    
    .ms-fullscreen-template {
        height: 500px !important;
    }
    
    .ms-container,
    .ms-slide {
        height: 500px !important;
    }
    
    .logo-container img {
        max-width: 400px !important;
    }
}

/* Medium Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {
    
    .container {
        width: 970px;
    }
    
    .portfolio-item {
        width: 33.33% !important;
        float: left;
    }
    
    .ms-fullscreen-template {
        height: 600px !important;
    }
}

/* Landscape Orientation (Mobile) */
@media (max-width: 767px) and (orientation: landscape) {
    
    .hero-section,
    .page-header {
        padding: 40px 15px !important;
        min-height: 200px !important;
    }
    
    .ms-fullscreen-template,
    .ms-container,
    .ms-slide {
        height: 300px !important;
    }
    
    .navbar-collapse {
        max-height: 200px;
        overflow-y: auto;
    }
    
    #menu {
        overflow-y: auto;
        max-height: 100vh;
    }
}

/* Extra Small Devices (phones, less than 480px) */
@media (max-width: 480px) {
    
    h1 {
        font-size: 24px !important;
    }
    
    h2 {
        font-size: 20px !important;
    }
    
    h3 {
        font-size: 18px !important;
    }
    
    .section-padding {
        padding: 30px 0 !important;
    }
    
    .navbar-brand {
        font-size: 18px !important;
    }
    
    .ms-fullscreen-template,
    .ms-container,
    .ms-slide {
        height: 300px !important;
    }
    
    #masterslider .ms-layer h2 {
        font-size: 18px !important;
        padding: 0 15px;
    }
    
    /* Even smaller padding */
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .logo-container img {
        max-width: 200px !important;
    }
    
    .btn,
    .button {
        padding: 10px 20px !important;
        font-size: 13px !important;
    }
}

    /* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    
    /* Larger touch targets */
    a,
    button,
    .btn,
    .button,
    input[type="submit"],
    input[type="button"] {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Enable clicks on all elements */
    * {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    }
    
    /* Remove hover effects on touch devices */
    .hover-effect:hover {
        transform: none !important;
    }
    
    /* Better tap highlighting */
    a, button {
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    }
    
    /* Enable touch events */
    body {
        touch-action: manipulation;
    }
    
    /* Fix for iOS button clicks */
    button,
    input,
    a,
    select,
    textarea {
        -webkit-appearance: none;
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    }
}

/* Print Styles */
@media print {
    
    .navbar,
    .footer,
    .btn,
    .button,
    .social-icons,
    #page-loader,
    #menu,
    #menu-trigger {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
}

/* High DPI Displays (Retina) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Optimize for retina displays */
    img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
