/* JIGOTHY - Ski Trip Website with Distinctive Design */
/* Inspired by Elwood's clean aesthetic + disco party vibes */

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    /* Colors */
    --disco-purple: #667eea;
    --disco-deep: #764ba2;
    --disco-gold: #FFD93D;
    --white: #ffffff;
    --off-white: #fafafa;
    --light: #f5f5f5;
    --gray: #e8e8e8;
    --text: #2d3748;
    --text-light: #718096;
    --black: #0a0a0a;
    
    /* Typography - Using system fonts that work everywhere */
    --font-display: 'Impact', 'Arial Black', 'Helvetica', sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    
    /* Spacing */
    --gap: clamp(16px, 3vw, 32px);
    --section: clamp(60px, 10vw, 140px);
}

/* ========================================
   RESET & BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ========================================
   LAYOUT
   ======================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 80px);
}

.container-sm {
    max-width: 900px;
}

/* ========================================
   HEADER - Minimal, sticky
   ======================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px clamp(20px, 5vw, 80px);
    max-width: 1400px;
    margin: 0 auto;
}

.logo-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-nav img {
    width: 36px;
    height: 36px;
}

.logo-nav span {
    font-family: var(--font-display);
    font-size: 26px;
    letter-spacing: 1px;
    color: var(--black);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: clamp(24px, 4vw, 48px);
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    transition: color 0.2s;
    position: relative;
}

.nav-links a:hover {
    color: var(--disco-purple);
}

/* ========================================
   HERO - Big, bold, centered
   ======================================== */
.hero {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--disco-purple) 0%, var(--disco-deep) 100%);
    color: var(--white);
    text-align: center;
    padding: var(--section) var(--gap);
    margin-top: 77px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 217, 61, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 32px;
}

.disco-ball-hero {
    width: clamp(160px, 25vw, 240px);
    height: clamp(160px, 25vw, 240px);
    position: relative;
}

.disco-ball-hero img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

.hero-logo-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 60px);
    letter-spacing: 3px;
    color: var(--white);
    text-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.6),
        0 8px 24px rgba(0, 0, 0, 0.4);
    line-height: 1;
}

.hero-tagline {
    font-size: clamp(13px, 2vw, 17px);
    font-weight: 700;
    letter-spacing: 6px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.hero-description {
    font-size: clamp(18px, 2.5vw, 22px);
    max-width: 660px;
    margin: 0 auto;
    opacity: 0.92;
    font-weight: 400;
    line-height: 1.6;
}

/* ========================================
   SECTIONS
   ======================================== */
section {
    padding: var(--section) 0;
}

section.alt {
    background: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: clamp(48px, 8vw, 96px);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(42px, 7vw, 72px);
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--black);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: clamp(17px, 2vw, 20px);
    color: var(--text-light);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========================================
   CARDS - Modern, clean with hover
   ======================================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: var(--gap);
}

.card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

.card-image {
    width: 100%;
    height: 280px;
    background: var(--light);
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light) 0%, var(--gray) 100%);
    gap: 8px;
}

.photo-placeholder p:first-child {
    font-size: 48px;
}

.photo-placeholder p:last-child {
    font-size: 13px;
    color: var(--text-light);
}

.card-content {
    padding: clamp(24px, 4vw, 32px);
}

.card-title {
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 28px);
    line-height: 1.2;
    color: var(--black);
    margin-bottom: 12px;
}

.card-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-price {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 42px);
    color: var(--disco-purple);
    margin-bottom: 20px;
    line-height: 1;
}

/* ========================================
   BUTTONS - Bold, gradient
   ======================================== */
.btn {
    display: inline-block;
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font-body);
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--disco-purple), var(--disco-deep));
    color: var(--white);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--disco-purple);
    border: 2px solid var(--disco-purple);
}

.btn-secondary:hover {
    background: var(--disco-purple);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

/* ========================================
   GALLERY - Clean grid
   ======================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(16px, 3vw, 24px);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    background: var(--light);
    cursor: pointer;
    transition: transform 0.4s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   FORMS - Clean, modern
   ======================================== */
form {
    max-width: 640px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    font-family: var(--font-body);
    border: 2px solid var(--gray);
    border-radius: 8px;
    transition: all 0.2s;
    background: var(--white);
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--disco-purple);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

/* ========================================
   FOOTER - Minimal
   ======================================== */
footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

footer p {
    opacity: 0.6;
    font-size: 14px;
}

/* ========================================
   UTILITY
   ======================================== */
.text-center {
    text-align: center;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 20px;
        padding: 16px 20px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
    
    .hero {
        min-height: 75vh;
        margin-top: 120px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-links {
        width: 100%;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}
