/* ============================================
   SEA LIFE YACHT SCHOOL - Main Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Colors from logo */
    --primary: #E8A838;
    --primary-dark: #D4922A;
    --primary-light: #F5C56B;
    --dark: #1A1A1A;
    --dark-blue: #0D1B2A;
    --navy: #1B263B;
    --ocean: #415A77;
    --sea-light: #778DA9;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
}

/* ============== RESET ============== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ============== TYPOGRAPHY ============== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark-blue);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    margin-bottom: var(--space-md);
}

.text-primary { color: var(--primary); }
.text-muted { color: var(--gray-500); }
.text-center { text-align: center; }

/* ============== LAYOUT ============== */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

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

.section {
    padding: var(--space-4xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header h2 {
    margin-bottom: var(--space-md);
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--gray-500);
}

/* Grid */
.grid {
    display: grid;
    gap: var(--space-xl);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ============== BUTTONS ============== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-dark {
    background: var(--dark-blue);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--navy);
}

.btn-white {
    background: var(--white);
    color: var(--dark-blue);
}

.btn-white:hover {
    background: var(--off-white);
}

.btn-sm {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.875rem;
}

.btn-tg-channel {
    background: linear-gradient(135deg, #0088cc 0%, #0077b5 100%);
    color: var(--white);
    border: none;
}

.btn-tg-channel:hover {
    background: linear-gradient(135deg, #0077b5 0%, #006699 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1rem;
}

/* ============== HEADER ============== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.logo img, .logo svg {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-blue);
    line-height: 1.2;
}

.logo-text span {
    display: block;
    font-size: 0.7rem;
    font-family: var(--font-body);
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-500);
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
}

.nav-links {
    display: flex;
    gap: var(--space-xl);
}

.nav-link {
    font-weight: 500;
    color: var(--gray-600);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.lang-switch {
    display: flex;
    gap: var(--space-xs);
    padding: var(--space-xs);
    background: var(--gray-100);
    border-radius: var(--radius-full);
}

.lang-switch a {
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
}

.lang-switch a.active,
.lang-switch a:hover {
    background: var(--white);
    color: var(--dark-blue);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark-blue);
    transition: var(--transition-base);
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: var(--space-xl);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu .nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.mobile-menu .nav-link {
    font-size: 1.25rem;
}

/* ============== HERO ============== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--navy) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.85) 0%, rgba(27, 38, 59, 0.6) 50%, rgba(13, 27, 42, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: var(--white);
    padding: var(--space-4xl) 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(232, 168, 56, 0.2);
    border: 1px solid var(--primary);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-xl);
}

.hero h1 {
    color: var(--white);
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    margin-top: var(--space-md);
    border-radius: 2px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--sea-light);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stat {
    text-align: center;
    padding: var(--space-lg) var(--space-xl);
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.06);
    flex: 1;
    transition: var(--transition-base);
}

.hero-stat:hover {
    background: rgba(232, 168, 56, 0.08);
    border-color: rgba(232, 168, 56, 0.2);
    transform: translateY(-2px);
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: var(--space-xs);
    text-shadow: 0 2px 15px rgba(232, 168, 56, 0.3);
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--sea-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Decorative elements */
.hero-decor {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    pointer-events: none;
}

.hero-decor svg {
    position: absolute;
    right: -10%;
    bottom: 10%;
    width: 600px;
    height: 600px;
    opacity: 0.1;
}

/* ============== TRIPS CARDS ============== */

.trip-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.trip-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.trip-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.trip-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.trip-card-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: var(--space-xs) var(--space-md);
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.trip-card-discount {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: var(--space-xs) var(--space-md);
    background: #EF4444;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.trip-card-body {
    padding: var(--space-lg);
}

.trip-card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
    font-size: 0.875rem;
    color: var(--gray-500);
}

.trip-card-meta svg {
    width: 16px;
    height: 16px;
}

.trip-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.trip-card h3 a:hover {
    color: var(--primary);
}

.trip-card-location {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: var(--space-md);
}

.trip-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-md);
    border-top: 1px solid var(--gray-200);
}

.trip-card-price {
    font-family: var(--font-display);
}

.trip-card-price .old-price {
    font-size: 0.875rem;
    color: var(--gray-400);
    text-decoration: line-through;
    margin-right: var(--space-xs);
}

.trip-card-price .current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.trip-card-price .currency {
    font-size: 1rem;
    color: var(--gray-500);
}

/* ============== BLOG CARDS ============== */

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.blog-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.blog-card-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.blog-card-body {
    padding: 1.5rem;
}

.blog-card-date {
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.blog-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card h3 a:hover {
    color: var(--primary);
}

.blog-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.blog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: auto;
}

.blog-card-tag {
    padding: 0.35rem 0.75rem;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 0.75rem;
    border-radius: 20px;
    transition: var(--transition-base);
}

.blog-card-tag:hover {
    background: var(--primary);
    color: var(--white);
}

/* Blog Post Detail */
.blog-post-content {
    color: var(--gray-600);
    line-height: 1.9;
    font-size: 1.1rem;
}

.blog-post-content h2 {
    color: var(--dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.blog-post-content h3 {
    color: var(--dark);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
}

.blog-post-content p {
    margin-bottom: 1.25rem;
}

.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.blog-post-content li {
    margin-bottom: 0.5rem;
}

.blog-post-header {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gray-100);
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--gray-500);
    font-size: 0.875rem;
}

.blog-post-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--dark);
}

.blog-post-hero-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.blog-post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--gray-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.blog-post-share {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.blog-post-share span {
    color: var(--gray-500);
    margin-right: 0.5rem;
}

.blog-post-share a {
    color: var(--gray-400);
    transition: var(--transition-base);
}

.blog-post-share a:hover {
    color: var(--primary);
}

/* ============== GALLERY ============== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition-base);
    display: flex;
    align-items: flex-end;
    padding: var(--space-md);
}

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

.gallery-item-caption {
    color: var(--white);
    font-size: 0.875rem;
}

/* ============== ABOUT SECTION ============== */

.about-section {
    background: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

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

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.about-image-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.about-image-badge .number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.about-image-badge .text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content h2 {
    margin-bottom: var(--space-lg);
}

.about-content p {
    color: var(--gray-600);
    margin-bottom: var(--space-lg);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.about-feature {
    display: flex;
    gap: var(--space-md);
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.about-feature h4 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.about-feature p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
}

/* ============== CTA SECTION ============== */

.cta-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--navy) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.cta-section h2,
.cta-section p,
.cta-section .hero-buttons,
.cta-section .btn {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.cta-section p {
    color: var(--sea-light);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

/* ============== FOOTER ============== */

.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.footer-brand .logo {
    margin-bottom: var(--space-lg);
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    color: var(--sea-light);
    font-size: 0.9rem;
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: var(--primary);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: var(--space-lg);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: var(--sea-light);
    font-size: 0.9rem;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    color: var(--sea-light);
    font-size: 0.9rem;
}

.footer-contact-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--primary);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    color: var(--sea-light);
    font-size: 0.875rem;
    margin: 0;
}

/* ============== FORMS ============== */

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    color: var(--dark-blue);
}

.form-control {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 168, 56, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

/* ============== PAGE HEADER ============== */

.page-header {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--navy) 100%);
    padding: calc(80px + var(--space-4xl)) 0 var(--space-4xl);
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.page-header p {
    color: var(--sea-light);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    font-size: 0.875rem;
}

.breadcrumb a {
    color: var(--sea-light);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--gray-400);
}

/* ============== FILTERS ============== */

.filters {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
}

.filter-btn {
    padding: var(--space-sm) var(--space-lg);
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.875rem;
    transition: var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
}

/* ============== TRIP DETAIL ============== */

.trip-detail-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
}

.trip-detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trip-detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
}

.trip-detail-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-3xl);
    color: var(--white);
}

.trip-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-3xl);
    padding: var(--space-3xl) 0;
}

@media (max-width: 1024px) {
    .trip-detail-content {
        grid-template-columns: 1fr;
    }
}

.trip-detail-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.trip-booking-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.trip-booking-price {
    text-align: center;
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: var(--space-lg);
}

.trip-booking-price .old-price {
    font-size: 1.25rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.trip-booking-price .current-price {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
}

.trip-booking-price .per-person {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.trip-info-list {
    margin-bottom: var(--space-lg);
}

.trip-info-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--gray-100);
}

.trip-info-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.trip-info-item span {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.trip-info-item strong {
    color: var(--dark-blue);
}

/* ============== PAGINATION ============== */

.pagination {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-3xl);
}

.pagination a,
.pagination span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: var(--transition-base);
}

.pagination a {
    background: var(--gray-100);
    color: var(--gray-600);
}

.pagination a:hover,
.pagination a.active {
    background: var(--primary);
    color: var(--white);
}

.pagination span {
    color: var(--gray-400);
}

/* ============== ALERTS ============== */

.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
}

.alert-success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.alert-error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* ============== TELEGRAM BUTTONS ============== */

.tg-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tg-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    color: var(--white);
}

.tg-btn:hover {
    transform: scale(1.1);
}

.tg-btn svg {
    width: 26px;
    height: 26px;
}

.tg-btn-channel {
    background: linear-gradient(135deg, #0088cc 0%, #0077b5 100%);
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4);
}

.tg-btn-channel:hover {
    box-shadow: 0 6px 30px rgba(0, 136, 204, 0.5);
}

.tg-btn-contact {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 4px 20px rgba(232, 168, 56, 0.4);
}

.tg-btn-contact:hover {
    box-shadow: 0 6px 30px rgba(232, 168, 56, 0.5);
}

/* ============== HERO PROS & CONS ============== */

.hero-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.hero-pros,
.hero-cons {
    padding: var(--space-xl);
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition-base);
}

.hero-pros {
    border-left: 3px solid var(--primary);
}

.hero-cons {
    border-left: 3px solid #ff6b6b;
}

.hero-pros:hover,
.hero-cons:hover {
    background: rgba(255,255,255,0.09);
    transform: translateY(-2px);
}

.hero-pros h3,
.hero-cons h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    font-family: var(--font-display);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    letter-spacing: 0.5px;
}

.hero-pros h3 {
    color: var(--primary);
}

.hero-pros h3::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.hero-cons h3 {
    color: #ff8a8a;
}

.hero-cons h3::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ff6b6b;
    border-radius: 50%;
    flex-shrink: 0;
}

.hero-pros ul,
.hero-cons ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.hero-pros li,
.hero-cons li {
    position: relative;
    padding-left: 2rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

.hero-pros li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 168, 56, 0.15);
    border-radius: 50%;
}

.hero-cons li::before {
    content: '✗';
    position: absolute;
    left: 0;
    top: 0;
    color: #ff6b6b;
    font-weight: 700;
    font-size: 0.85rem;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 107, 0.12);
    border-radius: 50%;
}

@media (max-width: 767px) {
    .hero-pros-cons {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .hero-pros,
    .hero-cons {
        padding: var(--space-lg);
    }
}

/* ============== IYT LOGO ============== */

.about-actions {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
    flex-wrap: wrap;
}

.iyt-logo-link {
    display: inline-flex;
    align-items: center;
    padding: var(--space-md) var(--space-xl);
    background: var(--off-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition-base);
}

.iyt-logo-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.iyt-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* ============== COMMUNITY PAGE ============== */

.community-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--navy) 100%);
    overflow: hidden;
}

.community-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.community-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.community-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.92) 0%, rgba(27, 38, 59, 0.85) 100%);
}

.community-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    color: var(--white);
    padding: var(--space-4xl) 0;
}

.community-content h1 {
    color: var(--white);
    margin-bottom: var(--space-lg);
    font-size: clamp(2.5rem, 6vw, 4rem);
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.community-content h1 span {
    color: var(--primary);
}

.community-subtitle {
    font-size: 1.2rem;
    color: var(--sea-light);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
}

.community-features {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
}

.community-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    padding: var(--space-md) var(--space-lg);
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.08);
}

.community-feature svg {
    color: var(--primary);
    flex-shrink: 0;
}

.btn-community-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    background: linear-gradient(135deg, #0088cc 0%, #0099e6 50%, #0077b5 100%);
    color: var(--white);
    padding: var(--space-xl) var(--space-3xl);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 30px rgba(0, 136, 204, 0.4);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

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

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

.btn-community-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 136, 204, 0.5);
}

.community-note {
    margin-top: var(--space-xl);
    color: var(--sea-light);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

@keyframes communityCTAPulse {
    0%, 100% { box-shadow: 0 8px 30px rgba(0, 136, 204, 0.4); }
    50% { box-shadow: 0 8px 50px rgba(0, 136, 204, 0.7), 0 0 20px rgba(0, 136, 204, 0.3); }
}

.community-cta-pulse {
    animation: communityCTAPulse 2s ease-in-out infinite;
}

@media (max-width: 640px) {
    .community-features {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }

    .btn-community-cta {
        padding: var(--space-lg) var(--space-xl);
        font-size: 1rem;
    }
}

/* ============== FLOATING TG BUTTON ANIMATION ============== */

@keyframes tgPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 20px rgba(232, 168, 56, 0.4); }
    50% { transform: scale(1.1); box-shadow: 0 6px 30px rgba(232, 168, 56, 0.6), 0 0 15px rgba(232, 168, 56, 0.3); }
}

@keyframes tgChannelPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4); }
    50% { transform: scale(1.1); box-shadow: 0 6px 30px rgba(0, 136, 204, 0.6), 0 0 15px rgba(0, 136, 204, 0.3); }
}

.tg-btn-contact {
    animation: tgPulse 2s ease-in-out infinite;
}

.tg-btn-channel {
    animation: tgChannelPulse 2.5s ease-in-out infinite;
}

.tg-btn:hover {
    animation: none;
    transform: scale(1.15);
}

/* ============== ANIMATIONS ============== */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-slide-up {
    animation: slideUp 0.6s ease forwards;
}

/* ============== UTILITIES ============== */

.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }
.mt-3 { margin-top: var(--space-2xl); }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }

.hidden { display: none; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: var(--space-md); }
.gap-2 { gap: var(--space-xl); }

/* ============== MOBILE RESPONSIVE ============== */

/* iOS specific fixes */
html {
    -webkit-text-size-adjust: 100%;
}

input, textarea, select, button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 16px; /* Prevents iOS zoom on focus */
}

/* Touch-friendly tap targets */
a, button, .btn, .filter-btn, .nav-link {
    min-height: 44px;
    min-width: 44px;
}

/* Safe area for iPhone notch */
@supports (padding: max(0px)) {
    .header {
        padding-left: max(var(--space-lg), env(safe-area-inset-left));
        padding-right: max(var(--space-lg), env(safe-area-inset-right));
    }
    
    .footer {
        padding-bottom: max(var(--space-xl), env(safe-area-inset-bottom));
    }
    
    .tg-float {
        bottom: max(30px, calc(env(safe-area-inset-bottom) + 20px));
        right: max(20px, env(safe-area-inset-right));
    }
}

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    :root {
        --space-4xl: 4rem;
        --space-3xl: 3rem;
    }
    
    .header-inner {
        height: 70px;
    }
    
    .nav-actions .btn {
        display: none;
    }
    
    .hero-stats {
        gap: var(--space-xl);
    }
    
    .hero-stat-number {
        font-size: 2.5rem;
    }
    
    .about-image-badge {
        width: 120px;
        height: 120px;
        bottom: -20px;
        right: -20px;
    }
    
    .about-image-badge .number {
        font-size: 2.5rem;
    }
    
    .trip-detail-sidebar {
        position: relative;
        top: 0;
    }
}

/* Mobile Large (481px - 767px) */
@media (max-width: 767px) {
    :root {
        --space-4xl: 3rem;
        --space-3xl: 2rem;
        --space-2xl: 1.5rem;
    }
    
    .container {
        padding: 0 var(--space-md);
    }
    
    .header-inner {
        height: 60px;
    }
    
    .logo img, .logo svg {
        height: 40px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .logo-text span {
        font-size: 0.6rem;
    }
    
    .mobile-menu {
        top: 60px;
        padding: var(--space-lg);
    }
    
    /* Hero mobile */
    .hero {
        min-height: calc(100vh - 60px);
        min-height: calc(100dvh - 60px); /* Dynamic viewport height for mobile */
    }
    
    .hero-content {
        padding: var(--space-2xl) 0;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: var(--space-xs) var(--space-md);
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: var(--space-sm);
        text-align: center;
    }

    .hero-stat {
        padding: var(--space-md) var(--space-sm);
    }

    .hero-stat-number {
        font-size: 1.75rem;
    }

    .hero-stat-label {
        font-size: 0.65rem;
    }

    .hero-decor {
        display: none;
    }
    
    /* About mobile */
    .about-image-badge {
        width: 100px;
        height: 100px;
        bottom: -15px;
        right: 10px;
    }
    
    .about-image-badge .number {
        font-size: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    /* Cards mobile */
    .trip-card-image {
        height: 200px;
    }
    
    .trip-card h3 {
        font-size: 1.1rem;
    }
    
    .trip-card-price .current-price {
        font-size: 1.25rem;
    }
    
    .blog-card-image {
        height: 180px;
    }
    
    /* Trip detail mobile */
    .trip-detail-hero {
        height: 50vh;
        min-height: 350px;
    }
    
    .trip-detail-hero-content {
        padding: var(--space-xl);
    }
    
    .trip-detail-hero-content h1 {
        font-size: 1.5rem !important;
    }
    
    .trip-booking-price .current-price {
        font-size: 2.5rem;
    }
    
    /* Page header mobile */
    .page-header {
        padding: calc(60px + var(--space-2xl)) 0 var(--space-2xl);
    }
    
    .breadcrumb {
        flex-wrap: wrap;
        font-size: 0.75rem;
    }
    
    /* Footer mobile */
    .footer {
        padding: var(--space-2xl) 0 var(--space-lg);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    /* Forms mobile */
    .form-control {
        padding: var(--space-md);
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Telegram buttons mobile */
    .tg-float {
        bottom: 20px;
        right: 15px;
        gap: 10px;
    }
    
    .tg-btn {
        width: 50px;
        height: 50px;
    }
    
    .tg-btn svg {
        width: 22px;
        height: 22px;
    }
    
    /* Contact page mobile */
    .grid-2 {
        gap: var(--space-2xl) !important;
    }
}

/* Mobile Small (320px - 480px) */
@media (max-width: 480px) {
    :root {
        --space-4xl: 2.5rem;
        --space-3xl: 1.5rem;
        --space-2xl: 1.25rem;
    }
    
    h1 { font-size: clamp(1.75rem, 8vw, 2.5rem); }
    h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
    h3 { font-size: clamp(1.25rem, 5vw, 1.5rem); }
    
    .btn {
        padding: var(--space-sm) var(--space-lg);
        font-size: 0.875rem;
    }
    
    .btn-lg {
        padding: var(--space-md) var(--space-xl);
    }
    
    .section-header {
        margin-bottom: var(--space-xl);
    }
    
    .trip-card-body {
        padding: var(--space-md);
    }
    
    .trip-card-footer {
        flex-direction: column;
        gap: var(--space-md);
        align-items: flex-start;
    }
    
    .trip-card-footer .btn {
        width: 100%;
    }
    
    .filters {
        gap: var(--space-xs);
    }
    
    .filter-btn {
        padding: var(--space-xs) var(--space-md);
        font-size: 0.8rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }
    
    .trip-booking-card {
        padding: var(--space-lg);
    }
    
    .cta-section .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: var(--space-4xl) 0;
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* High DPI / Retina displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo img, .logo svg {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    /* Can be enabled later if needed */
}

