/* =========================================
   VARIABLES & GLOBALS
   ========================================= */
:root {
    --bg-color: #0a0a0a;
    --bg-surface: #141414;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    
    /* Elegant accents */
    --accent-gold: #cba052;
    --accent-gold-hover: #e0b466;
    --accent-copper: #b87333;
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-medium: 0.4s ease;
    --transition-fast: 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Custom scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--accent-gold) var(--bg-color);
}

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

/* Custom Scrollbar for Webkit */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 4px;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

.text-center { text-align: center; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.text-gray { color: var(--text-secondary); }

/* Utilities */
.accent-text {
    color: var(--accent-gold);
    font-style: italic;
}

.divider {
    width: 60px;
    height: 2px;
    background-color: var(--accent-gold);
    margin: 1.5rem 0;
}

.divider.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 0.5rem;
}

.section-text {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
}

.text-center .section-text {
    margin-left: auto;
    margin-right: auto;
}

/* Base Sections */
.section {
    padding: 6rem 0;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all var(--transition-medium);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--bg-color);
    border: 1px solid var(--accent-gold);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-gold);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
}

.btn-outline:hover {
    background-color: var(--text-primary);
    color: var(--bg-color);
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background-color: transparent;
    transition: all var(--transition-medium);
}

.navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 1001;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-gold);
    transition: width var(--transition-medium);
}

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

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

.nav-cta {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 24px;
    position: relative;
}

.mobile-menu-btn .bar {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all var(--transition-medium);
    left: 0;
}

.mobile-menu-btn .bar:nth-child(1) { top: 0; }
.mobile-menu-btn .bar:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-menu-btn .bar:nth-child(3) { bottom: 0; }

.mobile-menu-btn.active .bar:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .bar:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 5%;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* For parallax */
    background-image: url('https://images.unsplash.com/photo-1598371839696-5c5bb00bdc28?q=80&w=2071');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transform: translateY(0);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.85) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
}

.hero-subtitle {
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 20px;
    position: relative;
}

.wheel {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--text-primary);
    border-radius: 2px;
    animation: scroll 2s infinite cubic-bezier(0.15, 0.41, 0.69, 0.94);
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    50% { opacity: 0; top: 20px; }
    100% { opacity: 0; top: 8px; }
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    height: 600px;
}

.about-img {
    width: 100%;
    height: 120%; /* For parallax */
    object-fit: cover;
    object-position: center;
    transform-origin: center;
}

/* =========================================
   PORTFOLIO SECTION (BENTO BOX)
   ========================================= */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: 1.5rem;
}

.bento-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.8s ease, transform 0.8s ease;
}

.bento-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, transparent 100%);
    color: var(--text-primary);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.bento-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
}

.bento-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.bento-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.bento-item:hover .bento-overlay {
    transform: translateY(0);
    opacity: 1;
}

.item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.item-vertical {
    grid-column: span 1;
    grid-row: span 2;
}

.item-square {
    grid-column: span 1;
    grid-row: span 1;
}

.item-horizontal {
    grid-column: span 2;
    grid-row: span 1;
}

/* =========================================
   FEATURES / TRUST SIGNALS
   ========================================= */
.features {
    background-color: var(--bg-surface);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.modern-card {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.8), rgba(10, 10, 10, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modern-card:hover {
    transform: translateY(-10px);
    border-color: rgba(203, 160, 82, 0.4);
    box-shadow: 0 20px 40px rgba(203, 160, 82, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    background: linear-gradient(135deg, rgba(203, 160, 82, 0.1), rgba(203, 160, 82, 0.05));
    border-radius: 50%;
    border: 1px solid rgba(203, 160, 82, 0.2);
    box-shadow: inset 0 0 20px rgba(203, 160, 82, 0.1);
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =========================================
   PRICING SECTION
   ========================================= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
}

.pricing-card {
    background-color: var(--bg-surface);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 3rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card.popular {
    border-color: var(--accent-gold);
    transform: scale(1.05);
    z-index: 2;
    background-color: #1a1a1a;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-gold);
    color: var(--bg-color);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-type {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.pricing-price {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.currency {
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--text-secondary);
}

.pricing-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.pricing-features {
    margin-bottom: 3rem;
    flex-grow: 1;
}

.pricing-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.pricing-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
}

.pricing-card .btn {
    width: 100%;
}

/* =========================================
   CONTACT & FOOTER
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-method {
    margin-bottom: 1.5rem;
}

.contact-method h4 {
    font-family: var(--font-body);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-secondary);
    transition: color var(--transition-medium);
}

.social-links a:hover {
    color: var(--accent-gold);
}

.contact-map {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 8px;
    overflow: hidden;
    filter: grayscale(100%) invert(90%) contrast(85%); 
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(203, 160, 82, 0.05);
    pointer-events: none;
}

.footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 4rem 0 2rem;
    background-color: var(--bg-surface);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-legal a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-right: 1.5rem;
}

.footer-legal a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.creator-link {
    color: var(--text-primary);
    font-weight: 500;
}

.creator-link:hover {
    color: var(--accent-gold);
}

/* Base Responsive Additions */
@media (max-width: 1024px) {
    .pricing-grid, .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-card.popular {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-wrapper {
        height: 400px;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    
    .item-large, .item-vertical, .item-square, .item-horizontal {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .pricing-grid, .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Reveal Animations (Base) */
.reveal-wrapper {
    overflow: hidden;
}

.reveal-element {
    transform: translateY(100%);
    opacity: 0;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s ease;
}

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

.reveal-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100vw;
        height: 100vh;
        background-color: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right var(--transition-medium);
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .mobile-menu-btn {
        display: block;
    }
    
    body.no-scroll {
        overflow: hidden;
    }
}

/* Disable on mobile cursor */
@media (max-width: 768px) {
    .custom-cursor { display: none; }
    body { cursor: auto; }
}
