@font-face {
    font-family: 'Mark Pro';
    src: url('fonts/MarkPro.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mark Pro';
    src: url('fonts/MarkPro-Heavy.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
	font-family: 'Mark Pro';
	src: url('fonts/MarkPro-Italic.woff2') format('woff2');
	font-weight: normal;
	font-style: italic;
	font-display: swap;
}

@font-face {
    font-family: 'Mark Pro';
    src: url('fonts/MarkPro-Extlight.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mark Pro';
    src: url('fonts/MarkPro-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Mark Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

/* Header and Navigation Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.nav-link:hover {
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-line {
    width: 25px;
    height: 2px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

.mobile-nav-link {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 1rem 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.mobile-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Main Content Styles */
.main-content {
    min-height: 100vh;
    padding-top: 72px;
}

.sections-container {
    padding: 0;
}

/* Content Section Styles */
.content-section {
    display: grid;
    grid-template-columns: 65% 35%;
    gap: 0;
    min-height: 60vh;
    align-items: center;
}

.section-media {
    position: relative;
    height: 60vh;
    max-height: 600px;
    border-radius: 0;
    overflow: hidden;
}

.wistia_responsive_padding {
    width: 100%;
}

.content-section:not(.wistia) .section-media {
    display: flex;
    align-items: center;
}

.wistia .section-media {
    pointer-events: none;
}

.section-media img {
    max-width: 100%;
    object-fit: contain;
}

.media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px dashed #333;
}

.placeholder-content {
    text-align: center;
    color: #888;
}

.placeholder-content p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.placeholder-content small {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Special styling for Romanias media section */
.romanias-media {
    background: linear-gradient(135deg, #1a3a4a 0%, #2a4a5a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.romanias-text {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Section Text Styles */
.section-text {
    background-color: #fff;
    color: #000;
    padding: 2rem;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.section-tag {
    background-color: #000;
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    display: inline-block;
    border-radius: 2px;
}

.section-description {
    font-size: 1.5rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #333;
}

.section-link {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.section-link:hover {
    opacity: 0.7;
}

/* Footer Styles */
.footer {
    background-color: #111;
    padding: 3rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: left;
    position: relative;
}

.footer-text {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.social-links {
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.share-button,
.social-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.share-button:hover,
.social-link:hover {
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.share-button {
    line-height: 1.6;
    position: absolute;
    display: inline-block;
    cursor: pointer;
    right: 0;
    bottom: 0;
    background-color: transparent;
    /* background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #ffffff; */
    display: flex;
    align-items: center;
    gap: 8px;
    /* transition: opacity 0.3s ease; */
}

.share-button svg {
    width: 1rem;
    height: 1rem;
    vertical-align: middle;
}

.share-feedback {
    position: absolute;
    right: 100%;
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    pointer-events: none;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.share-feedback.visible {
    opacity: 1;
    transform: translateX(0);
}

/* YouTube Player Styles */
.youtube-player {
    cursor: pointer;
    pointer-events: auto;
}

.youtube-player.paused::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    .sections-container {
        padding: 0;
    }

    .content-section {
        gap: 0;
    }

    .section-text {
        padding: 2rem;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    /* Hide desktop navigation, show mobile menu */
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-nav.active {
        display: block;
        height: calc(100vh - 72px);
    }

    /* Mobile menu animation */
    .mobile-menu-btn.active .hamburger-line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Stack content sections vertically on mobile */
    .content-section {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: auto;
    }

    .section-media {
        height: 250px;
        order: 2;
    }

    .section-text {
        order: 1;
        padding: 1.5rem;
    }

    .sections-container {
        padding: 0;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .romanias-text {
        font-size: 2rem;
    }

    .social-links {
        gap: 1rem;
    }

    .footer {
        padding: 2rem 1rem 1.5rem;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .section-text {
        padding: 1rem;
    }

    .text-content {
        max-width: 100%;
    }

    .section-description {
        font-size: 0.9rem;
    }

    .footer-content {
        padding-bottom: 4rem;
    }

    .social-links {
        /* flex-direction: column; */
        align-items: flex-start;
    }

    .social-link {
        padding: 0.5rem 0.75rem;
    }

    .romanias-text {
        font-size: 1.5rem;
        letter-spacing: 0.2em;
    }

    .footer-text {
        font-size: 0.85rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.nav-link:focus,
.mobile-nav-link:focus,
.section-link:focus,
.social-link:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

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

.content-section {
    animation: fadeInUp 0.8s ease-out;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .section-text {
        border: 2px solid #000;
    }

    .nav-link,
    .social-link {
        border-width: 2px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}