﻿body, h1, h2, h3, h4, h5, h6 {
    font-family: "Open Sans", sans-serif;
}

body, html {
    height: 100%;
    color: #777;
    line-height: 1.8;
}
/* Create a Parallax Effect */
.bgimg-1, .bgimg-2, .bgimg-3 {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
}

/* First image (Logo. Full height) */
.bgimg-1 {
    background-image: url('/images/zamliy-home.jpg');
    min-height: 100vh;
    width: 100%;
    position: relative;
}

/* Second image (Portfolio) */
.bgimg-2 {
    background-image: url("/images/zamliy-img2.jpg");
    min-height: 400px;
}

/* Third image (Contact) */
.bgimg-3 {
    background-image: url("/images/zamliy-img2.jpg");
    min-height: 400px;
}

.w3-wide {
    letter-spacing: 10px;
}

.w3-hover-opacity {
    cursor: pointer;
}

@media only screen and (max-width:600px) {
    .bgimg-1 {
        margin-top: 80px;
        background-attachment: scroll;
        min-height: 100vh;
        background-position: center center;
        background-image: url('/images/zamliy-home-m.jpg') !important;
    }
    
    .hero-title {
        font-size: 24px !important;
        letter-spacing: 2px !important;
        padding: 16px !important;
        margin: 0 8px;
        white-space: normal !important;
        line-height: 1.3 !important;
    }
    
    .w3-wide {
        letter-spacing: 2px;
    }
    
    /* Adjust navbar for mobile */
    .w3-bar {
        padding: 4px 0 !important;
    }
    
    /* Better mobile image sizing */
    .w3-image {
        max-width: 100%;
        height: auto;
    }
    
    /* Mobile text sizing */
    .w3-xlarge {
        font-size: 20px !important;
    }
    
    .w3-xxlarge {
        font-size: 28px !important;
    }
    
    /* Better mobile padding */
    .w3-padding-64 {
        padding: 32px 16px !important;
    }
    
    .w3-padding-large {
        padding: 16px 12px !important;
    }
}

/* Turn off parallax scrolling for tablets and phones */
@media only screen and (max-device-width: 1600px) {
    .bgimg-1, .bgimg-2, .bgimg-3 {
        background-attachment: scroll;
        min-height: 400px;
    }
}

/* Tablet specific optimizations */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
    .bgimg-1 {
        margin-top: 90px;
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 32px !important;
        letter-spacing: 4px !important;
    }
    
    .w3-wide {
        letter-spacing: 5px;
    }
}

