/* style.css */

/* --- Variables --- */
:root {
    --gold: #D4AF37;
    --gold-hover: #b8972e;
    --dark: #0f0f0f;
    --darker: #080808;
    --card-bg: #1c1c1c;
    --text-main: #fcfcfc;
    --text-muted: #a0a0a0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: 0.3s ease-in-out;
}

/* --- Global Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Typography --- */
h1, h2, h3, h4, .logo-text {
    font-family: var(--font-heading);
    font-weight: 400;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.section-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--darker);
    border-color: var(--gold);
}

.btn-primary:hover {
    background-color: var(--gold-hover);
    border-color: var(--gold-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-outline:hover {
    background-color: var(--gold);
    color: var(--darker);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 2rem;
    color: var(--gold);
    line-height: 1;
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--gold);
}

.nav-btn {
    padding: 0.5rem 1.2rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--nav-height);
    background: url('https://images.unsplash.com/photo-1560066984-138dadb4c035?auto=format&fit=crop&q=80&w=1920') center/cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,15,15,0.95) 10%, rgba(15,15,15,0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-text-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* --- Layout Utils --- */
.section {
    padding: 6rem 0;
}

.bg-darker {
    background-color: var(--darker);
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--gold);
}

.feat-icon {
    flex-shrink: 0;
}

.about-image-wrapper {
    position: relative;
}

/* Beautiful overlapping image frame */
.about-image-pattern {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold);
    z-index: 0;
}

.about-img {
    position: relative;
    z-index: 1;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* --- Info Section --- */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.info-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.info-title {
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 4px;
}

.phone-link {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 500;
    display: inline-block;
}

.phone-link:hover {
    text-decoration: underline;
}

.info-subtitle {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
}

.amenities-list li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #333;
    color: var(--text-main);
}

.hours-list li.closed span:last-child {
    color: #ff4a4a;
}

/* --- Reviews Section --- */
.rating-badge {
    margin-top: -0.5rem;
    margin-bottom: 3rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.stars {
    color: var(--gold);
    letter-spacing: 2px;
}

.rating-text {
    color: var(--text-muted);
}

.reviews-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

/* Gradient on the sides to fade out cards beautifully */
.reviews-slider::before,
.reviews-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.reviews-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--dark) 0%, transparent 100%);
}
.reviews-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--dark) 0%, transparent 100%);
}

.reviews-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll-reviews 55s linear infinite;
}

.reviews-slider:hover .reviews-track {
    animation-play-state: paused;
}

.review-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--gold);
    width: 350px;
    flex-shrink: 0;
    white-space: normal;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

@keyframes scroll-reviews {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 1rem));
    }
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--darker);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 1.2rem;
}

.reviewer-name {
    margin-bottom: 4px;
}

.review-text {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.95rem;
}

/* --- Footer --- */
.footer {
    background: var(--darker);
    padding: 4rem 0 2rem;
    border-top: 1px solid #222;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-desc {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 400px;
}

.footer-title {
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    color: var(--text-muted);
}

.social-link:hover {
    color: var(--gold);
}

.btn-fresha {
    color: var(--gold);
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid #222;
    padding-top: 2rem;
    font-size: 0.9rem;
}

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

.fade-up { transform: translateY(50px); }
.fade-right { transform: translateX(-50px); }
.fade-left { transform: translateX(50px); }

/* --- Subpage Headers --- */
.page-header {
    padding: 10rem 0 5rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(15,15,15,0.95) 10%, rgba(20,20,20,0.98) 100%);
    margin-bottom: 4rem;
    border-bottom: 1px solid #222;
}

.page-title {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

/* --- Cennik --- */
.pricing-container {
    max-width: 800px;
    margin: 0 auto;
}
.price-category { margin-bottom: 3.5rem; }
.price-category-title { color: var(--gold); border-bottom: 1px solid #333; padding-bottom: 0.8rem; margin-bottom: 2rem; font-size: 1.8rem; }
.price-item { display: flex; flex-direction: column; padding: 1.2rem 1rem; border-bottom: 1px solid #222; transition: background 0.3s; }
.price-item:hover { background-color: var(--card-bg); border-radius: 4px; }
.price-row { display: flex; justify-content: space-between; align-items: center; }
.price-name { font-weight: 500; font-size: 1.15rem; }
.price-value { color: var(--gold); font-weight: bold; font-size: 1.25rem; }
.price-desc { font-size: 0.95rem; color: var(--text-muted); margin-top: 0.4rem; }

/* --- Galeria --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
.gallery-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    height: 350px;
    position: relative;
    border: 1px solid #222;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(212, 175, 55, 0.2);
    opacity: 0;
    transition: opacity 0.3s;
}
.gallery-item:hover::after {
    opacity: 1;
}

/* --- Kontakt Page --- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.map-container { width: 100%; height: 500px; border-radius: 8px; overflow: hidden; border: 1px solid #333; }
.map-container iframe { width: 100%; height: 100%; border: none; }
.contact-details-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 8px;
    border-top: 4px solid var(--gold);
}


/* --- Mobile Responsiveness --- */
@media screen and (max-width: 900px) {
    .about-grid, .info-grid, .footer-content, .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media screen and (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--card-bg);
        flex-direction: column;
        justify-content: center;
        padding: 4rem 2rem;
        transition: 0.4s ease-in-out;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .nav-links.nav-active {
        right: 0;
    }

    /* Hamburger animation */
    .mobile-menu-btn.toggle span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .mobile-menu-btn.toggle span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.toggle span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions a {
        width: 100%;
    }
}
