/* Hide certain widgets on mobile only */
@media (max-width: 768px) {
    .weather-widget-always,
    #weatherWidget,
    .faq-widget,
    #faqWidget,
    .sticky-call-btn {
        display: none !important;
    }
}
/* Layout - Page Sections and Structure */

/* Hero Section */
.hero {
    position: relative;
    color: var(--dark-blue);
    padding: 0;
    overflow: hidden;
    margin-top: 80px;
    min-height: 450px;
    height: 70vh;
    background: transparent; /* removed gradient to avoid colored band on mobile */
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    max-width: 100%;
}

.hero-slider {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    width: 100%;
    height: 100%;
    max-width: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity var(--transition-normal), transform var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    position: relative;
    pointer-events: auto;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100vh;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0;
    box-shadow: none;
    transition: filter 0.3s;
}

.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    border: 2px solid rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.slider-dots .dot.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 10;
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255,255,255,0.85); /* More opaque overlay for better text readability */
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
@media (max-width: 900px) {
    .hero {
        height: 45vh;
        min-height: 250px;
    }
    .hero-slide img {
        height: 100%;
        min-height: 250px;
        max-height: 55vh;
    }
    .hero-content {
        padding: 1rem 0.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .hero {
        height: 35vh;
        min-height: 160px;
    }
    .hero-slide img {
        min-height: 160px;
        max-height: 35vh;
    }
    .hero-content {
        padding: 0.5rem 0.2rem;
        font-size: 0.95rem;
    }
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
    text-align: center;
    text-shadow: none;
    color: var(--dark-blue);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 1;
    line-height: 1.6;
    text-align: center;
    text-shadow: none;
    color: var(--text-dark);
}

.hero .hero-urgency {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-blue);
    text-shadow: none;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 1.5rem;
}

/* Services Section */
.usluge {
    padding: 80px 5% 60px;
    background: var(--background-gray);
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--dark-blue);
    margin-bottom: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
}

.section-title p {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    text-align: center;
    font-weight: 600;
}

.usluge-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 3rem;
    justify-items: center;
}

.usluge-grid .usluga-card {
    width: 100%;
    max-width: 420px;
}

/* About Us Section */
.o-nama {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.o-nama-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.o-nama-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.o-nama-text {
    text-align: center;
    width: 100%;
}

.o-nama-text h2 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 2rem;
    font-weight: 700;
    margin-top: 0;
}

.o-nama-text p {
    margin-bottom: 1.5rem;
    color: var(--medium-gray);
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
}

.o-nama-features {
    width: 100%;
}

/* Detailed Services Section */
.detailed-services-section {
    width: 100%;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--background-gray);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-gray);
}

.service-info h3 {
    font-size: 1.4rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-info h3:first-child {
    margin-top: 0;
}

.service-info p {
    margin-bottom: 1.5rem;
    color: var(--medium-gray);
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
}

.service-info p strong {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Team Section */
.nas-tim-section {
    width: 100%;
    text-align: center;
    margin-top: 3rem;
}

.nas-tim-section h3 {
    font-size: 1.8rem;
    color: var(--dark-blue);
    margin-bottom: 2rem;
    font-weight: 600;
}

.tim-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.tim-image {
    background: var(--background-gray);
    height: 280px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-gray);
    padding: 0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.tim-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.tim-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tim-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(30, 58, 138, 0.95), rgba(30, 58, 138, 0.7));
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
}

/* Testimonials Section */
.testimonials {
    background: #fafbfc;
    padding: 60px 5%;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    grid-template-rows: repeat(auto-fit, minmax(280px, 1fr));
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-gray);
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 1.5rem;
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.testimonial-text {
    font-style: italic;
    color: var(--medium-gray);
    line-height: 1.7;
    font-size: 1.05rem;
    position: relative;
    display: flex;
    align-items: center;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--light-blue);
    position: absolute;
    top: -8px;
    left: -8px;
    font-family: serif;
    line-height: 1;
    z-index: -1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.author-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid var(--primary-blue);
    object-fit: cover;
    background: linear-gradient(135deg, var(--light-blue), #f0f8ff);
}

.author-info h4 {
    color: var(--dark-blue);
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

.author-info p {
    color: var(--light-gray);
    white-space: nowrap;
    font-size: 0.9rem;
}

/* Gallery Section */
.gallery {
    padding: 60px 5%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    height: 300px;
    background: var(--light-blue);
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: var(--transition-normal);
    background: #f8f9fa;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(30, 58, 138, 0.95), rgba(30, 58, 138, 0.7));
    color: white;
    padding: 1.2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(0);
    transition: var(--transition-normal);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact Form Section */
.contact-form-section {
    padding: 60px 5%;
    background: var(--background-gray);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--light-gray);
    font-style: italic;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #003366 100%);
    color: white;
    padding: 60px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.1"><polygon fill="white" points="0,0 1000,1000 0,1000"/></svg>');
    background-size: cover;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item {
    text-align: center;
}

.contact-item h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.contact-item p {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

/* Footer */
footer {
    background: var(--dark-gray);
    color: white;
    padding: 40px 5% 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column h3 {
    color: var(--accent-orange);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1rem;
}

.footer-column a:hover {
    color: white;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #999;
    font-size: 0.9rem;
}

/* Partners Section */
.partners {
    padding: 80px 5% 60px;
    background: var(--background-gray);
    scroll-margin-top: 100px; /* Account for fixed header */
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.partner-box {
    background: white;
    border-radius: var(--radius-md);
    padding: 2rem 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.partner-box img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    transition: filter 0.3s ease;
}
