@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

:root {
    --bg-dark: #050505;
    --text-main: #f5f5f7;
    --text-sec: #86868b;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --accent: #2997ff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', 'Noto Sans SC', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glass Navbar */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    padding: 16px 0;
}

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

.brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 1px;
}

.glass-nav nav {
    display: flex;
    gap: 32px;
}

.glass-nav a:not(.brand) {
    color: var(--text-sec);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.glass-nav a:not(.brand):hover {
    color: var(--text-main);
}

/* Hero Section */
.hero-gallery {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #a5a5a5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    margin-bottom: 24px;
    color: var(--text-main);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-sec);
    margin-bottom: 48px;
    line-height: 1.8;
}

/* Floating Tags */
.floating-tags {
    position: relative;
    height: 150px;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: float 6s ease-in-out infinite;
}

.t1 { animation-delay: 0s; }
.t2 { animation-delay: 1s; }
.t3 { animation-delay: 2s; }
.t4 { animation-delay: 0.5s; }
.t5 { animation-delay: 1.5s; }

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.hero-quote {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-sec);
    margin-bottom: 40px;
    font-style: italic;
}

.btn-primary {
    display: inline-block;
    background: var(--text-main);
    color: var(--bg-dark);
    padding: 16px 40px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255,255,255,0.3);
}

/* Background Blurs */
.bg-blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 1;
    opacity: 0.5;
}
.b1 {
    width: 400px;
    height: 400px;
    background: #ff4b2b;
    top: -100px;
    left: -100px;
}
.b2 {
    width: 500px;
    height: 500px;
    background: #2997ff;
    bottom: -200px;
    right: -100px;
}

/* Section Title */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
}
.section-title span {
    display: block;
    font-size: 1rem;
    color: var(--text-sec);
    font-weight: 400;
    margin-top: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Gallery Section */
.gallery-section {
    padding: 120px 0;
    position: relative;
    z-index: 10;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

/* Flip Cards & Hover Effects */
.photo-card {
    position: relative;
    height: 400px;
    perspective: 1000px;
    cursor: pointer;
    border-radius: 24px;
    transition: filter 0.4s ease, transform 0.4s ease;
}

/* The magic: blur others on hover */
.photo-grid:hover .photo-card:not(:hover) {
    filter: blur(5px) brightness(0.5);
    transform: scale(0.95);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 24px;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-front {
    align-items: center;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 24px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.card-front h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-front p {
    font-size: 1rem;
    opacity: 0.9;
}

.hint {
    margin-top: auto;
    font-size: 0.85rem;
    opacity: 0.7;
    background: rgba(0,0,0,0.2);
    padding: 6px 16px;
    border-radius: 20px;
}

.card-back {
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    transform: rotateY(180deg);
    align-items: flex-start;
}

.card-back h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--text-main);
}

.card-back .details {
    flex-grow: 1;
}

.card-back p {
    font-size: 0.95rem;
    color: var(--text-sec);
    margin-bottom: 12px;
}

.card-back strong {
    color: var(--text-main);
    font-weight: 500;
}

.btn-glass {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn-glass:hover {
    background: rgba(255,255,255,0.2);
}

/* Flip action */
.photo-card:hover .card-front,
.photo-card:focus .card-front {
    transform: rotateY(180deg);
}

.photo-card:hover .card-back,
.photo-card:focus .card-back {
    transform: rotateY(360deg);
}

/* Pricing Section */
.pricing-section {
    padding: 120px 0;
    position: relative;
    z-index: 10;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    align-items: center;
}

.pricing-card {
    background: rgba(30, 30, 35, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured {
    background: rgba(40, 40, 50, 0.7);
    border-color: rgba(255,255,255,0.2);
    transform: scale(1.05);
    position: relative;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-main);
    color: var(--bg-dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: var(--text-sec);
    margin-bottom: 16px;
}

.pricing-card .price {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 32px;
}

.pricing-card .price span {
    font-size: 1rem;
    color: var(--text-sec);
    font-weight: 400;
}

.features {
    list-style: none;
    margin-bottom: 40px;
    text-align: left;
}

.features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-main);
}
.features li:last-child {
    border-bottom: none;
}

.btn-solid {
    display: block;
    width: 100%;
    background: var(--text-main);
    color: var(--bg-dark);
    padding: 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-solid:hover {
    background: #d2d2d7;
}

/* Footer */
.glass-footer {
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 40px;
    text-align: center;
}

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

.footer-links a {
    color: var(--text-sec);
    text-decoration: none;
    transition: color 0.3s;
}

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

.copyright {
    color: var(--text-sec);
    font-size: 0.9rem;
}

/* Additions for Subpages */
.page-content {
    padding: 120px 24px 80px;
    max-width: 800px;
    margin: 0 auto;
    min-height: 80vh;
}
.page-content h1 {
    font-size: 3rem;
    margin-bottom: 40px;
}
.page-content h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 16px;
}
.page-content p {
    color: var(--text-sec);
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .glass-nav nav { display: none; }
    .hero-title { font-size: 3rem; }
    .floating-tags { height: auto; }
    .pricing-card.featured { transform: scale(1); }
    .pricing-card.featured:hover { transform: translateY(-10px); }
    .photo-grid:hover .photo-card:not(:hover) { filter: none; transform: none; }
}
