/* Font Face Declarations */
@font-face {
    font-family: 'Aboreto';
    src: url('assets/Aboreto/Aboreto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('assets/poppins/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('assets/poppins/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('assets/poppins/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('assets/poppins/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('assets/poppins/Poppins-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables */
:root {
    --color-navy: #0d2847;
    --color-gold: #d4a456;
    --color-white: #ffffff;
    --color-light-blue: #4a6fa5;
    
    --font-display: 'Aboreto', serif;
    --font-body: 'Poppins', sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-white);
    background-color: var(--color-navy);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    margin: 0 auto;
    background-color: var(--color-navy);
    overflow-x: hidden;
    position: relative;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/bg.webp');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    opacity: 0.19;
    z-index: 0;
    pointer-events: none;
    /* Optymalizacje ładowania */
    will-change: opacity;
    animation: fadeInBackground 0.8s ease-in;
    /* Płynne przejście na krawędziach */
    mask-image: linear-gradient(to right, 
        transparent 0%, 
        black 5%, 
        black 95%, 
        transparent 100%),
        linear-gradient(to bottom,
        black 0%,
        black 85%,
        transparent 100%);
    mask-composite: intersect;
    -webkit-mask-image: linear-gradient(to right, 
        transparent 0%, 
        black 5%, 
        black 95%, 
        transparent 100%),
        linear-gradient(to bottom,
        black 0%,
        black 85%,
        transparent 100%);
    -webkit-mask-composite: source-in;
}

/* Animacja fade-in dla tła - ładuje się po reszcie zawartości */
@keyframes fadeInBackground {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.19;
    }
}

.container > * {
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
}

.logo {
    width: 100%;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
}

.hero__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
    text-transform: uppercase;
}

.hero__dates {
    margin-bottom: var(--spacing-xs);
}

.dates__label {
    font-size: 3.125rem;
    font-weight: 400;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
    font-family: var(--font-display);
}

.dates__value {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 0;
    font-family: var(--font-display);
}

.dates__label {
  font-size: 1.25rem
}

.hero__duration {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-xs);
    font-weight: 300;
}

.hero__price-container {
    max-width: fit-content;
    padding: 0 var(--spacing-md);
    margin: 0 auto;
}

.hero__promo-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    font-weight: 300;
    text-align: left;
    font-family: var(--font-display);
    padding-left: 1.5rem;
}

.hero__price-button {
    background: linear-gradient(135deg, var(--color-gold) 0%, #f4c467 100%);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 400;
    padding: 0.625rem 1.5rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 164, 86, 0.4);
    margin-bottom: var(--spacing-xs);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.hero__price-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 164, 86, 0.6);
    background: #c89a54;
}

.hero__price-button:active {
    transform: translateY(0);
}

.hero__regular-price {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    margin-top: 4px;
    letter-spacing: 0.05em;
    text-align: right;
    font-family: var(--font-display);
    padding-right: 1.5rem;
}

/* Section Title */
.section-title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 400;
    text-align: center;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
    line-height: 1.4;
}

.section-title__highlight {
    color: var(--color-gold);
    line-height: 147%;
}

/* Intro Section */
.intro {
    padding: var(--spacing-xl) var(--spacing-md);
}

.intro__text {
    font-size: 0.8rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-weight: 300;
}

/* Benefits Section */
.benefits {
    padding: var(--spacing-xl) var(--spacing-md);
}

.benefits .section-title {
    color: var(--color-gold);
}

.benefits__list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin: 0;
}

.benefits__item {
    position: relative;
    font-size: 0.8rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
}

.benefits__item p {
    margin: 0;
}

/* Why Section */
.why {
    padding: var(--spacing-xl) var(--spacing-md);
}

.header-image {
    width: 100%;
    max-width: 280px;
    margin: 0 auto var(--spacing-lg);
}

.why__text {
    font-size: 0.875rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-weight: 300;
}

/* CTA Section */
.cta {
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
}

.cta__button {
    background: var(--color-gold);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 2.5rem;
    font-weight: 800;
    padding: 0.25rem 4rem;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-transform: capitalize;
    margin-bottom: var(--spacing-sm);
}

.cta__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    background: #c89a54;
}

.cta__button:active {
    transform: translateY(0);
}

.cta__text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 200;
}

/* Video Section */
.video {
    width: 100%;
    position: relative;
    border-top: 5px solid #C48A38;
}

.video__player {
    width: 100%;
    height: auto;
    display: block;
}

/* Tablet Styles */
@media (min-width: 376px) and (max-width: 768px) {
        
    .hero__title {
        font-size: 2.75rem;
    }
    
    .dates__value {
        font-size: 2.75rem;
    }

    .dates__label {
      font-size: 2.75rem;
    }
    
    .hero__price-button {
        padding: 1rem 3rem;
        font-size: 2.25rem;
    }
    
    .section-title {
        font-size: 2.75rem;
    }
    
    .intro__text,
    .why__text {
        font-size: 0.8rem;
        margin-left: auto;
        margin-right: auto;
    }

    .benefits__list {
        margin: 0 20px;
    }
    
    .benefits__item {
        font-size: 0.8rem;
    }
    
    .cta__button {
        font-size: 5.125rem;
        padding: 0.25rem 3rem;
    }
}

/* Desktop Styles */
@media (min-width: 769px) {
    .container {
        max-width: 1440px;
    }
    
    .header {
        padding: var(--spacing-xl) var(--spacing-lg);
    }
    
    .hero {
        padding: var(--spacing-xxl) var(--spacing-lg);
    }
    
    .hero__title {
        font-size: 5rem;
    }
    
    .dates__label {
        font-size: 4rem;
    }
    
    .dates__value {
        font-size: 5rem;
    }
    
    .price__label {
        font-size: 1rem;
    }
    
    .hero__price-button {
        padding: 1.25rem 3.5rem;
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 5rem;
    }
    
    .intro,
    .benefits,
    .why,
    .cta {
        padding: var(--spacing-xxl) var(--spacing-lg);
    }
    
    .header-image {
        max-width: 450px;
    }
    
    .intro__text,
    .why__text {
        font-size: 2.5rem;
        margin-left: auto;
        margin-right: auto;
    }

    .benefits__list {
      margin: 0 20px;
    }
    
    .benefits__item {
        font-size: 2.5rem;
    }
    
    .benefits__item::before {
        font-size: 1.25rem;
    }
    
    .cta__button {
        font-size: 9.5rem;
        padding: 0.5rem 6rem;
    }
    
    .cta__text {
        font-size: 4.375rem;
    }
}