/* ==================================
   CSS Variables & Design Tokens
   ================================== */
:root {
    --bg-dark: #16121a; /* Warmer, slightly purple dark tone for personality */
    --bg-darker: #0d0a0f; /* Even deeper for contrast */
    --bg-card: rgba(35, 30, 45, 0.6); /* Slightly lighter glass cards with warm undertone */
    --border-glass: rgba(255, 255, 255, 0.08);

    --accent-primary: #D4AF37;
    /* Studio Gold Accent */
    --accent-secondary: #25D366;
    /* WhatsApp/Studio Green Accent */

    --text-primary: #ffffff;
    --text-secondary: #a0a0a5;

    --font-main: 'Inter', sans-serif;

    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==================================
   Typography & Utils
   ================================== */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.accent {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

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

.text-center {
    text-align: center;
}

.mb-12 {
    margin-bottom: 3rem;
}

.w-full {
    width: 100%;
    display: block;
    text-align: center;
}

/* ==================================
   Buttons
   ================================== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(0, 229, 255, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ==================================
   Navigation
   ================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 16, 21, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

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

.nav-btn {
    border: 1px solid var(--border-glass);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
}

.nav-btn:hover {
    border-color: var(--accent-secondary);
    color: var(--text-primary);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-primary);
}

/* ==================================
   Hero Section
   ================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-inline: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Glass Orbs / Gradients */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
    opacity: 0.4;
    animation: float 20s infinite ease-in-out alternate;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-primary);
    top: -100px;
    right: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-secondary);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

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

    100% {
        transform: translate(-50px, 50px) scale(1.1);
    }
}

/* ==================================
   About / Features
   ================================== */
section {
    padding: 8rem 0;
}

.about {
    background: var(--bg-darker);
    position: relative;
}

.staggered-group {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(138, 43, 226, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* ==================================
   Gear UI Element
   ================================== */
.gear {
    background: var(--bg-dark);
}

.gear-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .gear-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .gear-grid {
        grid-template-columns: 1fr;
    }
}

.glass-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(255, 255, 255, 0.02)); /* Subtle gold tint */
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2rem;
}

.gear-category h3 {
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.gear-category li {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.gear-category li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-secondary);
}

/* ==================================
   Contact Section
   ================================== */
.contact {
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 10;
}

.contact-details {
    margin-top: 2rem;
}

.contact-details li {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.contact-details strong {
    color: var(--text-primary);
    font-size: 1.1rem;
}

.contact-details .email-link {
    color: var(--accent-secondary);
    transition: var(--transition-fast);
}

.contact-details .email-link:hover {
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-main);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-secondary);
    background: rgba(0, 0, 0, 0.4);
}

/* ==================================
   Footer
   ================================== */
footer {
    padding: 2rem 0;
    background: #000;
    border-top: 1px solid var(--border-glass);
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* ==================================
   Animations
   ================================== */
.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* JS Scroll Reveal Classes */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================================
   Responsive Design
   ================================== */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(15, 16, 21, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        left: 0;
    }

    .hero-cta {
        flex-direction: column;
    }
}

/* ==================================
   Floating Contact & Optimizations
   ================================== */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wa-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    /* WhatsApp Green */
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition-fast);
}

.wa-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.wa-btn svg {
    width: 24px;
    height: 24px;
}

.btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.email-link {
    display: inline-block;
    padding: 0.5rem 0;
    font-weight: 500;
    border-bottom: 2px solid transparent;
}

.email-link:hover {
    border-bottom: 2px solid var(--accent-secondary);
}

@media (max-width: 768px) {
    .wa-btn span {
        display: none;
        /* Icon only on mobile to save space */
    }

    .wa-btn {
        padding: 15px;
        border-radius: 50%;
    }
}

/* ==================================
   Image Integration / Gallery
   ================================== */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.hero {
    background: linear-gradient(180deg, rgba(22, 18, 26, 0.6) 0%, rgba(13, 10, 15, 0.95) 100%),
        url('assets/hero-bg.jpg') center/cover no-repeat;
}

.studio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
    cursor: zoom-in; /* Indicate clickability */
}

.gallery-img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    border-color: rgba(138, 43, 226, 0.3);
}

/* ==================================
   Blog Section
   ================================== */
.blog {
    background: var(--bg-dark);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem;
    transition: var(--transition-smooth);
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-secondary);
}

.blog-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-content h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.blog-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* ==================================
   Individual Blog Pages Styles
   ================================== */
.blog-page {
    background: var(--bg-dark);
}

.article-container {
    padding-top: 100px;
    padding-bottom: 4rem;
    max-width: 800px;
}

.article-header {
    margin-bottom: 2rem;
    text-align: center;
}

.article-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 1rem 0;
}

.article-meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.article-hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-glass);
}

.article-content h2 {
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.article-content p,
.article-content li {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 1.5rem;
}

.article-content ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    list-style: disc;
}

.article-content ul li {
    color: #cccccc;
}

.article-content hr {
    border: 0;
    height: 1px;

/* ==================================
   Image Modal (Fullscreen)
   ================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: block;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 2001;
}

.modal-close:hover,
.modal-close:focus {
    color: var(--accent-primary);
    text-decoration: none;
    cursor: pointer;
}
    background: var(--border-glass);
    margin: 4rem 0;
}

.cta-box {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
}

.cta-box h3 {
    margin-bottom: 1rem;
}

/* Article Navigation Links */
.article-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    gap: 1rem;
}

@media (max-width: 600px) {
    .article-navigation {
        flex-direction: column;
        width: 100%;
    }

    .article-navigation .btn {
        width: 100%;
        text-align: center;
    }
}