/* Reset i podstawowe style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #ff7b00;
    --primary-dark: #e56b00;
    --primary-light: #ff9838;
    --secondary-color: #333;
    --light-color: #f9f9f9;
    --dark-color: #222;
    --gray-color: #777;
    --white: #fff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    color: var(--secondary-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER - POPRAWIONY Z IKONĄ TELEFONU PRZED HAMBURGEREM */
.header {
    background-color: var(--dark-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow);
    padding: 15px 0;
}

.header.scrolled {
    padding: 10px 0;
    background-color: rgba(34, 34, 34, 0.98);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
    flex-shrink: 0;
}

.logo-icon {
    background-color: var(--primary-color);
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    transition: var(--transition);
}

.header.scrolled .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
}

.logo-text {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    transition: var(--transition);
    white-space: nowrap;
}

.header.scrolled .logo-text {
    font-size: 18px;
}

.logo-text span {
    color: var(--primary-color);
}

/* Ikona telefonu - zawsze widoczna */
.phone-icon {
    background-color: var(--primary-color);
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    transition: var(--transition);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    order: 2;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: 15px;
}

.phone-icon:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.header.scrolled .phone-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
}

/* Hamburger Menu - PO PRAWEJ STRONIE */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
    order: 3;
    flex-shrink: 0;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Nawigacja */
.nav {
    display: flex;
    transition: var(--transition);
    order: 4;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Numer telefonu w menu mobilnym */
.mobile-phone {
    display: none;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.phone-box-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    width: 100%;
    text-align: center;
}

.phone-box-mobile:hover {
    background-color: var(--primary-dark);
}

/* Sekcja hero - dodajemy padding-top dla fixed header */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('pole.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 150px 0 100px;
    margin-bottom: 60px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--white);
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #ddd;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 35px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Sekcja oferty */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--dark-color);
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--primary-color);
}

.offer-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 70px;
}

.offer-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.offer-card:hover {
    transform: translateY(-10px);
}

.offer-card-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 25px;
    text-align: center;
}

.offer-card-header h3 {
    font-size: 26px;
    margin-bottom: 5px;
}

.offer-card-body {
    padding: 25px;
}

.offer-card-body ul {
    list-style: none;
    margin-bottom: 20px;
}

.offer-card-body li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.offer-card-body li:last-child {
    border-bottom: none;
}

.price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 18px;
}

.offer-button {
    text-align: center;
    margin-top: 15px;
}

.offer-button .cta-button {
    padding: 12px 25px;
    font-size: 16px;
}

/* Sekcja opakowań */
.packaging-section {
    padding: 80px 0;
    background-color: var(--white);
}

.packaging-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.packaging-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.packaging-image img {
    width: 100%;
    height: auto;
    display: block;
}

.packaging-info {
    flex: 1;
    min-width: 300px;
}

.packaging-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.packaging-info p {
    margin-bottom: 25px;
    font-size: 17px;
    color: var(--gray-color);
}

.packaging-options {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.packaging-option {
    flex: 1;
    text-align: center;
    padding: 25px 15px;
    border-radius: 10px;
    background-color: #f9f9f9;
    border: 2px solid #eee;
    transition: var(--transition);
}

.packaging-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.packaging-option i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.packaging-option h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Footer - informacje */
.footer-info {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-light);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

.social-link {
    display: inline-block;
    color: var(--white);
    background-color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--primary-light);
    transform: scale(1.1);
}

/* Footer - prawa autorskie */
.footer-copyright {
    background-color: #111;
    color: #aaa;
    padding: 20px 0;
    text-align: center;
}

.footer-copyright .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* RESPONSYWNOŚĆ */
/* Tablety i małe laptopy */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
    
    .packaging-options {
        flex-direction: column;
    }
}

/* Tablety (768px i mniej) */
@media (max-width: 768px) {
    .header-content {
        padding: 0 15px;
    }
    
    /* Pokazujemy hamburger menu i ikonę telefonu */
    .hamburger {
        display: flex;
    }
    
    .phone-icon {
        display: flex;
        margin-right: 10px;
    }
    
    /* Ukrywamy standardową nawigację */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--dark-color);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        transition: right 0.4s ease;
        padding: 80px 0 20px;
        z-index: 1000;
        overflow-y: auto;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        width: 100%;
        padding: 0 20px;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link {
        display: block;
        padding: 15px 0;
        font-size: 18px;
        width: 100%;
    }
    
    .nav-link::after {
        display: none;
    }
    
    /* Pokazujemy numer telefonu w menu mobilnym */
    .mobile-phone {
        display: block;
        padding: 0 20px;
    }
    
    .hero {
        padding: 130px 0 80px;
        min-height: 80vh;
    }
    
    .hero h1 {
        font-size: 30px;
    }
    
    .hero p {
        font-size: 17px;
    }
    
    .offer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-copyright .container {
        flex-direction: column;
        gap: 10px;
    }
}

/* Telefony (576px i mniej) */
@media (max-width: 576px) {
    .header-content {
        padding: 0 10px;
    }
    
    
    .logo-text {
        font-size: 18px;
    }
    
    .header.scrolled .logo-text {
        font-size: 16px;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    
    .header.scrolled .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .phone-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-right: 10px;
    }
    
    .header.scrolled .phone-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero h1 {
        font-size: 26px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .offer-card-header h3 {
        font-size: 22px;
    }
    
    .packaging-info h3 {
        font-size: 24px;
    }
}

/* Bardzo małe telefony (400px i mniej) */
@media (max-width: 400px) {
    .logo-text {
        font-size: 16px;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
}