:root {
    --bg-color: #0b1026;
    --accent-purple: #2e003e;
    --accent-gold: #d4af37;
    --text-white: #fdfdfd;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(212, 175, 55, 0.3);
    --header-height: 80px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-white);
    overflow-x: hidden;
    background: radial-gradient(circle at 50% 50%, #1a0b2e 0%, #0b1026 100%);
}

.background-atmosphere {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(46, 0, 62, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.1) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

/* Typography Defaults */
h1,
h2,
h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
}

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    box-sizing: border-box;
    background: rgba(11, 16, 38, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-icon {
    height: 40px;
}

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-white);
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-list a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s;
    text-transform: uppercase;
    font-weight: 300;
}

.nav-list a:hover,
.nav-list a.nav-highlight {
    color: var(--accent-gold);
}

/* Hamburger Menu default hidden */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--accent-gold);
    margin: 3px auto;
    transition: all 0.3s ease-in-out;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: url('hero_background.png');
    background-size: cover;
    background-position: center 25%;
    background-attachment: fixed;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(11, 16, 38, 0.6),
            rgba(46, 0, 62, 0.4),
            var(--bg-color));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.main-title {
    font-size: 5rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 10px;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    background: linear-gradient(to bottom, #fff, #bbb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 1.8rem;
    font-weight: 300;
    margin: 1rem 0 3rem 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

.gold-dot {
    color: var(--accent-gold);
    font-weight: bold;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    border: 1px solid var(--accent-gold);
    color: var(--text-white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.cta-button:hover {
    background: rgba(212, 175, 55, 0.2);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

/* Essence Section */
.text-section {
    padding: 100px 20px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.content-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.divider {
    width: 50px;
    height: 2px;
    background: var(--accent-gold);
    margin: 20px auto 40px auto;
}

.poetic-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.floating-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--accent-gold);
    font-style: italic;
    margin-top: 50px;
    opacity: 0.8;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Gallery Section */
.gallery-section {
    padding: 50px 5%;
    position: relative;
    z-index: 10;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    height: 400px;
    border-radius: 4px;
    /* Slight rounding */
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-gold);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.placeholder-img {
    width: 100%;
    height: 100%;
}

.gradient-1 {
    background: linear-gradient(135deg, #2e003e, #1a0b2e);
}

.gradient-2 {
    background: linear-gradient(135deg, #0b1026, #4a1a5e);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
    /* Gentle zoom */
}

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 30px 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .item-overlay {
    opacity: 1;
}

.item-overlay h3 {
    margin: 0;
    color: var(--accent-gold);
    font-size: 1.5rem;
}

.item-overlay p {
    margin: 5px 0 0 0;
    font-size: 0.9rem;
    color: #ddd;
}

/* Contact Section (Integration) */
.contact-section {
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Form Styles */

.cyber-form {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    /* Center it */
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--accent-gold);
    letter-spacing: 1px;
    font-weight: 400;
}

input,
textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 0;
    color: var(--text-white);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

input:focus,
textarea:focus {
    outline: none;
    border-bottom-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.05);
    box-shadow: 0 10px 20px -10px rgba(212, 175, 55, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--accent-purple), #4a1a5e);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    margin-top: 1rem;
    text-transform: uppercase;
}

.submit-btn span {
    position: relative;
    z-index: 2;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-gold), #f3e5ab);
    transition: width 0.4s ease;
    z-index: 1;
}

.submit-btn:hover {
    color: var(--accent-purple);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.submit-btn:hover::before {
    width: 100%;
}

.subtitle {
    text-align: center;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.7);
}

/* Footer */
footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--accent-gold);
}

footer p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Scroll Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    animation: fadeInUp 1.5s ease forwards;
    opacity: 0;
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image:
        radial-gradient(white, rgba(255, 255, 255, .2) 2px, transparent 3px),
        radial-gradient(white, rgba(255, 255, 255, .15) 1px, transparent 2px),
        radial-gradient(white, rgba(255, 255, 255, .1) 2px, transparent 3px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    animation: particleMove 60s linear infinite;
    opacity: 0.3;
}

@keyframes particleMove {
    0% {
        background-position: 0 0, 40px 60px, 130px 270px;
    }

    100% {
        background-position: 550px 550px, 390px 410px, 680px 820px;
    }
}

/* --- RESPONSIVE MEDIA QUERIES --- */

/* Tablet & Mobile styles */
@media (max-width: 768px) {

    /* Header */
    .glass-header {
        padding: 0 20px;
    }

    .menu-toggle {
        display: flex;
        /* Show hamburger */
    }

    /* Mobile Nav Menu */
    .nav-list {
        display: none;
        /* Hide default nav */
        width: 100%;
        position: absolute;
        top: var(--header-height);
        left: 0;
        background: rgba(11, 16, 38, 0.95);
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        border-bottom: 1px solid var(--accent-gold);
    }

    .nav-list.active {
        display: flex;
        /* Show when toggled */
        animation: slideDown 0.4s ease forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-list li {
        margin: 15px 0;
    }

    /* Hamburger Animation */
    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero */
    .hero-section {
        background-attachment: scroll;
        /* Fix mobile parallax jitter */
    }

    .main-title {
        font-size: 3rem;
        letter-spacing: 5px;
    }

    .tagline {
        font-size: 1.2rem;
    }

    /* Sections */
    .text-section,
    .gallery-section,
    .contact-section {
        padding: 60px 20px;
    }

    /* Typography */
    .section-title {
        font-size: 2.2rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .floating-quote {
        font-size: 1.8rem;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        /* Stack images */
    }

    .gallery-item {
        height: 300px;
        /* Smaller height on mobile */
    }

    /* Form */
    .cyber-form {
        padding: 2rem 1.5rem;
    }
}