:root {
    --primary: #f600b7;
    --primary-dark: #d5009f;
    --primary-light: #ff4dd2;
    --dark: #1a1a2e;
    --dark-overlay: rgba(26, 26, 46, 0.85);
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --gray-light: #adb5bd;
    --max-width: 1200px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 10px;
    --border-radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 65px;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Accessibility - Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    z-index: 9999;
    font-weight: 600;
    transition: var(--transition-fast);
}

.skip-link:focus {
    top: 10px;
}

/* Focus Styles for Accessibility */
:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

@media (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }
}

h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin-top: 8px;
    border-radius: 2px;
}

p {
    margin-bottom: 1.5rem;
    color: #4a4a4a;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(246, 0, 183, 0.4);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(246, 0, 183, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    box-shadow: none;
}

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

/* Header & Nav */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    position: absolute;
    left: 20px;
}

.logo img {
    height: 45px;
    width: auto;
    transition: height 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    color: var(--dark);
    padding: 5px 0;
}

/* Animated Underline Effect */
.nav-links a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

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

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

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.hamburger {
    top: 50%;
    transform: translate(-50%, -50%);
}

.hamburger::before {
    content: '';
    top: -8px;
    left: 50%;
}

.hamburger::after {
    content: '';
    top: 8px;
    left: 50%;
}

.mobile-toggle.active .hamburger {
    background: transparent;
}

.mobile-toggle.active .hamburger::before {
    top: 0;
    transform: translateX(-50%) rotate(45deg);
}

.mobile-toggle.active .hamburger::after {
    top: 0;
    transform: translateX(-50%) rotate(-45deg);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background:
        linear-gradient(var(--dark-overlay), var(--dark-overlay)),
        url("../photos/optimized/kamp1.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 70px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        min-height: 100svh;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(12px);
        opacity: 0.3;
    }
}

@media (max-width: 768px) {
    .scroll-indicator {
        bottom: 20px;
    }
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-logo {
    max-width: 250px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
}

@media (max-width: 768px) {
    .hero-logo {
        max-width: 180px;
    }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-buttons .btn {
    width: 220px;
    text-align: center;
}

@media (max-width: 768px) {
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Sections General */
section {
    padding: 100px 0;
}

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

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

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-gallery {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-gallery.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delay for gallery items */
.reveal-gallery:nth-child(1) { transition-delay: 0s; }
.reveal-gallery:nth-child(2) { transition-delay: 0.05s; }
.reveal-gallery:nth-child(3) { transition-delay: 0.1s; }
.reveal-gallery:nth-child(4) { transition-delay: 0.15s; }
.reveal-gallery:nth-child(5) { transition-delay: 0.2s; }
.reveal-gallery:nth-child(6) { transition-delay: 0.25s; }
.reveal-gallery:nth-child(7) { transition-delay: 0.3s; }
.reveal-gallery:nth-child(8) { transition-delay: 0.35s; }
.reveal-gallery:nth-child(9) { transition-delay: 0.4s; }
.reveal-gallery:nth-child(10) { transition-delay: 0.45s; }

/* About Section */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
}

.about-img-wrapper::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-top: 5px solid var(--primary);
    border-left: 5px solid var(--primary);
    z-index: 1;
}

.about-img-wrapper img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
}

.about-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item i {
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Team Section */
.team {
    background: var(--light);
}

.team-container {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    transition: var(--transition-slow);
}

.team-container:hover {
    box-shadow: var(--shadow-lg);
}

.team-list {
    margin-top: 20px;
}

.team-note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--gray);
}

.team-photo {
    height: 100%;
    min-height: 400px;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .team-info {
        padding: 30px 20px;
    }
}

.team-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

@media (max-width: 480px) {
    .team-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

.team-list li:last-child {
    border-bottom: none;
}

.role {
    font-weight: 600;
    color: var(--dark);
}

.name {
    color: var(--gray);
}

/* Gallery */
.gallery-section {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    height: 250px;
}

@media (max-width: 768px) {
    .gallery-item {
        height: 150px;
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.overlay i {
    color: white;
    font-size: 2rem;
}

/* Contact Section - Modern Split Layout */
.contact {
    background: var(--dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.contact-bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, var(--dark) 0%, #0d0d1a 50%, var(--dark) 100%);
    z-index: 0;
}

.contact-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

/* Left side - CTA Content */
.contact-content {
    text-align: left;
}

.contact-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.contact h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.contact h2::after {
    display: none;
}

@media (max-width: 768px) {
    .contact h2 {
        font-size: 2.2rem;
    }
}

.contact-intro {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: none;
}

/* Contact Features List */
.contact-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-feature i {
    width: 44px;
    height: 44px;
    background: rgba(246, 0, 183, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-feature div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-feature strong {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
}

.contact-feature span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Large CTA Button */
.btn-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    font-size: 1.1rem;
    background: var(--primary);
    position: relative;
    z-index: 1;
}

/* Animated glow ring */
.btn-large::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-light), var(--primary-dark));
    border-radius: 50px;
    z-index: -1;
    background-size: 200% 100%;
    animation: btn-ring-glow 3s linear infinite;
}

/* Inner background to cover the ring */
.btn-large::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary);
    border-radius: 50px;
    z-index: -1;
}

@keyframes btn-ring-glow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

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

.btn-large:hover::after {
    background: var(--primary-dark);
}

.btn-large i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-large:hover i {
    transform: translateX(4px);
}

/* Right side - Contact Cards */
.contact-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card-modern {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: 28px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: var(--transition);
}

.contact-card-modern:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(246, 0, 183, 0.3);
}

.contact-card-modern:hover::before {
    opacity: 1;
}

/* Video Hover Effect for Contact Card */
.card-with-video {
    cursor: pointer;
}

.card-hover-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.card-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(20, 0, 40, 0.75) 50%,
        rgba(246, 0, 183, 0.5) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.card-with-video:hover .card-hover-video,
.card-with-video:hover .card-video-overlay {
    opacity: 1;
}

.card-with-video .card-icon,
.card-with-video .card-content {
    position: relative;
    z-index: 2;
}

.card-with-video .card-icon {
    align-self: center;
}

.card-with-video:hover .card-content h3 {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(246, 0, 183, 0.4);
}

.card-with-video:hover .card-content p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.card-with-video:hover .card-link {
    color: var(--primary-light);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.contact-card-modern.highlight {
    background: linear-gradient(135deg, rgba(246, 0, 183, 0.15), rgba(246, 0, 183, 0.05));
    border-color: rgba(246, 0, 183, 0.3);
}

.contact-card-modern.highlight::before {
    opacity: 1;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
}

.card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon i {
    color: var(--white);
    font-size: 1.4rem;
}

.card-icon.instagram {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737);
}

.card-content {
    flex: 1;
    min-width: 0;
}

.card-content h3 {
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.card-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 12px;
    max-width: none;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.card-link:hover {
    color: var(--primary-light);
    gap: 12px;
}

.card-link i {
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

.card-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(246, 0, 183, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(246, 0, 183, 0);
    }
}

/* Decorative Elements */
.contact-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.03;
}

.deco-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -200px;
}

.deco-2 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    bottom: -150px;
    left: -100px;
}

@media (max-width: 768px) {
    .contact {
        padding: 80px 0;
    }
    
    .contact-content {
        text-align: center;
    }
    
    .contact-features {
        align-items: center;
    }
    
    .contact-feature {
        text-align: left;
    }
    
    .contact-card-modern:hover {
        transform: translateY(-4px);
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
    }
}

/* Footer */
footer {
    background: #111;
    color: #888;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.footer-content p {
    margin: 0;
    color: #888;
}

.footer-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-links a {
    color: #888;
    transition: var(--transition-fast);
}

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

.footer-links .divider {
    color: #444;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 20px rgba(246, 0, 183, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(246, 0, 183, 0.5);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.97);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: var(--border-radius);
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
    opacity: 0;
    transform: scale(0.95);
}

.lightbox.active img.loaded {
    opacity: 1;
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 2002;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .lightbox-close {
        font-size: 2rem;
        top: 10px;
        right: 10px;
    }
}

.lightbox-close:hover {
    transform: scale(1.1);
    color: var(--primary);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 20px;
    border-radius: 50%;
    transition: var(--transition-fast);
    user-select: none;
    z-index: 2001;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
        padding: 10px;
    }
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--primary);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

@media (max-width: 768px) {
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}

/* Lightbox Loader */
.lightbox-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.lightbox.loading .lightbox-loader {
    opacity: 1;
    visibility: visible;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Lightbox Counter */
.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

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

/* Responsive */
@media (max-width: 900px) {
    .about-grid,
    .team-container {
        grid-template-columns: 1fr;
    }

    .team-photo {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        justify-content: space-between;
    }

    .logo {
        position: static;
    }

    .nav-links {
        position: fixed;
        top: 68px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 25px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .container {
        padding: 0 15px;
    }
}

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