/*
Theme Name: Lana Jacobs Theme
Author: Anchor Web Design (Converted)
Description: Custom theme for Lana Jacobs.
Version: 1.1
*/
:root {
    --bg-color: #030303; /* Deeper black for higher contrast */
    --text-color: #ffffff;
    --accent-blue: #48cae4; /* Vibrant light blue */
    --accent-glow: rgba(72, 202, 228, 0.4);
    
    /* Advanced Glass Tokens */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-light: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 15px 35px 0 rgba(0, 0, 0, 0.6);
    --glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    
    --font-primary: 'Inter', sans-serif;
    --easing: cubic-bezier(0.25, 1, 0.5, 1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s var(--easing);
}

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

/* Background animated shapes */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    animation: float 25s infinite ease-in-out alternate;
    opacity: 0.6;
}

.shape-1 { width: 50vw; height: 50vw; background: rgba(72, 202, 228, 0.15); top: -20%; left: -20%; }
.shape-2 { width: 40vw; height: 40vw; background: rgba(255, 255, 255, 0.07); bottom: -10%; right: -10%; animation-delay: -5s; }
.shape-3 { width: 30vw; height: 30vw; background: rgba(72, 202, 228, 0.12); top: 30%; left: 40%; animation-delay: -10s; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(80px, 80px) scale(1.1); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(3, 3, 3, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--glass-border);
    padding: 20px 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
}

.nav-logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: #fff; font-weight: 600; }

/* Layout container */
.glass-container {
    max-width: 1200px;
    margin: 140px auto 60px;
    padding: 60px;
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.01) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    box-shadow: var(--glass-shadow), var(--glass-inset);
    position: relative;
    overflow: hidden;
}

/* Typography & Hero */
.hero {
    text-align: center;
    margin-bottom: 80px;
}

.name {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.profession {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--accent-blue);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 4px;
    height: 40px; /* For typing effect */
}

.type-cursor {
    display: inline-block;
    width: 3px;
    height: 1.6rem;
    background-color: var(--accent-blue);
    margin-left: 5px;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

@keyframes blink { 50% { opacity: 0; } }

.hero p {
    max-width: 650px;
    margin: 0 auto 40px;
    color: rgba(255,255,255,0.7);
    font-size: 1.15rem;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    background: var(--accent-blue);
    color: #fff;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.4s var(--easing);
    border: 1px solid transparent;
    box-shadow: 0 10px 20px var(--accent-glow);
    position: relative;
    overflow: hidden;
}

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

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px var(--accent-glow);
}

.btn:hover::before { left: 100%; }

.btn-outline {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border-light);
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: #fff;
    color: var(--bg-color);
    box-shadow: 0 10px 25px rgba(255,255,255,0.2);
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Social Links */
.social-links { display: flex; justify-content: center; gap: 20px; }

.social-btn {
    display: flex; align-items: center; justify-content: center;
    width: 55px; height: 55px; border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
    border: 1px solid var(--glass-border);
    color: #fff; font-size: 1.4rem; text-decoration: none;
    transition: all 0.4s var(--easing);
    backdrop-filter: blur(10px);
    box-shadow: var(--glass-inset);
}

.social-btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 25px var(--accent-glow);
}

/* Sections */
.events-section { margin-bottom: 80px; }

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: -1px;
    display: inline-block;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-blue);
    border-radius: 2px;
}

/* Glass Card styling for images */
.glass-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s var(--easing);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
    position: relative;
}

.glass-card::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.2); transition: background 0.4s ease; z-index: 1; pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.3);
    border-color: var(--glass-border-light);
}

.glass-card:hover::after { background: transparent; }

.img-container img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.8s var(--easing);
}

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

/* About Section */
.about-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: center; }
.about-image {
    border-radius: 30px; overflow: hidden;
    border: 1px solid var(--glass-border-light);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.about-image img { width: 100%; display: block; }
.about-content p {
    margin-bottom: 25px; color: rgba(255,255,255,0.8); font-size: 1.15rem; line-height: 1.9;
}

/* Focused Grid */
.focused-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.focused-grid .img-container { aspect-ratio: 4 / 5; }

/* Masonry for Old Events */
.masonry-grid { column-count: 3; column-gap: 30px; }
.masonry-grid .glass-card { margin-bottom: 30px; display: inline-block; width: 100%; }
.masonry-grid img { height: auto; }

/* Contact Form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info p { color: rgba(255,255,255,0.8); margin-bottom: 25px; font-size: 1.1rem; }
.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 10px; color: rgba(255,255,255,0.7); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px;}
.form-control {
    width: 100%; padding: 18px;
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--glass-border);
    border-radius: 12px; color: #fff; font-family: inherit; font-size: 1rem;
    transition: all 0.3s ease;
}
.form-control:focus { outline: none; border-color: var(--accent-blue); background: rgba(0,0,0,0.6); box-shadow: 0 0 15px rgba(72, 202, 228, 0.2); }

/* Footer */
.footer {
    text-align: center; padding-top: 50px;
    border-top: 1px solid var(--glass-border);
    color: rgba(255,255,255,0.4); font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Modal */
.modal {
    display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.95); backdrop-filter: blur(20px);
    align-items: center; justify-content: center; opacity: 0; transition: opacity 0.4s ease;
}
.modal.show { display: flex; opacity: 1; }
.modal-content {
    max-width: 90%; max-height: 90vh; border-radius: 20px;
    box-shadow: 0 0 50px rgba(0,0,0,0.8); transform: scale(0.9); transition: transform 0.4s var(--easing);
}
.modal.show .modal-content { transform: scale(1); }
.close-modal {
    position: absolute; top: 30px; right: 50px; color: rgba(255,255,255,0.5); font-size: 40px; font-weight: 300;
    cursor: pointer; transition: all 0.3s ease;
}
.close-modal:hover { color: var(--accent-blue); transform: rotate(90deg); }

/* Responsive */
@media (max-width: 900px) {
    .glass-container { margin: 120px 20px 20px; padding: 40px; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .masonry-grid { column-count: 2; }
}

@media (max-width: 600px) {
    .navbar { padding: 15px 20px; flex-direction: column; gap: 15px; }
    .name { font-size: 3.5rem; }
    .profession { font-size: 1.2rem; }
    .glass-container { padding: 25px; }
    .masonry-grid { column-count: 1; }
    .button-group { flex-direction: column; }
}
