/* ===== CSS Variables ===== */
:root {
    /* Color Palette */
    --color-bg: #050505;
    --color-surface: rgba(255, 255, 255, 0.03);
    --color-border: rgba(255, 255, 255, 0.08);
    --color-primary: #ff6b00; /* Vibrant Orange */
    --color-primary-glow: rgba(255, 107, 0, 0.6);
    --color-text: #f0f0f0;
    --color-text-muted: #a0a0a0;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-accent: 'Caveat', cursive;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ===== Resets & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-weight: 400; /* Regular body font */
    line-height: 1.8; /* Increased line height for readability */
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.highlight {
    color: var(--color-primary);
}

.glow-text {
    text-shadow: 0 0 20px var(--color-primary-glow);
}

.accent-text {
    font-family: var(--font-accent);
    font-weight: 400;
    font-size: 1.2em;
}

/* ===== Utilities ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Glassmorphism */
.glass {
    background: var(--color-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
}

.btn-primary:hover {
    background: #ff8533;
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.6);
    transform: translateY(-3px);
}

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

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(255, 107, 0, 0.05);
    transform: translateY(-3px);
}

.btn.sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* ===== Background Animation (Orbs) ===== */
.bg-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: floatOrb 20s infinite alternate cubic-bezier(0.5, 0, 0.5, 1);
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--color-primary);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: #803000;
    bottom: -200px;
    right: -100px;
    animation-delay: -5s;
    animation-duration: 25s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--color-primary);
    top: 40%;
    left: 40%;
    opacity: 0.2;
    animation-delay: -10s;
    animation-duration: 18s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 100px) scale(1.2); }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    max-width: 1200px;
    z-index: 1000;
    padding: 1rem 2rem;
    border-radius: 50px;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    top: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.logo-link {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 45px;
    width: auto;
    filter: invert(1) brightness(2);
    transition: all var(--transition-fast);
}

.brand-logo:hover {
    filter: invert(1) drop-shadow(0 0 12px var(--color-primary));
    transform: scale(1.05);
}

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

.nav-links a:not(.btn) {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-fast);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.nav-links a:not(.btn):hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    animation: slowZoom 25s infinite alternate ease-in-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.6) 100%);
    z-index: 1;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

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

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    font-weight: 300;
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
}

/* ===== Services Section ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 3rem 2rem;
    position: relative;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 107, 0, 0.15);
    border-color: rgba(255, 107, 0, 0.4);
}

.service-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(255, 107, 0, 0.5);
}

.service-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--color-primary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.5);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.service-card p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.price {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.price span {
    font-size: 2rem;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 900;
}

.service-features {
    margin-bottom: 2rem;
}

.service-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    color: #d0d0d0;
}

.service-features li i {
    color: var(--color-primary);
    margin-right: 10px;
}

/* ===== Additional Services ===== */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.split-content > p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 107, 0, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 1px solid rgba(255, 107, 0, 0.3);
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.feature-item:hover .feature-icon {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.4);
}

.feature-text h4 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.feature-text p {
    color: var(--color-text-muted);
}

.glass-image-container {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.glow-wrap {
    position: relative;
}

.glow-wrap::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--color-primary);
    z-index: -1;
    filter: blur(30px);
    opacity: 0.2;
    border-radius: 30px;
    transition: opacity 0.4s ease;
}

.glass-image-container:hover img {
    transform: scale(1.05);
}

.glass-image-container:hover.glow-wrap::before {
    opacity: 0.4;
}

/* ===== Portfolio Section ===== */
/* Portfolio Filters */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    padding: 0.6rem 1.8rem;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--color-primary);
    color: #000;
    border-color: var(--color-primary);
    box-shadow: 0 0 15px var(--color-primary-glow);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.portfolio-item {
    padding: 1rem;
    transition: all var(--transition-base);
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
    box-shadow: 0 0 20px var(--color-primary-glow), 0 20px 40px rgba(0, 0, 0, 0.5);
}

.portfolio-img {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1 / 1; 
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-base);
    backdrop-filter: blur(4px);
}

.view-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transform: translateY(20px) rotate(-45deg);
    transition: all var(--transition-base);
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.08);
}

.overlay-text {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-base);
}

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

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .view-btn {
    transform: translateY(0) rotate(-45deg);
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.5);
}

.portfolio-info {
    padding: 1.5rem 0.5rem 0.5rem;
}

.portfolio-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    color: var(--color-text-muted);
}

/* ===== Contact Section ===== */
.contact-box {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    padding: 4rem;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.direct-contact {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-method i {
    font-size: 2rem;
    color: var(--color-primary);
}

.contact-method span {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-method h4 {
    font-size: 1.2rem;
    margin-bottom: 0;
}

.whatsapp-card {
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.3);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.pulse-glow {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-icon {
    font-size: 4rem;
    color: #25D366;
    margin-bottom: 1.5rem;
}

.whatsapp-card h3 {
    margin-bottom: 0.5rem;
}

.whatsapp-card p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    width: 100%;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* ===== Footer ===== */
.footer {
    border-bottom: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
    margin-top: 5rem;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

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

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.4);
}

/* ===== Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.reveal.right {
    transform: translateX(50px);
}

.reveal.right.active {
    transform: translateX(0);
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .split-layout {
        grid-template-columns: 1fr;
    }
    
    .contact-box {
        grid-template-columns: 1fr;
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple hidden for mobile, can be toggled by JS */
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-bg);
        border: 1px solid var(--color-border);
        padding: 2rem;
        border-radius: 12px;
        margin-top: 10px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

/* ===== Portfolio Modal ===== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: none;
    box-shadow: none;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    background: rgba(15, 15, 15, 0.85);
    z-index: 1;
    transform: scale(0.9);
    opacity: 0;
    transition: all var(--transition-base);
    border: 1px solid var(--color-border);
    border-radius: 20px;
}

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

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--color-primary);
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.modal-gallery {
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
}

.slider-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.slider-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.modal-info {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-badge {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: inline-block;
}

.modal-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.modal-info p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

@media (max-width: 992px) {
    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .modal-gallery {
        padding: 1.5rem;
    }
    
    .modal-info {
        padding: 2rem 1.5rem;
    }
}
