:root {
    --primary-color: #1a1a1a;
    --secondary-color: #c5a059;
    /* Subtle Gold/Brass accent for premium feel */
    --text-color: #333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --gray: #666;
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 40px;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 20px;
}

/* Navigation */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    /* Initial height */
    transition: var(--transition);
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 4px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* Ensure hero swiper slides are visible */
.hero-swiper .swiper-slide {
    display: block !important;
    opacity: 1 !important;
}

/* Disable AOS animations - show content immediately */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
}

.aos-animate {
    opacity: 1 !important;
    transform: none !important;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    text-align: center;
    color: var(--white);
    z-index: 10;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero-content p {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 2px;
}

@media (min-width: 1200px) {
    .hero-content {
        left: calc(50% - 580px);
        width: auto;
        max-width: var(--max-width);
        text-align: left;
        padding: 0;
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 20px;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links li {
        margin: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}

/* Mobile Hero Section */
@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        min-height: 500px;
    }

    .hero-content {
        top: calc(50% + 50px);
        width: 100%;
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 8px;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 25px;
        letter-spacing: 1px;
    }

    .hero-content .btn {
        padding: 12px 25px;
        font-size: 0.85rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .swiper-pagination {
        bottom: 20px !important;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
}

/* Grid System */
.grid {
    display: grid;
    gap: 40px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* Section Styling */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #ed008d;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.text-left {
    text-align: left !important;
}

.mt-60 {
    margin-top: 60px;
}

.my-4 {
    margin: 20px 0;
}

.max-w-800 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid for 1/3 and 2/3 layout */
.grid-1-2 {
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

@media (max-width: 968px) {
    .grid-1-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Oferta Section Layout */
.oferta-technical-layout {
    display: grid;
    align-items: start;
}

.oferta-tables {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.oferta-visual {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.oferta-visual img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* Table Styles */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.data-table td {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    font-weight: 400;
}

.data-table td:first-child {
    color: var(--gray);
    font-weight: 400;
}

.data-table td:last-child {
    text-align: right;
    font-weight: 600;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.construction-box {
    background: var(--light-bg);
    padding: 20px;
    border-left: 4px solid #ed008d;
    margin-top: 20px;
}

.construction-box h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.small {
    font-size: 0.85rem;
    line-height: 1.4;
}


/* O Nas Section */
.o-nas-section p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Gallery Full Width Swiper */
.gallery-full-width {
    width: 100%;
    overflow: hidden;
}

.gallery-swiper {
    width: 100%;
    padding: 20px 0;
}

.gallery-swiper .gallery-item {
    aspect-ratio: 16/10;
    overflow: hidden;
    cursor: grab;
    transition: var(--transition);
}

.gallery-swiper .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-swiper .gallery-item:hover img {
    transform: scale(1.08);
}

.photo-placeholder {
    width: 100%;
    height: 400px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #ccc;
    color: #999;
    font-weight: 600;
    letter-spacing: 2px;
}

.oferta-section {
    padding-bottom: 0px;
}

.oferta-text-block p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.info-card {
    background: var(--white);
    padding: 30px;
    height: 100%;
}

.info-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    border-left: 4px solid #ed008d;
    padding-left: 15px;
}

.params-list,
.space-list {
    list-style: none;
}

.params-list li,
.space-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.params-list li span,
.space-list li span {
    font-weight: 600;
}

.highlight-card {
    background: var(--primary-color);
    color: var(--white);
}

.highlight-card p {
    opacity: 0.9;
}

.img-fluid {
    width: 100%;
    height: auto;
}

.rounded {
    border-radius: 8px;
}

.shadow {
    box-shadow: none;
}

.img-caption {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 10px;
    font-style: italic;
}

/* FAQ Section */
.faq-section {
    background: var(--light-bg);
}

.faq-container {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #fdfdfd;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: #ed008d;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Large enough to fit content */
    padding: 0 25px 25px 25px;
}

.faq-answer p {
    color: var(--gray);
    font-size: 1rem;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

/* Kontakt Section */
.kontakt-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
}

.kontakt-section .section-title {
    color: var(--white);
}

.kontakt-section .section-title::after {
    left: 0;
    transform: none;
}

.kontakt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    text-align: left;
}

@media (max-width: 768px) {
    .kontakt-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .contact-item {
        justify-content: center;
    }
}

.company-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.id-info {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-item i {
    color: #ed008d;
    font-size: 1.5rem;
    margin-top: 5px;
}

.contact-text p {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
}

.footer-phone-link {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-top: 5px;
}

.footer-phone-link:hover {
    color: var(--secondary-color);
}

.cta-box h3 {
    margin-bottom: 0;
    font-size: 1.5rem;
    color: var(--white);
}

.cta-box p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
}

.cta-box .footer-phone {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.cta-box .footer-phone:hover {
    color: var(--secondary-color);
}

/* Footer */
.footer {
    padding: 40px 0 30px 0;
    background: #000000;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    border-top: none;
    margin-top: 0;
}

.footer-phone {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.footer-phone:hover {
    color: var(--secondary-color);
}

@media (max-width: 600px) {
    .footer .grid-2 {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;
    }

    .footer-phone {
        font-size: 1.5rem;
    }

    .cta-box .footer-phone {
        font-size: 1.5rem;
    }
}

/* Swiper overrides */
.swiper-button-next,
.swiper-button-prev {
    color: var(--white);
}

.swiper-pagination-bullet-active {
    background: var(--white);
}

/* Mobile Responsive */
@media (max-width: 968px) {

    .grid-2,
    .kontakt-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .section {
        padding: 40px 0;
    }

    .footer-phone-link {
        font-size: 1.5rem;
    }
}

/* Fallback styles to ensure content is visible - refined to not break AOS */
body {
    visibility: visible;
    opacity: 1;
}

/* Ensure hero slides are visible - Swiper handles this but keep as fallback if it fails */
.hero-slide {
    display: block;
}