:root {

    --primary-gold: #B87333;

    --dark-navy: #1a1a1a;

    --light-gray: #f8f9fa;

    --medium-gray: #6a6a6a;

    --white: #ffffff;

    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);

    --shadow-medium: 0 8px 30px rgba(0,0,0,0.12);

    --gradient-overlay: linear-gradient(135deg, rgba(26,26,26,0.8), rgba(184,115,51,0.6));

}



* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



body {

    font-family: 'Inter', sans-serif;

    line-height: 1.6;

    color: var(--dark-navy);

    overflow-x: hidden;

}



.hero-container {

    max-width: 1400px;

    margin: 0 auto;

    padding: 0 2rem;

}

/* Header */

.header {

    position: fixed;

    top: 0;

    width: 100%;

    background: rgba(255,255,255,0.95);

    backdrop-filter: blur(10px);

    z-index: 1000;

    transition: all 0.3s ease;

}



.logo {

    display: flex;

    align-items: center;

    gap: 0.5rem;

    font-family: 'Playfair Display', serif;

    font-size: clamp(1.2rem, 4vw, 1.8rem);

    font-weight: 600;

    color: var(--dark-navy);

    text-decoration: none;

    white-space: nowrap;

}



.logo img {

    height: 6.5vh;

    width: auto;

    max-height: 75px;

    vertical-align: middle;

}



.header.scrolled {

    background: rgba(255,255,255,0.98);

    box-shadow: var(--shadow-light);

}



.nav-container {

    max-width: 1400px;

    margin: 0 auto;

    padding: 0 2rem;

    display: flex;

    justify-content: space-between;

    align-items: center;

    height: 80px;

}



.nav-menu {

    display: flex;

    list-style: none;

    gap: 2.5rem;

    align-items: center;

}



.nav-link {

    text-decoration: none;

    color: var(--dark-navy);

    font-weight: 500;

    font-size: 0.95rem;

    transition: color 0.3s ease;

    position: relative;

}



.nav-link:hover {

    color: var(--primary-gold);

}



.nav-link::after {

    content: '';

    position: absolute;

    bottom: -5px;

    left: 0;

    width: 0;

    height: 2px;

    background: var(--primary-gold);

    transition: width 0.3s ease;

}



.nav-link:hover::after {

    width: 100%;

}



.cta-button {

    background: var(--primary-gold);

    color: white;

    padding: 0.8rem 1.8rem;

    border-radius: 6px;

    text-decoration: none;

    font-weight: 600;

    font-size: 0.9rem;

    transition: all 0.3s ease;

}



.cta-button:hover {

    background: #a0642a;

    transform: translateY(-2px);

}



.nav-toggle {

    display: none;

    background: none;

    border: none;

    font-size: 1.5rem;

    color: var(--dark-navy);

    cursor: pointer;

}



/* Hero Section */

.hero {

    background: linear-gradient(135deg, rgba(26,26,26,0.7), rgba(184,115,51,0.3)), url('../podstawowe_zdjęcia/kawalerka.png') center center/cover no-repeat;

    min-height: 60vh;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    color: white;

    position: relative;

    padding-top: 80px; /* Dodaje odstęp od góry, aby treść nie zachodziła pod nagłówek */

}



@media (max-width: 600px) {

    .hero {

        padding-top: 70px; /* Mniejszy padding dla mniejszych ekranów */

    }

}



@media (max-width: 400px) {

    .hero {

        padding-top: 60px; /* Jeszcze mniejszy padding dla bardzo małych ekranów */

    }

}



.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
    margin-top: 19px;
    margin-bottom: 13px;
}


.hero h1 {

    font-family: 'Playfair Display', serif;

    font-size: 3.5rem;

    font-weight: 500;

    margin-bottom: 1.5rem;

    line-height: 1.2;

    letter-spacing: -1px;

}



.hero p {

    font-size: 1.3rem;

    margin-bottom: 2.5rem;

    opacity: 0.9;

    font-weight: 300;

}



.hero-buttons {

    display: flex;

    gap: 1.5rem;

    justify-content: center;

    flex-wrap: wrap;

}



.btn-primary {

    background: var(--primary-gold);

    color: white;

    padding: 1rem 2.5rem;

    border-radius: 8px;

    text-decoration: none;

    font-weight: 600;

    font-size: 1rem;

    transition: all 0.3s ease;

    border: 2px solid var(--primary-gold);

}



.btn-primary:hover {

    background: transparent;

    color: var(--primary-gold);

    transform: translateY(-3px);

}



.btn-secondary {

    background: transparent;

    color: white;

    padding: 1rem 2.5rem;

    border-radius: 8px;

    text-decoration: none;

    font-weight: 600;

    font-size: 1rem;

    transition: all 0.3s ease;

    border: 2px solid white;

}



.btn-secondary:hover {

    background: white;

    color: var(--dark-navy);

    transform: translateY(-3px);

}



/* Stats Section */

.stats {

    background: var(--white);

    padding: 5rem 0;

}



.stats-container {

    max-width: 1400px;

    margin: 0 auto;

    padding: 0 2rem;

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 3rem;

    text-align: center;

}



.stat-item {

    padding: 2rem;

}



.stat-number {

    font-size: 3rem;

    font-weight: 700;

    color: var(--primary-gold);

    font-family: 'Playfair Display', serif;

    margin-bottom: 0.5rem;

}



.stat-label {

    font-size: 1.1rem;

    font-weight: 500;

    color: var(--medium-gray);

}



/* Current Investments Section */

.investments {

    background: var(--light-gray);

    padding: 8rem 0;

}



.investments-container {

    max-width: 1400px;

    margin: 0 auto;

    padding: 0 2rem;

}



.section-header {

    text-align: center;

    max-width: 600px;

    margin: 0 auto 5rem;

}



.section-title {

    font-family: 'Playfair Display', serif;

    font-size: 2.8rem;

    font-weight: 500;

    margin-bottom: 1.5rem;

    color: var(--dark-navy);

}



.section-subtitle {

    font-size: 1.2rem;

    color: var(--medium-gray);

    line-height: 1.6;

}



.investments-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));

    gap: 3rem;

}



.investment-card {

    background: white;

    border-radius: 16px;

    overflow: hidden;

    box-shadow: var(--shadow-light);

    transition: all 0.4s ease;

    position: relative;

}



.investment-card:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow-medium);

}



.investment-image {

    height: 280px;

    background-size: cover;

    background-position: center;

    position: relative;

}



.investment-status {

    position: absolute;

    top: 1.5rem;

    left: 1.5rem;

    background: var(--primary-gold);

    color: white;

    padding: 0.5rem 1rem;

    border-radius: 20px;

    font-size: 0.85rem;

    font-weight: 600;

}



.investment-content {

    padding: 2.5rem;

}



.investment-title {

    font-family: 'Playfair Display', serif;

    font-size: 1.6rem;

    font-weight: 500;

    margin-bottom: 1rem;

    color: var(--dark-navy);

}



.investment-location {

    display: flex;

    align-items: center;

    gap: 0.5rem;

    color: var(--medium-gray);

    margin-bottom: 1.5rem;

}



.investment-features {

    display: flex;

    gap: 1.5rem;

    margin-bottom: 2rem;

    flex-wrap: wrap;

}



.investment-feature {

    font-size: 0.9rem;

    color: var(--medium-gray);

}



.investment-feature strong {

    color: var(--dark-navy);

    font-weight: 600;

}



.investment-link {

    background: var(--dark-navy);

    color: white;

    padding: 1rem 2rem;

    border-radius: 8px;

    text-decoration: none;

    font-weight: 600;

    display: inline-block;

    transition: all 0.3s ease;

}



.investment-link:hover {

    background: var(--primary-gold);

    transform: translateX(5px);

}



/* About Section */

.about {

    background: white;

    padding: 8rem 0;

}



.about-container {

    max-width: 1400px;

    margin: 0 auto;

    padding: 0 2rem;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 5rem;

    align-items: center;

}



.about-content h2 {

    font-family: 'Playfair Display', serif;

    font-size: 2.5rem;

    font-weight: 500;

    margin-bottom: 2rem;

    color: var(--dark-navy);

}



.about-content p {

    font-size: 1.1rem;

    line-height: 1.8;

    color: var(--medium-gray);

    margin-bottom: 1.5rem;

}



.about-image {

    height: 500px;

    background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80') center/cover;

    border-radius: 16px;

}



/* Contact Section */

.contact-section {

    background: var(--dark-navy);

    color: white;

    padding: 5rem 0;

}



.contact-container {

    max-width: 800px;

    margin: 0 auto;

    padding: 0 2rem;

    text-align: center;

}



.contact-section h2 {

    font-family: 'Playfair Display', serif;

    font-size: 2.2rem;

    margin-bottom: 1rem;

}



.contact-section p {

    font-size: 1.1rem;

    margin-bottom: 2rem;

    opacity: 0.8;

}



.contact-info {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 2rem;

    margin-top: 3rem;

}



.contact-item {

    text-align: center;

}



.contact-icon {

    background: var(--primary-gold);

    width: 60px;

    height: 60px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 1rem;

    font-size: 1.5rem;

}



.contact-item h4 {

    font-size: 1.2rem;

    margin-bottom: 0.5rem;

}



.contact-item p {

    opacity: 0.8;

    margin: 0;

}



.submit-btn {

    background: var(--primary-gold);

    color: white;

    padding: 1.2rem 3rem;

    border: none;

    border-radius: 8px;

    font-weight: 600;

    font-size: 1rem;

    cursor: pointer;

    transition: all 0.3s ease;

    justify-self: center;
}



.submit-btn:hover {

    background: #a0642a;

    transform: translateY(-2px);

}



/* Footer */

.footer {

    background: #0f0f0f;

    color: rgba(255,255,255,0.6);

    text-align: center;

    padding: 2rem 0 0;

    margin: 0;

    min-height: 0;

    overflow: hidden;

}



.footer .github-link {

    color: inherit; 

    text-decoration: none; 

    transition: transform 0.3s ease, font-weight 0.3s ease, color 0.3s ease;

    display: inline-block;

}



.footer .github-link:hover {

    color: var(--primary-gold);

    transform: scale(1.03);

    font-weight: 600;

    text-decoration: none;

}



.footer .nav-container {

    display: block;

    text-align: center;

    padding: 0;

    margin: 0;

}



.footer p {

    display: block;

    margin: 0;

    padding: 0;

    line-height: 1;

}



.footer img {

    height: 5vh;

    vertical-align: bottom;

    margin: 0;

    padding: 0;

}



.footer * {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



/* Animations */

@keyframes fadeInUp {

    from {

        opacity: 0;

        transform: translateY(50px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



.fade-in-up {

    animation: fadeInUp 0.8s ease-out forwards;

}



.Deweloper {

    color: var(--primary-gold);

    font-weight: 700;

}



/* Carousel Section */

.carousel {

    background: var(--white);

    padding: 5rem 0;

    overflow: hidden;

}



.carousel-container {

    max-width: 1000px;

    margin: 0 auto;

    padding: 0 2rem;

    text-align: center;

}



.carousel-title {

    font-family: 'Playfair Display', serif;

    font-size: 2.8rem;

    font-weight: 500;

    margin-bottom: 1.5rem;

    color: var(--dark-navy);

}



.carousel-subtitle {

    font-size: 1.2rem;

    color: var(--medium-gray);

    margin-bottom: 3rem;

}



.carousel-track {

    display: flex;

    animation: slide 20s linear infinite;

    width: calc(300px * 10);

}



.carousel-track:hover {

    animation-play-state: paused;

}



.carousel-item {

    flex: 0 0 300px;

    height: 100px;

    background: var(--light-gray);

    border-radius: 12px;

    box-shadow: var(--shadow-light);

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 1rem;

    padding: 1rem;

    text-align: center;

    font-size: 1.1rem;

    font-weight: 500;

    color: var(--dark-navy);

    transition: transform 0.3s ease;

}



.carousel-item:hover {

    transform: scale(1.05);

    box-shadow: var(--shadow-medium);

}



@keyframes slide {

    0% {

        transform: translateX(0);

    }

    100% {

        transform: translateX(calc(-300px * 5));

    }

}



/* Responsive Design */

@media (max-width: 950px) {

    .nav-toggle {

        display: block;

    }



    .nav-menu {

        position: fixed;

        top: 0;

        right: -100%;

        width: 70%;

        max-width: 320px;

        height: 100vh;

        padding-top: 100px;

        display: flex;

        flex-direction: column;

        align-items: center;

        gap: 2.5rem;

        background-color: rgba(255, 255, 255, 0.98);

        backdrop-filter: blur(10px);

        box-shadow: -5px 0 15px rgba(0,0,0,0.1);

        transition: right 0.4s ease-in-out;

        z-index: 1000;

    }



    .nav-menu.active {

        right: 0;

    }



    .nav-link, .cta-button {

        font-size: 1.2rem;

    }



    .hero h1 {

        font-size: 2.5rem;

    }



    .hero p {

        font-size: 1.1rem;

    }



    .hero-buttons {

        flex-direction: column;

        align-items: center;

    }



    .about-container {

        grid-template-columns: 1fr;

        gap: 3rem;

    }



    .investments-grid {

        grid-template-columns: 1fr;

    }



    .form-group {

        grid-template-columns: 1fr;

    }



    .section-title {

        font-size: 2.2rem;

    }



    .carousel-item {

        flex: 0 0 300px;

        height: 100px;

        font-size: 1rem;

    }



    .carousel-track {

        width: calc(300px * 10);

    }



    @keyframes slide {

        100% {

            transform: translateX(calc(-300px * 5));

        }

    }

}



@media (max-width: 600px) {

    .logo {

        font-size: clamp(1rem, 3.5vw, 1.4rem);

        gap: 0.3rem;

    }



    .logo_img {

        height: 5vh;

        max-height: 40px;

    }



    .nav-container {

        padding: 0 1rem;

    }



    .carousel-item {

        flex: 0 0 300px;

        height: 100px;

        font-size: 0.9rem;

    }



    .carousel-track {

        width: calc(300px * 10);

    }



    @keyframes slide {

        100% {

            transform: translateX(calc(-300px * 5));

        }

    }

}



@media (max-width: 400px) {

    .logo {

        font-size: clamp(0.9rem, 3vw, 1.2rem);

    }



    .logo_img {

        height: 4vh;

        max-height: 35px;

    }

}