/* =========================================
   CONTACT PAGE - GLOBAL & LAYOUT
   ========================================= */

.contact-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    margin-bottom: 4rem;
}

.section-title-contact {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--col-accent);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

/* Wspólny styl dla "szklanych" paneli (DRY - Don't Repeat Yourself) */
.about-section,
.reservation-section,
.contact-info-section,
.faq-section {
    background: rgba(40, 35, 30, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid var(--col-accent);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* =========================================
   O HODOWLI (SEO Content)
   ========================================= */

.about-content {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--col-text);
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text strong {
    color: var(--col-accent-light);
    font-weight: 700;
}

.about-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.about-list li {
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    position: relative;
}

.about-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--col-accent);
    font-weight: 700;
    font-size: 1.2rem;
}

/* =========================================
   FORMULARZ REZERWACJI
   ========================================= */

.reservation-form {
    max-width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--col-text);
    margin-bottom: 0.5rem;
}

/* Scalone style inputów (usunięto duplikaty i !important) */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea,
.form-control {
    width: 100%;
    padding: 0.8rem 1rem; /* ok. 12px 16px */
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(197, 160, 101, 0.2);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: #fff; /* Wymuszony biały tekst dla czytelności na ciemnym tle */
    transition: all 0.3s ease;
}

/* Placeholder styling */
.form-group input::placeholder,
.form-group textarea::placeholder,
.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
    opacity: 1; /* Fix dla Firefoxa */
}

/* Focus state */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-control:focus {
    outline: none;
    border-color: var(--col-accent);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
}

/* Select options */
.form-group select option,
.form-control option {
    color: #fff;
    background: #2a2520; /* Ciemne tło dla rozwijanej listy */
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox & Consent */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-top: 1rem;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 0.3rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--col-accent); /* Nowoczesny sposób stylowania checkboxa */
}

.form-checkbox label {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--col-text-muted);
    cursor: pointer;
    line-height: 1.4;
}

.consent-link {
    color: var(--col-accent);
    text-decoration: underline;
}

.consent-link:hover {
    color: var(--col-accent-light);
}

.form-note {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--col-text-muted);
    font-style: italic;
}

/* =========================================
   PRZYCISKI I KOMUNIKATY
   ========================================= */

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--col-accent) 0%, var(--col-accent-light) 100%);
    color: #000;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(197, 160, 101, 0.3);
    margin-top: 1rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 101, 0.4);
}

.btn-submit svg {
    transition: transform 0.3s ease;
}

.btn-submit:hover svg {
    transform: translateX(3px);
}

/* Wiadomości i Walidacja (Scalone style) */
.messages {
    margin-bottom: 2rem;
}

.message,
.message-success,
.message-error {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.message-success {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid #4CAF50; /* Uproszczony border */
    border-left: 4px solid #4CAF50;
    color: #a5d6a7;
}

.message-error {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid #F44336;
    border-left: 4px solid #F44336;
    color: #ef9a9a;
}

/* Inline input errors */
.error-message {
    display: block;
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 0.4rem;
    font-family: var(--font-body);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ff6b6b;
    box-shadow: 0 0 5px rgba(255, 107, 107, 0.3);
}

/* =========================================
   DANE KONTAKTOWE (KARTY)
   ========================================= */

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.contact-card {
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(197, 160, 101, 0.2);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%; /* Wyrównanie wysokości */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    border-color: var(--col-accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    background: rgba(197, 160, 101, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    color: var(--col-accent);
    width: 24px;
    height: 24px;
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--col-heading, #fff); /* Fallback to white if var missing */
    margin-bottom: 0.8rem;
}

.contact-card p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--col-text);
    margin-bottom: 0.3rem;
}

.contact-card a {
    color: var(--col-accent-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--col-accent);
    text-decoration: underline;
}

.contact-hours {
    font-size: 0.85rem;
    color: var(--col-text-muted);
    margin-top: auto; /* Pycha godziny na dół karty */
    padding-top: 1rem;
}

/* =========================================
   FAQ
   ========================================= */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(197, 160, 101, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--col-accent);
    background: rgba(0, 0, 0, 0.3);
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--col-accent-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq-answer {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--col-text);
}

.faq-answer p {
    margin-bottom: 0.8rem;
}

.faq-answer ul,
.faq-answer ol {
    margin-left: 1.5rem;
    margin-top: 0.8rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

/* =========================================
   RESPONSYWNOŚĆ (MEDIA QUERIES)
   ========================================= */

/* Tablet & Smaller Laptops */
@media (max-width: 992px) {
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-section,
    .reservation-section,
    .contact-info-section,
    .faq-section {
        padding: 2.5rem 2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .about-section,
    .reservation-section,
    .contact-info-section,
    .faq-section {
        padding: 2rem 1.5rem;
    }

    .section-title-contact {
        font-size: 1.6rem;
    }

    .about-text p,
    .faq-answer {
        font-size: 0.95rem;
    }

    .btn-submit {
        width: 100%;
        margin-top: 1.5rem;
    }
}

/* Bardzo małe ekrany */
@media (max-width: 480px) {
    .about-section,
    .reservation-section,
    .contact-info-section,
    .faq-section {
        padding: 1.5rem 1rem;
    }

    .section-title-contact {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
    }

    .contact-card {
        padding: 1.5rem 1rem;
    }
}