/*
Theme Name: fallQy_WP
Author: fallQy
Description: A basic template used to build websites
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fallqy-dev
*/

body {
    background: #111111;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrollbars */
    font-family: 'Poppins', Arial, sans-serif;
}

#test {background: red;}

h1, h2, h3, h4, h5, h6 {
    color: #FFF;
    font-family: 'Poppins', sans-serif;
    font-weight: 700; /* You can choose the specific weight you included */
    margin: 0;
    padding: 0;
}

a {
    color: #FFD217;
}


p, footer h1 {
    color: #7c7c7c;
}

p, li, footer h1 {
    font-size: 1.1rem;
    font-weight: normal;
}

::selection {
    background-color: #FFD217; /* Background color of the highlighted text */
    color: #000; /* Text color when highlighted */
}

/* General styling */
.section {
    display: flex;
    flex-direction: column;
    max-width: 100%;
}


.large-width {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header  */
header img {
    height: auto;
    max-width: 150px;
}

/* Hero section styling */
#hero {
    background-size: cover;
    margin-bottom: 0px;
    max-width: 100%;
} 

.hero-header {
    padding-top: 20px;
}

.hero-content {
    padding: 160px 0 80px 0;
}

.hero-width {
    max-width: 960px;
}

/* Animated letters in hero content */
#dynamic-services .service {
    display: none;
    animation: fade 5s linear infinite;
}
    #dynamic-services {
        display: inline; /* Visar tjänstetexterna på samma rad */
    }
        .service {
            display: inline; /* Keep the services inline */
            opacity: 0; /* Start hidden */
            transition: opacity 1s ease; /* Smooth transition */
        }
        .service.visible {
            opacity: 1; /* Make visible when .visible class is applied */
        }
            .letter {color:#FFD217;}

@keyframes fade {
    0%, 20% { opacity: 0; }
    20%, 80% { opacity: 1; }
    80%, 100% { opacity: 0; }
}

.hero-contact {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.hero-phone-number, .hero-button {
    display: inline-block;
    border-radius: 3px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
    font-weight: bolder;
    padding: 8px 16px;
    text-decoration: none;
}
    .hero-button {
        background: #FFD217;
        background-image: url('images/dust-50.png');
        background-size: cover;
        border: solid 2px #FFD217;
        display: inline-block;
        color: #000;
        transition: all 0.2s ease-in-out;
        
    }
        .hero-button:hover {
            background: #000;
            border: solid 2px #000;
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.8);
            color: #FFD217;
            transform: translateY(-3px);
        }
    .hero-phone-number {
        color: #FFD217;
        border: solid 2px #FFD217;
    }

.hero-button i {
    margin-left: 10px; /* Adjust space between text and icon */
    animation: pulse 1s ease-in-out infinite alternate;
}
    /* Keyframes for pulsing effect */
    @keyframes pulse {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(5px); /* Adjust distance as needed */
        }
    }

/* Home - Services */
#home-services {
    background-color: #080808;
    border-radius: 5px;
    margin-top: -40px;
    z-index: 1;
}
.home-services-post {
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
  overflow: hidden;
}
    .home-services-post:last-child {margin: 0;}
    
    .home-services-thumbnail img {
        width: 100%; /* Makes the image responsive */
        height: 100%; /* Ensures the image takes the full height of the parent div */
        object-fit: cover; /* Maintains the aspect ratio and fills the div */
        border-radius: 5px;
        width: 100%;
        height: auto;
        transition: transform 0.3s ease; /* Smooth zoom effect */
    }
        .home-services-post:hover img {transform: scale(1.03);}

.home-services-content {
    box-sizing: border-box;
}
    .home-services-content h2 {
        margin: 10px 0 5px 0;
        overflow-wrap: break-word;
    }
    .home-services-content p {
        font-size: 1em;
        line-height: 1.2;
        margin: 0;
    }
.home-more-services {
    flex: 0 0 200px; /* Give the link column a fixed width */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* HOME - Om mig */
#home-about {
    margin-top: 80px; margin-bottom: 80px;
}

/* Home - Rot Rut styling */
#rot-rut {
    background: #FFD217;
    background-image: url('images/dust-50.png');
    margin: 40px 0;
    padding: 40px 0;
}

/* HOME - Instagram feed */
#instagram-feed {
    background: #080808;
    padding: 40px 0;
}

/* Footer styling */
.footer-content {
    border-top: solid 3px #0c0c0c;
    padding: 20px 0;
    margin-top: 80px;
}

.footer-content img {
    height: auto;
    max-width: 100px;
}

/* SERVICES PAGE */
/* Services page styling */
#services {
    margin-top: -40px;
    z-index: 1;
}
.services-post {
    background-color: #080808;
    margin-bottom: 20px;
    border-radius: 5px;
}
    .services-post:last-child {margin: 0;}


.services-thumbnail {
    box-sizing: border-box;
    padding: 20px;
}
.services-thumbnail img {
    width: 100%; /* Makes the image responsive */
    height: 100%; /* Ensures the image takes the full height of the parent div */
    object-fit: cover; /* Maintains the aspect ratio and fills the div */
    border-radius: 5px;
}

.services-content {
    box-sizing: border-box;
    padding: 20px;
}
    .services-content h2, p {
        margin: 0;
    }

/* CONTACT */
.contact-info, .contact-form {  
    width: 100%;
}

.contact-form {
    background: #080808;
    box-sizing: border-box;
    padding: 20px;
    border-radius: 5px;
    overflow: hidden;
}
    .contact-form input, .contact-form textarea {
        background: #080808;
        border: 0;
        border-bottom: solid 2px #111111;
        box-sizing: border-box; /* Ensures padding and border are included in the width */
        color: #FFD217;
        font-family: 'Poppins', sans-serif;
        font-size: 1em;
        margin-bottom: 10px;
        padding: 15px;
        width: 100%; /* Makes the input fill the parent div's width */
    }
        .contact-form input:focus, .contact-form textarea:focus {
            border-radius: 5px;
            outline: solid 1px #FFD217;
        }

/* WIP */
.wip-container {
    margin: 0 auto;
    margin-top: 120px;
    max-width: 720px;
    padding: 0 20px;
    text-align: center;
}
.wip-container header {
        margin-bottom: 60px;
}

main h2 {
    color: #ffffff;
    font-size: 2.2rem;
}
main h2 i {margin-right: 10px;}

.contact-list {
    color: #FFF;
    font-weight: bolder;
    list-style-type: none;
    padding: 0;
    margin: 0;
    margin-top: 60px;
    margin-bottom: 30px;
    overflow-wrap: break-word;
}

.contact-list li {
    margin-bottom: 10px;
}
.contact-list li a {
    color: #fff;
    text-decoration: none;
}
.contact-list li a:hover {
    color: #FFD217;
}

.contact-list i {
    color:#FFD217;
    margin-right: 10px;
}

/* Footer */
.wip-footer {
    border: 0;
    margin: 20px auto 20px auto;
    max-width: 720px;
    padding: 0 20px;
    text-align: center;
}
/* Wip styling ends */


/* Medium screens (tablets, 600px and up) */
@media screen and (min-width: 600px) {
    /* Styles for tablets */

    /* SERVICES PAGE */
    /* Services page styling */
    .services-post {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: stretch; /* Ensures children stretch to the same height */
    }
        .services-post:nth-child(2) {flex-direction: row-reverse;}
        .services-thumbnail {width: 40%;}
        .services-content {width: 60%;}

        .services-content {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
  }
  
  /* Large screens (small laptops and desktops, 1024px and up) */
  @media screen and (min-width: 1024px) {
    /* Styles for larger screens */

    .home-services {
        display: flex;
        flex-direction: row;
        justify-content: start;
        align-items: start;
    }
        .home-services > div {flex: 1;} /* Makes the div the same width */

    /* SERVICES PAGE */
    /* Services page styling */
    .services-content {
        padding: 40px;
    }
    /* CONTACT PAGE */
    /* Contact page styling */
    .contact-footer {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
    }

  }
  
  /* Extra large screens (desktops, 1440px and up) */
  @media screen and (min-width: 1440px) {
    /* Styles for extra large screens */
  }