/* Reset in osnovni stylesti */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

p {
    line-height: 1.6;
    font-size: 1.05rem;
    margin: 20px 0;
}

strong {
    font-weight: bold;
}

h1, h2, h3, h4, h5 {
    color: #1b5848;
    font-weight: 600;
    margin-top: 0;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* Section styles */
.section {
    width: 100%;
    background: #ffffff;
}

.section__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section--dark {
    background: #1b4848;
    color: #ffffff;
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5 {
    color: #ffffff;
}

/* Hero section */
#hero {
    min-height: 600px;
    background: url(images/sunset-7133867_1920.jpg) center center/cover no-repeat;
    display: flex;
    align-items: center;
}

/* Banner */
.banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.banner__logo {
    height: 200px;
    width: auto;
    display: block;
}

/* CTA Box */
.ctabox {
    max-width: 600px;
    text-align: left;
}

.ctabox__heading {
    color: #ffffff;
    font-size: 3rem;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.ctabox__content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Button */
.button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    color: #1b4848;
    background: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #1b4848;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.button:hover {
    color: #ffffff;
    background: #1b4848;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Icon Group */
.icongroup {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icongroup__icon {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.icongroup__icon:hover {
    color: #1b4848;
    background: #ffffff;
    transform: translateY(-2px);
}

/* Content Section */
.content-section {
    text-align: center;
    padding: 60px 20px;
}

.content-section p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid */
.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.grid__item {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    padding: 30px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.grid__item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.grid__icon {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.grid__text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
}

/* Footer */
#footer {
    background: #333333;
    text-align: center;
    padding: 30px 0;
}

#footer p {
    margin: 0;
    color: #ffffff;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .ctabox__heading {
        font-size: 2.2rem;
    }
    
    .section__content {
        padding: 30px 15px;
    }
    
    .banner {
        margin-bottom: 40px;
    }
    
    .banner__logo {
        height: 40px;
    }
    
    #hero {
        min-height: 500px;
    }
    
    .ctabox {
        text-align: center;
        max-width: 100%;
    }
    
    .grid {
        gap: 20px;
    }
    
    .grid__item {
        min-width: calc(50% - 20px);
        padding: 20px;
    }
    
    .button {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .ctabox__heading {
        font-size: 1.8rem;
    }
    
    .banner {
        flex-direction: column;
        gap: 20px;
    }
    
    .grid__item {
        min-width: 100%;
    }
    
    .icongroup {
        justify-content: center;
    }
    
    .button {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }
}

/* Tablets in landscape mobiles */
@media (min-width: 769px) and (max-width: 1024px) {
    .section__content {
        max-width: 90%;
        padding: 50px 30px;
    }
    
    .grid__item {
        min-width: calc(50% - 30px);
    }
}