/* Custom premium styling for Noclegi/Pokoje na Plażowej, Zaniemyśl (Lake/Forest Theme) */

/* CSS Variables for design system tokens */
:root {
    --primary-color: #1a2f23; /* Deep forest-lake green */
    --accent-color: #2a6f4f;  /* Calming forest pine green */
    --accent-hover: #1c5237;
    --sand-light: #f5f7f2;
    --sand-dark: #e1e7d8;
    --text-dark: #2b3930;
    --text-light: #ffffff;
    --text-muted: #5d6d62;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.45);
    --shadow-premium: 0 20px 45px rgba(27, 47, 35, 0.1);
    --shadow-button: 0 8px 20px rgba(42, 111, 79, 0.25);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition-smooth: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--sand-light);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    line-height: 1.65;
}

/* Ambient Background Layer */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(135deg, #f5f7f2 0%, #e6f0fa 50%, #d8ead8 100%);
    overflow: hidden;
}

/* Glowing forest sunset light */
.forest-glow {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 65vw;
    height: 65vw;
    background: radial-gradient(circle, rgba(255,236,179,0.3) 0%, rgba(224,242,241,0) 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: pulseGlow 15s ease-in-out infinite alternate;
}

/* Calm Lake Ripples */
.lake-ripple {
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 1px solid rgba(42, 111, 79, 0.06);
    pointer-events: none;
}

.ripple-1 {
    width: 800px;
    height: 350px;
    animation: rippleExpand 12s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

.ripple-2 {
    width: 1100px;
    height: 480px;
    animation: rippleExpand 18s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite 3s;
}

@keyframes rippleExpand {
    0% {
        transform: translateX(-50%) scale(0.85);
        opacity: 0.1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        transform: translateX(-50%) scale(1.15);
        opacity: 0;
    }
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.1); opacity: 0.85; }
}

/* App Container Layout */
.app-container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    z-index: 1;
}

/* Brand Header */
.main-header {
    text-align: center;
    margin-bottom: 0.5rem;
    animation: fadeInDown 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.25rem;
}

.brand-title .accent-text {
    font-style: italic;
    color: var(--accent-color);
    font-weight: 400;
    position: relative;
    display: inline-block;
}

.brand-title .accent-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(42, 111, 79, 0.15);
    border-radius: 2px;
}

.brand-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Browser Mockup (Delicate Iframe) Container */
.browser-mockup {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: scaleIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform: translateY(0);
    transition: var(--transition-smooth);
}

.browser-mockup:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 65px rgba(27, 47, 35, 0.14);
}

/* Browser Header Bar */
.browser-header {
    background: rgba(255, 255, 255, 0.75);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.8rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.85rem;
}

.browser-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.browser-actions .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.dot-close { background-color: #ff5f56; }
.dot-minimize { background-color: #ffbd2e; }
.dot-expand { background-color: #27c93f; }

.browser-address-bar {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    padding: 0.45rem 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-grow: 1;
    max-width: 620px;
    margin: 0 auto;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.browser-address-bar:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(42, 111, 79, 0.3);
    color: var(--accent-color);
    box-shadow: 0 2px 8px rgba(42, 111, 79, 0.05);
}

.lock-icon {
    width: 13px;
    height: 13px;
    color: #27c93f;
    flex-shrink: 0;
}

.address-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.8rem;
    user-select: all;
    letter-spacing: 0.2px;
}

.browser-status {
    flex-shrink: 0;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.browser-status:hover .status-indicator {
    color: var(--accent-hover);
}

.status-indicator {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Browser Viewport Area */
.browser-viewport {
    padding: 2.25rem;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.browser-viewport:hover {
    background: rgba(255, 255, 255, 0.26);
}

.inner-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
}

/* Gallery Column */
.gallery-column {
    display: flex;
    flex-direction: column;
}

.slider-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(27, 47, 35, 0.08);
    background: #000;
    aspect-ratio: 16 / 10;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide.active .slide-image {
    transform: scale(1.04);
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(26, 47, 35, 0.85) 0%, rgba(26, 47, 35, 0) 100%);
    color: var(--text-light);
    padding: 1.5rem 1.25rem 1rem;
    font-size: 0.95rem;
    font-weight: 400;
    z-index: 3;
}

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 4;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.slide-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-50%) scale(1.08);
}

.prev-btn { left: 1rem; }
.next-btn { right: 1rem; }

.slider-dots {
    position: absolute;
    bottom: 1.25rem;
    right: 1.5rem;
    display: flex;
    gap: 8px;
    z-index: 4;
}

.dot-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot-indicator.active {
    background: var(--text-light);
    transform: scale(1.3);
}

/* Details Column */
.details-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.partner-badge {
    align-self: flex-start;
    background: rgba(42, 111, 79, 0.1);
    color: var(--accent-color);
    padding: 0.35rem 0.85rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(42, 111, 79, 0.15);
}

.property-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.property-location {
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 1.25rem;
}

.geo-icon {
    width: 16px;
    height: 16px;
    color: var(--accent-color);
}

/* Booking Rating */
.rating-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.rating-score {
    background: var(--primary-color);
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.4rem;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(26, 47, 35, 0.15);
}

.rating-meta {
    display: flex;
    flex-direction: column;
}

.rating-label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
}

.rating-count {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Amenities List */
.amenities-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 2rem;
}

.amenities-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.amenity-icon {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1;
    margin-top: 2px;
}

.amenity-text {
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* CTA Section inside mockup */
.booking-cta-section {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 1.25rem;
}

.cta-notice {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.booking-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #1e5239 100%);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-button);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.booking-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.booking-btn:hover::before {
    left: 100%;
}

.booking-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(42, 111, 79, 0.35);
    background: linear-gradient(135deg, #32845d 0%, var(--accent-hover) 100%);
}

.booking-btn:active {
    transform: translateY(0);
}

.arrow-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.booking-btn:hover .arrow-icon {
    transform: translateX(4px);
}

/* Footer Section */
.main-footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    animation: fadeInUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.footer-links a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Keyframes animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.97) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 920px) {
    .inner-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .browser-viewport {
        padding: 1.5rem;
    }
    
    .property-title {
        font-size: 1.85rem;
        margin-top: 0.5rem;
    }
    
    .brand-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 1rem 0.5rem;
    }
    
    .browser-viewport {
        padding: 1rem;
    }
    
    .browser-header {
        padding: 0.6rem 0.8rem;
    }
    
    .browser-address-bar {
        padding: 0.3rem 0.6rem;
    }
    
    .address-text {
        font-size: 0.7rem;
    }
    
    .booking-btn {
        padding: 0.85rem 1.25rem;
        font-size: 0.9rem;
    }
}
