/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/*Promijeni boju slova u crno, gumbe u crveno(grb skole) i naslov da ne ide preko lica u videu */

/*=============== VARIABLES CSS ===============*/
:root {
    --header-height: 3.5rem;

    /*========== Colors ==========*/
    /*Color mode HSL(hue, saturation, lightness)*/
    --black-color: hsl(220, 24%, 12%);
    --black-color-light: hsl(220, 24%, 15%);
    --black-color-lighten: hsl(220, 20%, 18%);
    --white-color: #fff;
    --body-color: hsl(220, 100%, 97%);

    /*========== Font and typography ==========*/
    /*.5rem = 8px | 1rem = 16px ...*/
    --body-font: "Poppins", sans-serif;
    --normal-font-size: .938rem;

    /*========== Font weight ==========*/
    --font-regular: 400;
    --font-semi-bold: 600;

    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1024px) {
    :root {
        --normal-font-size: 1rem;
    }
}

/*=============== BASE ===============*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: #F9F9F9;
}

ul {
    list-style: none;
    /* Color highlighting when pressed on mobile devices */
    /*-webkit-tap-highlight-color: transparent;*/
}

a {
    text-decoration: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
    max-width: 1120px;
    margin-inline: 1.5rem;
}

/*=============== HEADER ===============*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 16px hsla(220, 32%, 8%, .3);
    z-index: var(--z-fixed);
}

/*=============== NAV ===============*/
.nav {
    height: var(--header-height);
}

.nav__logo,
.nav__burger,
.nav__close {
    color: #6D6D6D;
}

.nav__data {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    display: inline-flex;
    align-items: center;
    column-gap: .25rem;
    font-weight: var(--font-semi-bold);
    /* Color highlighting when pressed on mobile devices */
    /*-webkit-tap-highlight-color: transparent;*/
}

.nav__logo i {
    font-weight: initial;
    font-size: 1.25rem;
}

.nav__toggle {
    position: relative;
    width: 32px;
    height: 32px;
}

.nav__burger,
.nav__close {
    position: absolute;
    width: max-content;
    height: max-content;
    inset: 0;
    margin: auto;
    font-size: 1.25rem;
    cursor: pointer;
    transition: opacity .1s, transform .4s;
}

.nav__close {
    opacity: 0;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1118px) {
    .nav__menu {
        position: absolute;
        left: 0;
        top: 2.5rem;
        width: 100%;
        height: calc(100vh - 3.5rem);
        overflow: auto;
        pointer-events: none;
        opacity: 0;
        transition: top .4s, opacity .3s;
    }

    .nav__menu::-webkit-scrollbar {
        width: 0;
    }

    .nav__list {
        background-color: #ffffff;
        padding-top: 1rem;
    }
}

.nav__link {
    color: #6D6D6D;
    background-color: #ffffff;
    font-weight: var(--font-semi-bold);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color .3s;
}

.nav__link:hover {
    background-color: #ffffff;
    color: #c92123;
}

/* Show menu */
.show-menu {
    opacity: 1;
    top: 3.5rem;
    pointer-events: initial;
}

/* Show icon */
.show-icon .nav__burger {
    opacity: 0;
    transform: rotate(90deg);
}

.show-icon .nav__close {
    opacity: 1;
    transform: rotate(90deg);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
    .container {
        margin-inline: 1rem;
    }

    .nav__link {
        padding-inline: 1rem;
    }
}

/* For large devices */
@media screen and (min-width: 1118px) {
    .container {
        margin-inline: auto;
    }

    .nav {
        height: calc(var(--header-height) + 2rem);
        display: flex;
        justify-content: space-between;
    }

    .nav__toggle {
        display: none;
    }

    .nav__list {
        height: 100%;
        display: flex;
        column-gap: 3rem;
    }

    .nav__link {
        height: 100%;
        padding: 0;
        justify-content: initial;
        column-gap: .25rem;
    }

    .nav__link:hover {
        background-color: transparent;
    }
}

#home,
#services,
#contact {
    scroll-margin-top: 80px;
    /* Adjust based on navbar height */
}

/*======HERO======*/

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    color: white;
    max-width: 400px;
}

.hero-title {
    font-size: 3rem;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.hero-text {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease-in-out, max-height 0.5s ease-in-out;
}

.hero-title:hover+.hero-text {
    opacity: 1;
    max-height: 200px;
}

.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #ffcc00;
    color: black;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #e6b800;
}

@media (max-width: 768px) {
    .hero-content {
        top: 40%;
        left: 10%;
        max-width: 80%;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        top: 35%;
        left: 5%;
        max-width: 90%;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-text {
        font-size: 0.9rem;
    }

    .cta-button {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
}

/*======ABOUT======*/

.landing-about #naslov-o-nama {
    text-align: center;
    font-size: 36px;
    padding: 60px 20px;
    color: #444;
    font-family: Poppins, sans-serif;
}

.landing-about {
    padding: 80px 20px;
    background-color: #F9F9F9;
    color: #333333;
    text-align: center;
    font-family: Poppins, sans-serif;
}

.container__1 {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    gap: 30px;
    justify-content: center;
}

.text-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.text-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #444444;
}

.text-content p {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.8;
    color: #666666;
}

.text-content .cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #c92123;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.text-content .cta-button:hover {
    background-color: #a6191b;
}

.image-content {
    flex: 1;
    max-width: 600px;
}

.image-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .container__1 {
        flex-direction: column;
        text-align: center;
    }

    .text-content {
        text-align: center;
        padding: 0 20px;
    }

    .text-content h1 {
        font-size: 36px;
    }

    .text-content p {
        font-size: 16px;
    }

    .text-content .cta-button {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .text-content h1 {
        font-size: 28px;
    }

    .text-content p {
        font-size: 14px;
    }

    .text-content .cta-button {
        font-size: 14px;
        padding: 8px 16px;
    }

    .image-content img {
        width: 90%;
    }
}

/* Services Section */
.services-section {
    padding: 60px 20px;
    background-color: #F9F9F9;
    text-align: center;
    font-family: Poppins, sans-serif;
}

.services-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-section h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #444444;
}

.services-intro {
    font-size: 18px;
    margin-bottom: 40px;
    color: #666666;
}

.service-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.service-card {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: left;
    flex: 1 1 calc(25% - 20px);
    /* Adjust for 4 cards in a row */
    min-width: 250px;
    max-width: 300px;
}

.service-card h2 {
    font-size: 24px;
    color: #333333;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 16px;
    color: #666666;
    line-height: 1.6;
}

.expert-supervision {
    margin: 40px 0;
    text-align: center;
}

.expert-supervision h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #444444;
}

.expert-supervision p {
    font-size: 16px;
    color: #666666;
    margin: 0 auto;
    max-width: 800px;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background-color: #c92123;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #a6191b;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .service-categories {
        flex-direction: column;
        align-items: center;
    }

    .service-card {
        max-width: 90%;
    }

    .cta-button {
        font-size: 16px;
        padding: 10px 20px;
    }
}

/*PHOTO GALLERY*/

.photo-gallery h1 {
    text-align: center;
    font-size: 36px;
    padding: 60px 20px;
    color: #444;
    font-family: Poppins, sans-serif;
}

.container {
    max-width: 1200px;
    width: 95%;
}

.slider-wrapper {
    position: relative;
}

.slider-wrapper .slide-button {
    position: absolute;
    top: 50%;
    outline: none;
    border: none;
    height: 50px;
    width: 50px;
    z-index: 5;
    color: #fff;
    display: flex;
    cursor: pointer;
    font-size: 2.2rem;
    background: #c92123;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transform: translateY(-50%);
}

.slider-wrapper .slide-button:hover {
    background: #a6191b;
}

.slider-wrapper .slide-button#prev-slide {
    left: -25px;
    display: none;
}

.slider-wrapper .slide-button#next-slide {
    right: -25px;
}

.slider-wrapper .image-list {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 18px;
    font-size: 0;
    list-style: none;
    margin-bottom: 30px;
    overflow-x: auto;
    scrollbar-width: none;
}

.slider-wrapper .image-list::-webkit-scrollbar {
    display: none;
}

.slider-wrapper .image-list .image-item {
    width: 325px;
    height: 400px;
    object-fit: cover;
}

.container .slider-scrollbar {
    height: 24px;
    width: 100%;
    display: flex;
    align-items: center;
}

.slider-scrollbar .scrollbar-track {
    background: #ccc;
    width: 100%;
    height: 2px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    position: relative;
}

.slider-scrollbar:hover .scrollbar-track {
    height: 4px;
}

.slider-scrollbar .scrollbar-thumb {
    position: absolute;
    background: #000;
    top: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    cursor: grab;
    border-radius: inherit;
}

.slider-scrollbar .scrollbar-thumb:active {
    cursor: grabbing;
    height: 8px;
    top: -2px;
}

.slider-scrollbar .scrollbar-thumb::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    bottom: -10px;
}

/* Styles for mobile and tablets */
@media only screen and (max-width: 1023px) {
    .slider-wrapper .slide-button {
        display: none !important;
    }

    .slider-wrapper .image-list {
        gap: 10px;
        margin-bottom: 15px;
        scroll-snap-type: x mandatory;
    }

    .slider-wrapper .image-list .image-item {
        width: 280px;
        height: 380px;
    }

    .slider-scrollbar .scrollbar-thumb {
        width: 20%;
    }
}

/*Kontakt*/
/* Container */
.container__3 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Section Title */
.contact-section h1 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: #444;
}

/* Contact Form */
.contact-form {
    background-color: #F9F9F9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    font-family: Poppins, sans-serif;
}

.contact-form h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #444;
}

.contact-form form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.contact-form form input,
.contact-form form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.contact-form form button {
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 18px;
    background-color: #c92123;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form form button:hover {
    background-color: #a6191b;
}

/* Salon Details */
.salon-details {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.salon-details h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #444;
}

.salon-details iframe {
    border-radius: 10px;
    margin-top: 10px;
}

/* Social Media */
.social-media {
    text-align: center;
}

.social-media h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #444;
}

.social-media .social-icons a {
    display: inline-block;
    margin: 0 10px;
    width: 40px;
    height: 40px;
}

.social-media .social-icons a img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.social-media .social-icons a img:hover {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .contact-form form button {
        font-size: 16px;
    }
}

/*Footer*/
.footer {
    background-color: #E8E8E8;
    color: #6D6D6D;
    padding: 2rem 1rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Section Styling */
.footer h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer p,
.footer ul {
    font-size: 0.875rem;
    margin: 0;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    text-decoration: none;
    color: #6D6D6D;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: #c92123;
}

/* Social Media Icons */
.footer-social .social-icons a {
    font-size: 1.5rem;
    color: #ffffff;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.footer-social .social-icons a:hover {
    color: #c92123;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.875rem;
}

.footer-media-icons img {
    display: inline-block;
    margin: 0 10px;
    width: 40px;
    height: 40px;
}