/* Stylesheet for Minigolf "Przy Torach" - Stegna */

:root {
    --primary: #1b4d3e;
    --primary-dark: #0f2d1d;
    --primary-light: #2d6a4f;
    --primary-gradient: linear-gradient(135deg, #1b4d3e 0%, #0f2d1d 100%);
    --accent: #ff9f1c;
    --accent-hover: #e08500;
    --accent-gradient: linear-gradient(135deg, #ffb703 0%, #ff9f1c 100%);
    --secondary: #e9f5ed;
    
    --bg-light: #f7fbf8;
    --bg-white: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 45, 29, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
    font-family: var(--font-heading);
}

.logo-highlight {
    color: var(--accent);
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    opacity: 0.9;
}

.nav-menu a:hover {
    color: var(--accent);
    opacity: 1;
}

.nav-cta-btn {
    background: var(--accent-gradient);
    color: var(--primary-dark) !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600 !important;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 159, 28, 0.4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 10px;
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 180px;
    padding-bottom: 140px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-image: url('hero_minigolf.webp');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 45, 29, 0.92) 0%, rgba(27, 77, 62, 0.75) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 750px;
}

.hero-tag {
    display: inline-block;
    background-color: rgba(255, 159, 28, 0.2);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.15;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-section .highlight {
    background: linear-gradient(to right, #ffb703, #ff9f1c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
    max-width: 650px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(255, 159, 28, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 159, 28, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* Wave shape at bottom of Hero */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.hero-wave .shape-fill {
    fill: var(--bg-light);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

/* Sections general */
section {
    padding: 100px 0;
    position: relative;
}

.section-tag {
    display: inline-block;
    color: var(--primary-light);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 60px auto;
}

/* Sekcja 2: Dlaczego warto zagrać? */
.features-section {
    background-color: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-white);
    padding: 48px 36px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.02);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(45, 106, 79, 0.1);
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    background-color: var(--secondary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: rotate(5deg);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Sekcja: Nasze Tory (Galeria) */
.gallery-section {
    background-color: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 45, 29, 0.8) 0%, rgba(15, 45, 29, 0) 70%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay span {
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Sekcja 3: Kompleks Wypoczynkowy Darmat */
.resort-section {
    background-color: var(--bg-white);
}

.resort-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.resort-image-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.resort-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.resort-image-container:hover .resort-img {
    transform: scale(1.03);
}

.resort-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--primary-gradient);
    color: var(--text-light);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-num {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
    color: var(--accent);
}

.badge-txt {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.resort-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--primary-dark);
}

.resort-description {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.resort-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.resort-feat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--primary-dark);
}

.feat-icon {
    font-size: 1.25rem;
}

/* Sekcja 4: Często Zadawane Pytania (FAQ) */
.faq-section {
    background-color: var(--bg-light);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(45, 106, 79, 0.1);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.faq-icon-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 30px;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-muted);
    font-size: 0.975rem;
    line-height: 1.6;
}

/* Sekcja 5: Lokalizacja i Kontakt */
.contact-section {
    background-color: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 40px;
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.detail-item {
    display: flex;
    gap: 20px;
}

.detail-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background-color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.detail-item h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.detail-item p {
    color: var(--text-muted);
}

.address-tip {
    font-size: 0.85rem;
    margin-top: 6px;
    color: var(--text-muted);
}

.contact-link:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.social-links-wrapper {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.social-links-wrapper h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #1877f2;
    color: var(--text-light);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(24, 119, 242, 0.2);
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(24, 119, 242, 0.4);
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 450px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.05);
}

/* Footer */
.main-footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content p {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-seo-note {
    margin-top: 8px;
    font-weight: 500;
    opacity: 0.9 !important;
    color: var(--accent);
}

/* Scroll reveal class logic placeholder */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsiveness */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .resort-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-section h1 {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--primary-dark);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: 0.4s ease;
        padding-bottom: 80px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-section {
        padding-top: 140px;
        padding-bottom: 100px;
    }
    
    .hero-section h1 {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}
