:root {
    --turquoise: #2DD4BF;
    --turquoise-dark: #14B8A6;
    --orange: #F97316;
    --orange-dark: #EA580C;
    --khaki: #6B7280;
    --khaki-light: #9CA3AF;
    --white: #FFFFFF;
    --off-white: #F9FAFB;
    --dark: #1F2937;
    --darker: #111827;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background: var(--off-white); color: var(--dark); line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

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

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

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes borderGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(45, 212, 191, 0.3); }
    50% { box-shadow: 0 0 40px rgba(45, 212, 191, 0.6); }
}

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

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    animation: fadeInDown 0.6s ease-out;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 12px 32px;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-h {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--turquoise);
    transition: transform 0.3s ease;
}

.navbar:hover .brand-h {
    transform: rotate(-5deg) scale(1.1);
}

.brand-name {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--dark);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

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

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

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

.admin-btn {
    background: var(--turquoise) !important;
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 24px;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.admin-btn::after {
    display: none !important;
}

.admin-btn:hover {
    background: var(--turquoise-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 212, 191, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 999;
    animation: fadeInDown 0.3s ease-out;
}

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

.mobile-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--turquoise);
    padding-left: 8px;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--darker) 0%, #1a2332 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
}

.hero-text {
    animation: fadeInLeft 0.8s ease-out;
}

.hero-label {
    display: inline-block;
    background: var(--turquoise);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    animation: pulse 2s infinite;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-desc {
    font-size: 18px;
    color: var(--khaki-light);
    margin-bottom: 32px;
    max-width: 400px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.cta-btn {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
}

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

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

.cta-btn:hover {
    background: var(--orange-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(249,115,22,0.5);
}

.hero-image {
    display: flex;
    justify-content: center;
    animation: fadeInRight 0.8s ease-out 0.3s both;
}

.image-frame {
    width: 380px;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border: 4px solid var(--turquoise);
    animation: borderGlow 3s infinite;
    transition: transform 0.5s ease;
}

.image-frame:hover {
    transform: scale(1.02) rotate(1deg);
}

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

.image-frame:hover img {
    transform: scale(1.1);
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--turquoise);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--orange);
    bottom: -50px;
    left: -50px;
    animation-delay: 2s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--turquoise);
    bottom: 20%;
    right: 20%;
    animation-delay: 4s;
}

/* About */
.about {
    padding: 120px 0;
    background: var(--white);
}

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

.section-label {
    display: inline-block;
    background: var(--turquoise);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
}

.about-card {
    background: var(--off-white);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s ease;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(45, 212, 191, 0.1);
    transform: translateX(5px);
}

.info-label {
    font-size: 12px;
    color: var(--khaki);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    font-size: 16px;
    font-weight: 500;
}

.talent-card {
    background: linear-gradient(135deg, var(--turquoise) 0%, var(--turquoise-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.talent-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s infinite;
}

.talent-card h3 {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.talent-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.talent-card p {
    font-size: 14px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Gallery */
.gallery {
    padding: 120px 0;
    background: var(--off-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    aspect-ratio: 3/4;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(45, 212, 191, 0.3), rgba(249, 115, 22, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

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

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

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

/* Family Gallery */
.family-gallery {
    padding: 120px 0;
    background: var(--white);
}

.family-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.family-tab {
    padding: 12px 32px;
    border: 2px solid #E5E7EB;
    border-radius: 30px;
    background: var(--white);
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--dark);
}

.family-tab:hover {
    border-color: var(--turquoise);
    color: var(--turquoise);
    transform: translateY(-3px);
}

.family-tab.active {
    background: var(--turquoise);
    border-color: var(--turquoise);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(45, 212, 191, 0.4);
}

.family-photos {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

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

.family-photos.active {
    display: block;
}

.family-member-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.family-member-grid .gallery-item {
    min-height: 350px;
    background: #e5e7eb;
}

.family-member-grid .gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.family-member-header {
    grid-column: span 4;
    text-align: center;
    padding: 24px;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
    border-radius: 16px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.family-member-header:hover {
    transform: scale(1.01);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.family-member-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
}

.family-member-header p {
    color: var(--khaki);
    font-size: 14px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    animation: scaleIn 0.3s ease-out;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    padding: 16px 24px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

.lightbox-prev:hover { transform: translateY(-50%) translateX(-5px); }
.lightbox-next:hover { transform: translateY(-50%) translateX(5px); }

/* Contact */
.contact {
    padding: 120px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.contact-card {
    background: var(--off-white);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.contact-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(45, 212, 191, 0.1);
    transform: translateX(8px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--turquoise);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: rotate(-10deg) scale(1.1);
    background: var(--turquoise-dark);
}

.contact-label {
    font-size: 12px;
    color: var(--khaki);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 4px;
}

.contact-item a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--turquoise);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: 12px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link:hover {
    background: var(--turquoise);
    color: var(--white);
    transform: translateX(12px) scale(1.02);
    box-shadow: 0 10px 30px rgba(45, 212, 191, 0.3);
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--orange);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
}

.social-link:hover .social-icon {
    background: var(--white);
    color: var(--turquoise);
    transform: rotate(10deg);
}

/* Footer */
.footer {
    background: var(--darker);
    color: var(--khaki-light);
    padding: 32px 0;
    text-align: center;
    animation: fadeIn 0.6s ease-out;
}

.footer p {
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero h1 { font-size: 56px; }
    .hero-desc { margin: 0 auto 32px; }
    .image-frame { width: 300px; height: 400px; }
    .about-grid { grid-template-columns: 1fr; }
    .gallery-grid, .family-member-grid { grid-template-columns: repeat(3, 1fr); }
    .family-member-header { grid-column: span 3; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero h1 { font-size: 42px; }
    .section-header h2 { font-size: 36px; }
    .gallery-grid, .family-member-grid { grid-template-columns: repeat(2, 1fr); }
    .family-member-header { grid-column: span 2; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 36px; }
    .info-grid { grid-template-columns: 1fr; }
}
