/* ===== Reset i podstawowe style ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Zapobieganie przewijaniu w poziomie */
*, *::before, *::after {
    max-width: 100%;
}

:root {
    /* Kolory główne - Paleta Lucaria - elegancka i stonowana */
    --primary-color: #E8A3B8; /* Delikatny różowy */
    --secondary-color: #F4C87A; /* Ciepły, stonowany złoty */
    --text-dark: #2C2C2C; /* Miękki czarny */
    --text-light: #6B6B6B; /* Ciepły szary */
    --background-light: #FFFCFA; /* Bardzo delikatna kremowa biel */
    --white: #FFFFFF;
    
    /* Dodatkowe kolory - pastelowe odcienie */
    --accent-pink: #F5D5DE; /* Bardzo jasny różowy */
    --accent-peach: #FFD4C4; /* Delikatny brzoskwiniowy */
    --accent-gold-light: #FAEAC5; /* Bardzo jasny złoty */
    --gradient-start: #FAEAC5; /* Jasny złoty początek */
    --gradient-middle: #FFD4C4; /* Delikatny brzoskwiniowy */
    --gradient-end: #F5D5DE; /* Jasny różowy koniec */
    --shadow-color: rgba(232, 163, 184, 0.12); /* Delikatny różowy cień */
    
    /* Czcionki */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Animacje */
    --transition: all 0.3s ease;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.3rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* ===== Nawigacja ===== */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow-color);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-family: var(--font-heading);
    color: var(--text-dark);
    text-decoration: none;
    position: relative;
    z-index: 1001;
}

.logo i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 2rem;
}

.logo:hover {
    color: var(--text-dark);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.logo-image {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    object-fit: contain;
    position: relative;
    z-index: 1100 !important;
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--background-light) 0%, #FFEEE6 40%, #F0C8D4 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden; /* Naprawia problem z przysłanianiem */
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInLeft 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease, heroFloat 3s ease-in-out infinite;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px var(--shadow-color);
    z-index: 2;
}



/* ===== Przyciski ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: #E6B56C;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(244, 200, 122, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--secondary-color);
}

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

.btn-hero-consultation {
    color: var(--text-dark) !important;
}

.btn-hero-consultation:hover {
    color: var(--white) !important;
}

.btn-small {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.9rem;
    color: var(--secondary-color);
    text-decoration: none;
    border: 1px solid var(--secondary-color);
    border-radius: 25px;
    transition: var(--transition);
}

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

/* ===== Sekcje ===== */
section {
    padding: 80px 0;
    overflow-x: hidden;
    max-width: 100%;
    /* Optymalizacja dotykowa dla lepszego przewijania na mobilnych */
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

.section-title {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ===== O mnie ===== */
.about {
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 3rem;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px var(--shadow-color);
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 80%;
    height: 80%;
    background: var(--accent-peach);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.2;
}

.about-text h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 2rem;
}

.feature {
    text-align: center;
    padding: 20px;
    background-color: var(--background-light);
    border-radius: 15px;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.feature i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: block;
}

.feature span {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* ===== Oferta ===== */
.offer {
    background-color: var(--background-light);
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.offer-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.offer-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-peach));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.offer-icon i {
    font-size: 2rem;
    color: var(--text-dark);
}

.offer-card h3 {
    color: var(--text-dark);
    margin-bottom: 20px;
}

.offer-card ul {
    list-style: none;
    margin-bottom: 25px;
}

.offer-card ul li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 25px;
}

.offer-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* ===== Dodatkowe usługi ===== */
.additional-services {
    background-color: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow-color);
}

.additional-services h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.services-list span {
    background-color: var(--background-light);
    padding: 10px 20px;
    border-radius: 25px;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.services-list i {
    color: var(--secondary-color);
    margin-right: 5px;
}

/* ===== Kontakt ===== */
.contact {
    background-color: var(--white);
    /* Naprawka problemów z przewijaniem na mobilnych */
    overflow: visible;
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 3rem;
}

.contact-info h3 {
    color: var(--text-dark);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h4 {
    color: var(--text-dark);
    margin-bottom: 5px;
}

/* ===== Formularz ===== */
.contact-form {
    background-color: var(--background-light);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow-color);
}

.contact-form h3 {
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid transparent;
    border-radius: 10px;
    background-color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 15px;
}

/* ===== Stopka ===== */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 15px;
    position: relative;
    z-index: 10;
}

.footer h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact .small {
    font-size: 0.85rem;
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* ===== Animacje ===== */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Uspokój animacje na urządzeniach mobilnych */
@media (hover: none) and (pointer: coarse) {
    @keyframes heroFloat {
        0%, 100% {
            transform: translateY(0px);
        }
        50% {
            transform: translateY(-5px); /* Mniejszy ruch na mobilnych */
        }
    }
    
    .hero-image {
        animation: heroFloat 4s ease-in-out infinite; /* Wolniejsza animacja na mobilnych */
    }
}

/* Respektuj preferencje użytkownika dotyczące animacji */
@media (prefers-reduced-motion: reduce) {
    .hero-image,
    .hero-content {
        animation: none !important;
        transform: none !important;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.animate-fade-in {
    animation: fadeInLeft 1s ease;
}

.animate-fade-in-delay {
    animation: fadeInLeft 1s ease 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInLeft 1s ease 0.6s both;
}

/* ===== Responsywność ===== */
@media (max-width: 968px) {
    .hero .container,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-image::after {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 10px 20px var(--shadow-color);
        transition: 0.3s;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .offer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .offer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        width: 100%;
    }
    
    .btn {
        width: 100%;
        box-sizing: border-box;
    }
} 

