/* ============================================
   FRANKIE FOTI - PAGES STYLES
   Shared by photos.html, videos.html, book-frankie.html
   ============================================ */

/* --- HERO SECTIONS --- */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(5, 5, 5, 1) 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    opacity: 0.5;
    z-index: -1;
    filter: grayscale(20%) contrast(110%);
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: min(920px, calc(100vw - 40px));
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.5s;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    color: #fff;
    margin: 0 0 20px 0;
    letter-spacing: 0.05em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero h1 span {
    font-style: italic;
    color: var(--accent-color);
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0;
}

.hero-description {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 2vw, 1.12rem);
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.7;
    max-width: 760px;
    margin: 0 auto 18px;
}

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

/* --- GALLERY STYLES (photos.html) --- */
.gallery-section {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: #050505;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.gallery-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

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

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

/* --- VIDEO GRID STYLES (videos.html) --- */
.videos-section {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: linear-gradient(180deg, #050505 0%, #0a0a0a 100%);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--gap, 20px);
    max-width: 1400px;
    margin: 0 auto;
}

.video-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.video-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.video-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-info {
    padding: 20px;
    background: linear-gradient(180deg, #111 0%, #0a0a0a 100%);
}

.video-title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 400;
    color: #fff;
    margin: 0 0 8px 0;
}

.video-description {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.6;
}

/* Featured video (larger) */
.video-item.featured {
    grid-column: 1 / -1;
}

.video-item.featured .video-embed {
    padding-bottom: 45%;
}

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

    .video-item.featured .video-embed {
        padding-bottom: 56.25%;
    }
}

/* --- BOOKING FORM STYLES (book-frankie.html) --- */
.booking-section {
    padding: var(--section-padding-y) var(--section-padding-x);
    background: linear-gradient(180deg, #050505 0%, #0a0a0a 100%);
}

.booking-container {
    max-width: 800px;
    margin: 0 auto;
}

.booking-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.booking-title {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 400;
    color: #fff;
    margin: 0 0 16px 0;
}

.booking-title span {
    font-style: italic;
    color: var(--accent-color);
}

.booking-subtitle {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.booking-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: linear-gradient(165deg, rgba(212, 175, 55, 0.05) 0%, rgba(20, 20, 20, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 4px;
}

.form-row {
    margin-bottom: 24px;
}

.form-row label {
    display: block;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 2px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(212, 175, 55, 0.05);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-row select option {
    background: #1a1a1a;
    color: #fff;
}

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

.booking-btn {
    display: block;
    width: 100%;
    padding: 20px 40px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #000;
    background: linear-gradient(135deg, #d4af37 0%, #f5e6a3 40%, #d4af37 80%, #b8962e 100%);
    background-size: 300% 100%;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.booking-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.booking-btn:hover {
    background-position: 100% 0;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

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

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

@media (max-width: 768px) {
    .booking-form {
        padding: 24px;
    }
}
