/* Modern Sailing Theme - Balaton Vitorlás */
:root {
    --navy: #0c1d36;
    --navy-light: #152a4d;
    --blue-accent: #3b82f6;
    --blue-glow: rgba(59, 130, 246, 0.3);
    --gold: #f4c150;
    --gold-light: #fde68a;
    --gold-glow: rgba(244, 193, 80, 0.3);
    --white: #ffffff;
    --gray-100: #f8fafc;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-600: #475569;
    --success: #10b981;
    --success-glow: rgba(16, 185, 129, 0.3);
    --red: #ef4444;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--navy);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--gold-light);
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(180deg, #0a1628 0%, #0c1d36 30%, #1a3a5c 70%, #2a5a7c 100%);
    overflow: hidden;
}

.bg-animation::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 15%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(244, 193, 80, 0.4) 0%, rgba(244, 193, 80, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    animation: sunGlow 8s ease-in-out infinite;
}

@keyframes sunGlow {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Waves */
.waves {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background-repeat: repeat-x;
    background-size: 50% 100%;
}

.wave1 {
    background: linear-gradient(to bottom, transparent 0%, transparent 70%, rgba(30, 80, 120, 0.3) 70%, rgba(30, 80, 120, 0.3) 100%);
    animation: wave 12s linear infinite;
    bottom: 0;
    opacity: 0.6;
    border-radius: 100% 100% 0 0;
    height: 60%;
}

.wave2 {
    background: linear-gradient(to bottom, transparent 0%, transparent 60%, rgba(40, 100, 140, 0.25) 60%, rgba(40, 100, 140, 0.25) 100%);
    animation: wave 10s linear infinite reverse;
    bottom: -5%;
    opacity: 0.5;
    border-radius: 100% 100% 0 0;
    height: 55%;
}

.wave3 {
    background: linear-gradient(to bottom, transparent 0%, transparent 50%, rgba(50, 120, 160, 0.2) 50%, rgba(50, 120, 160, 0.2) 100%);
    animation: wave 8s linear infinite;
    bottom: -10%;
    opacity: 0.4;
    border-radius: 100% 100% 0 0;
    height: 50%;
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Sailboat silhouette */
.sailboat {
    position: fixed;
    bottom: 25%;
    left: -100px;
    width: 80px;
    height: 100px;
    z-index: 1;
    animation: sail 45s linear infinite;
    opacity: 0.15;
}

.sailboat svg {
    width: 100%;
    height: 100%;
    fill: var(--white);
}

@keyframes sail {
    0% { left: -100px; transform: translateY(0) rotate(-2deg); }
    25% { transform: translateY(-8px) rotate(2deg); }
    50% { transform: translateY(0) rotate(-2deg); }
    75% { transform: translateY(-8px) rotate(2deg); }
    100% { left: 110%; transform: translateY(0) rotate(-2deg); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(12, 29, 54, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
}

.logo span {
    color: var(--gold);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    color: var(--gray-200);
    text-decoration: none;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.main-nav .dropdown {
    position: relative;
}

.main-nav .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav .dropdown-toggle svg {
    width: 12px;
    height: 12px;
    transition: transform 0.3s;
}

.main-nav .dropdown:hover .dropdown-toggle svg {
    transform: rotate(180deg);
}

.main-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(12, 29, 54, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.main-nav .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .dropdown-menu a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    border-radius: 8px;
}

.nav-cta {
    background: linear-gradient(135deg, var(--gold) 0%, #f59e0b 100%);
    color: var(--navy) !important;
    font-weight: 600 !important;
    padding: 10px 20px !important;
    border-radius: 100px !important;
}

.nav-cta:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--gold-glow);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
}

/* Page Hero */
.page-hero {
    padding: 160px 24px 80px;
    text-align: center;
}

.page-hero.large {
    padding: 160px 24px 120px;
}

.page-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-200);
    margin-bottom: 24px;
}

.page-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(42px, 8vw, 72px);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-200) 50%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero .subtitle {
    font-size: clamp(18px, 3vw, 22px);
    font-weight: 300;
    color: var(--gray-400);
    max-width: 700px;
    margin: 0 auto;
}

/* Content Sections */
.content-section {
    padding: 80px 24px;
    position: relative;
}

.content-section.alt {
    background: rgba(0, 0, 0, 0.2);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--white);
}

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

/* Cards */
.card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    border-color: rgba(244, 193, 80, 0.4);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5),
                0 0 60px -10px var(--gold-glow);
    transform: translateY(-8px);
}

.card-body {
    padding: 32px;
}

.card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--white);
}

.card p {
    color: var(--gray-400);
    margin-bottom: 20px;
}

/* Glass Card */
.glass-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, #f59e0b 100%);
    color: var(--navy);
    box-shadow: 0 15px 40px var(--gold-glow);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 50px var(--gold-glow);
    color: var(--navy);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: var(--white);
    box-shadow: 0 15px 40px var(--success-glow);
}

.btn-success:hover {
    transform: translateY(-3px) scale(1.02);
    color: var(--white);
}

.btn svg {
    width: 18px;
    height: 18px;
}

/* Grid */
.grid {
    display: grid;
    gap: 24px;
}

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

/* Image with overlay */
.image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

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

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

.image-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(12, 29, 54, 0.95) 0%, transparent 100%);
}

/* Table */
.modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.modern-table tr {
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s;
}

.modern-table tr:hover {
    background: rgba(255, 255, 255, 0.06);
}

.modern-table td {
    padding: 20px 24px;
    border: none;
}

.modern-table td:first-child {
    border-radius: 12px 0 0 12px;
    font-weight: 500;
}

.modern-table td:last-child {
    border-radius: 0 12px 12px 0;
    text-align: right;
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--gold);
}

/* Form */
.modern-form .form-group {
    margin-bottom: 20px;
}

.modern-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-200);
    margin-bottom: 8px;
}

.modern-form input,
.modern-form select,
.modern-form textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s;
}

.modern-form input:focus,
.modern-form select:focus,
.modern-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px var(--gold-glow);
}

.modern-form input::placeholder,
.modern-form textarea::placeholder {
    color: var(--gray-600);
}

.modern-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 48px;
}

.modern-form select option {
    background: var(--navy);
    color: var(--white);
}

/* Footer */
.site-footer {
    padding: 60px 24px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.3);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: var(--gray-400);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold);
    transform: translateY(-3px);
}

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

.footer-contact {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    font-size: 14px;
}

.footer-contact a:hover {
    color: var(--gold);
}

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

.footer-locations {
    margin-bottom: 24px;
}

.footer-locations p {
    color: var(--gray-400);
    font-size: 14px;
}

.footer-locations a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-locations a:hover {
    color: var(--gold);
}

.footer-copy {
    font-size: 12px;
    color: var(--gray-600);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out both;
}

.animate-fade-in-down {
    animation: fadeInDown 0.8s ease-out both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Trust Section */
.trust-section {
    padding: 60px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
}

.trust-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.trust-item {
    text-align: center;
}

.trust-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--blue-accent);
}

.trust-icon svg {
    width: 24px;
    height: 24px;
}

.trust-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.trust-item p {
    font-size: 13px;
    color: var(--gray-400);
}

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--gold);
    color: var(--navy);
    padding: 8px 16px;
    z-index: 9999;
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

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

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(12, 29, 54, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.05);
        margin-top: 8px;
    }

    .menu-toggle {
        display: flex;
    }

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

    .trust-grid {
        flex-wrap: wrap;
        gap: 24px;
    }

    .footer-contact {
        flex-direction: column;
        gap: 16px;
    }

    .page-hero {
        padding: 120px 24px 60px;
    }
}
