/* Responsive Styles for Elif Sezer Portfolio */

/* Large Devices (Desktops) */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero h1 {
        font-size: 90px;
        letter-spacing: -6px;
        line-height: 80px;
    }
    
    .hero h3 {
        font-size: 18px;
        letter-spacing: 14px;
    }
}

/* Medium Devices (Tablets) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero {
        padding: 80px 0 70px 0;
        background-size: 40%;
    }
    
    .hero h1 {
        font-size: 70px;
        letter-spacing: -5px;
        line-height: 65px;
    }
    
    .hero h3 {
        font-size: 16px;
        letter-spacing: 12px;
        line-height: 40px;
    }
    
    .inner {
        padding-top: 100px;
    }
    
    .section-padding {
        padding: 60px 0 70px;
    }
    
    .services .item {
        margin-bottom: 30px;
    }
    
    /* Portfolio items for tablets */
    .overlay-effect .img img {
        width: 100%;
        height: auto;
    }
}

/* Small Devices (Landscape Phones) */
@media (min-width: 576px) and (max-width: 767px) {
    .hero {
        padding: 60px 0 50px 0;
        background-size: 35%;
    }
    
    .hero h1 {
        font-size: 50px;
        letter-spacing: -4px;
        line-height: 50px;
    }
    
    .hero h3 {
        font-size: 14px;
        letter-spacing: 8px;
        line-height: 35px;
    }
    
    .inner {
        padding-top: 70px;
    }
    
    .section-padding {
        padding: 50px 0 60px;
    }
    
    .menu-wrap, .show-menu .menu-wrap {
        height: auto;
    }
    
    .icon-list {
        padding: 1.5em 1em 0 3em;
    }
    
    .icon-list a {
        margin: 0 8px;
    }
    
    .services .item {
        margin-bottom: 30px;
    }
    
    .about-image {
        min-height: 300px;
    }
    
    .overlay-effect .img img {
        width: 100%;
    }
    
    /* Portfolio grid for landscape phones */
    .col-md-3.col-sm-6 {
        width: 50%;
        float: left;
        padding: 0 10px;
        margin-bottom: 20px;
    }
    
    /* Blog items for landscape phones */
    #blogSlider .col-md-4 {
        width: 100%;
        margin-bottom: 30px;
    }
    
    /* Contact section */
    .contact-details .col-md-6 {
        margin-bottom: 15px;
    }
}

/* Extra Small Devices (Portrait Phones) */
@media (max-width: 575px) {
    .hero {
        padding: 50px 0 40px 0;
        background-image: none;
    }
    
    .hero h1 {
        font-size: 40px;
        letter-spacing: -3px;
        line-height: 40px;
    }
    
    .hero h3 {
        font-size: 12px;
        letter-spacing: 5px;
        line-height: 30px;
    }
    
    .inner {
        padding-top: 60px;
    }
    
    .section-padding {
        padding: 40px 0 50px;
    }
    
    .menu-wrap, .show-menu .menu-wrap {
        height: auto;
    }
    
    .icon-list {
        padding: 1em 0.5em 0 2em;
    }
    
    .icon-list a {
        margin: 0 5px;
        font-size: 1em;
    }
    
    .services .item {
        margin-bottom: 30px;
    }
    
    .about-image {
        min-height: 250px;
    }
    
    .overlay-effect .img img {
        width: 100%;
    }
    
    .contact-details .dark-box {
        margin-bottom: 15px;
    }
    
    /* Portfolio grid for mobile */
    .col-md-3.col-sm-6 {
        width: 50%;
        float: left;
        padding: 0 5px;
        margin-bottom: 10px;
    }
    
    /* Blog items for mobile */
    #blogSlider .col-md-4 {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .social-buttons li {
        display: inline-block;
        margin: 0 5px;
    }
    
    /* Form inputs for mobile */
    .contact form input, 
    .contact form textarea {
        margin-bottom: 15px;
    }
    
    /* Footer text for mobile */
    footer p {
        font-size: 12px;
    }
}

/* Fix for menu in mobile view */
@media (max-width: 767px) {
    .show-menu .content-wrap {
        transform: translate3d(0, 180px, 0);
    }
    
    .show-menu .menu-wrap {
        height: 180px;
    }
    
    .menu-button, .menu-wrap {
        position: fixed;
        width: 2.5em;
        height: 2.25em;
        font-size: 1.2em;
        transform: translate3d(1em, 1em, 0);
    }
}

/* Fix for lightbox images */
@media (max-width: 767px) {
    .lb-outerContainer, .lb-dataContainer {
        width: 90% !important;
        height: auto !important;
    }
    
    .lb-image {
        width: 100% !important;
        height: auto !important;
    }
}

/* Fix for mobile menu visibility */
@media (max-width: 767px) {
    .icon-list a span {
        font-size: 0.4em;
    }
    
    .menu {
        overflow-y: auto;
        max-height: 180px;
    }
    
    /* Make navigation more touch-friendly */
    .icon-list a {
        padding: 10px 5px;
        display: inline-block;
    }
}

/* Touch-friendly buttons and links */
@media (max-width: 767px) {
    .scrollto, .nav_slide_button, .social-btn {
        padding: 10px;
        display: inline-block;
    }
    
    /* Improve form usability on mobile */
    input, textarea, select, button {
        font-size: 16px !important; /* Prevents iOS zoom on focus */
    }
    
    /* Larger touch targets */
    .btn {
        padding: 12px 20px;
    }
    
    /* Better spacing for mobile content */
    .section-padding {
        padding: 40px 0;
    }
    
    h1.arrow, h2.arrow {
        margin-bottom: 30px;
    }
}

/* Fix image gallery on mobile */
@media (max-width: 767px) {
    .img img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .grayscale {
        filter: none;
        -webkit-filter: none;
    }
} 