* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fefffe;
    color: #000000;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%; 
    padding: 10px 15px;
    background-color: transparent;
    z-index: 2; 

}

.logo {
    font-size: large;
    font-weight: bolder;
    color: #ffa500;
}


nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    position: relative; 
    margin: 0 10px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    padding: 8px 10px;
    position: relative; 
    font-weight: bolder;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ffa500;
}

nav ul li a::after {
    content: ''; 
    position: absolute; 
    left: 0; 
    bottom: 0; 
    width: 100%; 
    height: 3px; 
    background-color: #f0963d; 
    transform: scaleX(0); 
    transition: transform 0.3s ease; 
}

nav ul li a:hover::after {
    transform: scaleX(1); 
}

.menu-toggle {
    display: none; 
    font-size: 30px;
    cursor: pointer;
    color: #ffffff;
    z-index: 4; 
}

.side-menu {
    height: 100%; 
    width: 0; 
    position: fixed; 
    z-index: 5; 
    top: 0;
    left: 0;
    background-color: #092e4a; 
    overflow-x: hidden; 
    transition: 0.5s; 
    padding-top: 60px;
}

.side-menu a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 1.5rem;
    color: #ffffff;
    display: block;
    transition: 0.3s;
}

.side-menu a:hover {
    color: #ffa500;
}

.side-menu .close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 36px;
}

.hero {
    position: relative; 
    height: 80vh; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden; 
    background-color: #000000;
}

.hero-background {
    position: absolute; 
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(to right,rgba(9, 46, 74,.7), rgba(0, 0, 0, 0.3)), url("../slike/kontakt.png");
    background-size: cover;
    background-position: center; 
    opacity: 0.7;
    z-index: 1; 
}

.hero-content {
    color: white; 
    position: relative; 
    z-index: 1;
    font-size: 1.5rem; 
}

.contact-section {
    padding: 50px 20px;
    text-align: center;
    background-color: #fefffe;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 20px auto;
}

.contact-section h2 {
    font-size: 2.5rem;
    color: #092e4a;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #344648;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #7d8e95;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #344648;
    outline: none;
}

.cta-button {
    background-color: rgb(9, 46, 74);
    color: #ffffff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s;
}

.cta-button:hover {
    background-color: #ffa500;
    transform: scale(1.05);
}

.instagram-contact {
    margin-top: 30px;
}

.instagram-contact img {
    width: 50px;
    height: 50px;
    margin-top: 10px;
    transition: transform 0.3s;
}

.instagram-contact img:hover {
    transform: scale(1.1);
}

footer {
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    background-color: #092e4a;
    color: rgb(255, 255, 255);
    padding: 20px;
    text-align: center;
    flex-wrap: wrap; 
}

.footer-left,
.footer-center,
.footer-right {
    flex: 1; 
    display: flex;
    justify-content: center; 
    flex-direction: column; 
    align-items: center;
    text-align: center; 
}

.footer-left {
    align-items: flex-start; 
    text-align: left;
}

.footer-center {
    align-items: center; 
}

.footer-right {
    align-items: flex-end; 
    text-align: right;
}

.footer-center .socials img {
    width: 30px;
    height: 30px;
    margin-bottom: 10px; 
}

.footer-right a {
    color: #ffa500;
    text-decoration: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    margin: 10px 0;
}

.card img {
    max-width: 100%;
    border-radius: 10px;
}

.card h3 {
    font-size: 1.5rem;
    color: #092e4a;
}

.payment-methods {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.payment-methods img {
    width: 40px; 
    height: auto; 
    margin: 0 10px; 
}

@media (max-width: 768px) {
    @media screen and (max-width: 768px) {
        nav ul {
            display: none;
        }
    
        .menu-toggle {
            display: block;
        }
    
        .side-menu {
            z-index: 5; 
        }
    
        .side-menu.open {
            width: 250px;
            z-index: 6;
        }
    
        .about-section {
            display: block; 
            padding: 20px;
            text-align: center; 
        }
    
        .about-text {
            margin-bottom: 20px;
            padding: 0 10px; 
        }
    
        .about-image {
            margin: 0;
        }
    
        .about-image img {
            width: 100%;
        }
    
        .main-section {
            flex-direction: column; 
        }
    
        .text, .image {
            padding: 0; 
            width: 100%; 
        }
    
        footer {
            flex-direction: column;
        }
    
        .footer-left, .footer-center, .footer-right {
            align-items: center;
            text-align: center;
        }
    
        .footer-left, .footer-right {
            margin-bottom: 15px;
        }
    }

    .contact-section {
        padding: 30px 15px;
    }
}
