* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background-image: url('https://img5.su-cdn.com/common/2022/05/11/0a9e11978b5092a0f71a5cbdfe420dcc.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 30px 0;
}
header .container {
    align-items: start;
}
.container {
    /*max-width: 1400px;*/
    margin: 0 auto;
    padding: 0 40px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 150px;
    object-fit: contain;
    filter: drop-shadow(0px 0px 4px rgba(255, 255, 255, 0.75));
}

.nav-links {
    display: flex;
    gap: 50px;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.7;
}

.hero-content {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 40px;
}

.hero h1 {
    color: white;
    font-size: 72px;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8);
}

.hero p {
    color: white;
    font-size: 28px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    margin-bottom: 30px;
}

.hero-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 20px;
    font-weight: 600;
    color: white;
    background-color: #888;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s, transform 0.3s;
}

.hero-button:hover {
    background-color: #3571c1;
    transform: translateY(-3px);
}

/* About Section */
.about {
    padding: 100px 0;
    background: #ffffff;
    text-align: center;
}

.section-title {
    font-size: 48px;
    margin-bottom: 40px;
    color: #4a90e2;
    font-weight: 700;
}

.about-text {
    font-size: 20px;
    line-height: 1.8;
    color: #333;
    max-width: 900px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.2);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-title {
    font-size: 20px;
    color: #333;
    line-height: 1.6;
    font-weight: 500;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: #ffffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.gallery-item {
    height: 300px;
    /* ✔ srednja veličina */
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #ced4da;
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* ✔ slika se NE seče */
    display: block;
}

/* Footer */
footer {
    position: relative;
    background-image: url('https://www.kohler.co.in/content/dam/kohler-com-INDIA/Authored%20Content/Thumbnail-Images/Thumbnail-Images-aah25841.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0 40px 0;
    color: white;
}

footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: white;
}

.footer-section p,
.footer-links a {
    font-size: 18px;
    line-height: 1.8;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-section p a {
    color: white;
    text-decoration: none;
}

.footer-section p a:hover,
.footer-links a:hover {
    opacity: 0.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-bottom {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 16px;
}

.menu-icon {
    display: none;
    position: fixed;
    top: 2rem;
    right: 1.5rem;
    width: 3rem;
    height: 2.25rem;
    padding: 0.5rem;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1000;
}
.menu-icon span {
    width: 100%;
    height: 2px;
    display: block;
    background-color: #fff;
    position: relative;
}
.menu-icon span::after {
    content: '';
    position: absolute;
    inset: -1px -1px -1px -1px;
    border: 1px solid #3571c1;
}
.menu-resp {

    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    /*display: none;*/
    z-index: 1001;
    background-color: #fffe;
    transition: transform 250ms;
    transform: translateX(-100%);
}
.menu-resp .container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.menu-resp .container button {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    border: none;
    padding: 1rem;
    font-size: 2.5rem;
    background-color: transparent;
    color: #333;
}
.menu-resp .container ul {
    display: flex;
    flex-direction: column;
    gap: 1rem
}
.menu-resp .container ul li {
    list-style: none;
}
.menu-resp .container ul a {
    color: #3571c1;
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: bold;
}

@media (max-width: 920px) {
    .nav-links {
        display: none;
    }

    .menu-icon {
        display: flex;

    }
    .menu-resp.show {
        /*display: block;*/
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .logo img {
        height: 70px;
    }

    .nav-links {
        gap: 25px;
    }

    .nav-links a {
        font-size: 16px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 20px;
    }

    .hero-button {
        font-size: 18px;
        padding: 12px 25px;
    }

    .section-title {
        font-size: 36px;
    }

    .about-text {
        font-size: 18px;
    }

    .gallery-item {
        height: 220px;
    }

    /* malo manje na mobilnom */
}

@media (max-width: 720px) {
    .footer-content {
        text-align: center;
    }
}
@media (max-width: 400px) {
    .hero h1 {
        font-size: 34px;
    }
}