/* Global Settings */
:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --secondary-color: #1a1a1a;
    --accent-color: #ffffff;
    /* Changed from Gold to White */
    --card-bg: #111;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Utility Classes */
.text-gold {
    color: var(--accent-color) !important;
}

.bg-gold {
    background-color: var(--accent-color) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Typography */
h1,
h2,
h3,
h4,
.navbar-brand {
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.display-1 {
    font-size: 5rem;
    font-weight: 700;
}

.display-3 {
    font-size: 3.5rem;
}

.tracking-tight {
    letter-spacing: -0.05em;
}

.tracking-wider {
    letter-spacing: 0.1em;
}

.tracking-widest {
    letter-spacing: 0.25em;
}

/* Navbar */
#mainNav {
    background: transparent;
    padding: 1.5rem 0;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

#mainNav.navbar-scrolled {
    background-color: #000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
    font-weight: 500;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6) !important;
    transition: all 0.3s;
    position: relative;
}

.nav-link:hover {
    color: #fff !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

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

/* Hero Section */
header video {
    filter: brightness(0.5) contrast(1.1);
    transform: scale(1.1);
    /* Subtle zoom for parallax feel */
    transition: transform 10s ease;
}

/* Gallery & Image Effects */
.gallery-item {
    background: #000;
}

.gallery-item img {
    opacity: 0.8;
    filter: grayscale(100%);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* Services List */
.service-item {
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 2rem 0;
    position: relative;
}

.service-item:hover {
    padding-left: 20px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent);
    border-bottom-color: rgba(255, 255, 255, 0.3) !important;
}

.service-item i {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--accent-color);
}

.service-item:hover i {
    opacity: 1;
    transform: translateX(0);
}

/* Modern Form */
.form-control-modern {
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    transition: all 0.3s ease;
    color: #fff;
    outline: none;
    font-weight: 300;
}

.form-control-modern:focus {
    border-bottom-color: var(--accent-color);
    padding-bottom: 15px;
    /* Subtle expansion */
}

.form-control-modern::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Video Section */
.video-wrapper {
    overflow: hidden;
    position: relative;
    border-radius: 4px;
}

.video-wrapper video {
    transition: transform 0.5s ease;
}

.video-wrapper:hover video {
    transform: scale(1.02);
}

/* Animations & Utilities */
.animate-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.text-gold {
    color: var(--accent-color);
}


.bg-black {
    background-color: #000 !important;
}

.bg-gold {
    background-color: var(--accent-color) !important;
}

/* Buttons */
.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

/* ... Existing Styles */

/* Utilities */
.grayscale-hover {
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.grayscale-hover:hover {
    filter: grayscale(0%);
    transform: scale(1.02);
}

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

/* Custom Cursor */
body {
    cursor: none;
    /* Hide default cursor */
}

.custom-cursor {
    width: 20px;
    height: 20px;
    border: 1px solid #fff;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
    mix-blend-mode: difference;
}

.custom-cursor.hovered {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

/* Gallery Overlay */
.gallery-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

/* Enhanced Service Item */
.service-item:hover {
    padding-left: 30px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.1), transparent);
    /* Gold tint */
    border-bottom: 1px solid var(--accent-color) !important;
}

/* Service Cards */
.service-card {
    background: transparent;
    transition: all 0.4s ease;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-10px);
    border-color: var(--accent-color) !important;
}

.service-card .display-1 {
    transition: opacity 0.4s;
}

.service-card:hover .display-1 {
    opacity: 0.1;
    /* slightly more visible */
    color: var(--accent-color) !important;
}

.link-gold {
    color: var(--accent-color);
    transition: all 0.3s;
}

.link-gold:hover {
    color: #fff;
    padding-left: 5px;
}

/* Play Button */
.play-button-glass {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.video-wrapper:hover .play-button-glass {
    transform: scale(1.2);
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.bg-gradient-to-t {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.pointer-events-none {
    pointer-events: none;
}

/* Infinite Marquee */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-block;
    animation: marquee-scroll 20s linear infinite;
    will-change: transform;
}

.marquee-item {
    display: inline-block;
    padding: 0 4rem;
    /* Increased padding since separators are gone */
    font-family: 'Inter', sans-serif;
    /* Modern Sans-Serif */
    font-size: 5rem;
    /* Larger for impact */
    font-weight: 800;
    /* Extra Bold */
    text-transform: uppercase;
    position: relative;
    /* For pseudo positioning if needed */
}

/* Add Asterisk Separator */
.marquee-item::after {
    content: "*";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    /* Gold Star */
    font-size: 3rem;
    -webkit-text-stroke: 0;
    /* Ensure star is never outlined */
}

/* Odd: Full White */
.marquee-item:nth-child(odd) {
    color: #ffffff;
}

/* Even: White Border (Outline) */
.marquee-item:nth-child(even) {
    color: transparent;
    -webkit-text-stroke: 1px #ffffff;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Modern visual effects */
.text-gradient-gold {
    background: linear-gradient(135deg, #fff 30%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow-effect {
    position: absolute;
    width: 60%;
    height: 60%;
    background: var(--accent-color);
    filter: blur(80px);
    /* Soft glow behind image */
    opacity: 0.15;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.glass-card {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Our Craft (Services) Modern Styles */
.craft-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    z-index: 1;
}

.craft-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* Background Number */
.craft-number {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    font-family: 'Inter', sans-serif;
    transition: all 0.5s ease;
    z-index: -1;
}

.craft-card:hover .craft-number {
    color: var(--accent-color);
    opacity: 0.1;
    transform: translate(-10px, 10px);
}

/* Explore Arrow */
.craft-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    opacity: 0;
    transform: translate(-20px, 20px);
    transition: all 0.4s ease;
}

.craft-card:hover .craft-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

/* Masonry Layout for Gallery */
.gallery-masonry {
    column-count: 3;
    column-gap: 1.5rem;
}

.gallery-item-masonry {
    display: inline-block;
    width: 100%;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background: #111;
    /* Placeholder bg */
}

.gallery-item-masonry img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item-masonry:hover img {
    transform: scale(1.05);
}

/* Infinite Text Shimmer */
.animate-shimmer {
    background: linear-gradient(to right, #666 20%, #fff 40%, #fff 60%, #666 80%);
    background-size: 200% auto;
    color: #666;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Jitter Style Text Reveal */
.char-wrapper {
    display: inline-block;
    overflow: hidden;
    /* Masking effect */
    vertical-align: bottom;
}

.char-reveal {
    display: inline-block;
    transform: translateY(120%);
    opacity: 0;
    animation: jitterReveal 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes jitterReveal {
    0% {
        transform: translateY(120%) rotateX(20deg);
        opacity: 0;
    }

    100% {
        transform: translateY(0) rotateX(0deg);
        opacity: 1;
    }
}

/* Responsive Columns */
@media (max-width: 992px) {
    .gallery-masonry {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .gallery-masonry {
        column-count: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-1 {
        font-size: 3rem;
    }

    .display-3 {
        font-size: 2.2rem;
    }

    .marquee-item {
        font-size: 3rem;
        padding: 0 1.5rem;
    }

    /* Improve container padding on mobile */
    .container-fluid.px-4 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* Fix for potential overflow from background effects/animations */
section {
    overflow: hidden;
    max-width: 100vw;
}/* Modern Menu Toggle */
.navbar-toggler {
    width: 30px;
    height: 20px;
    position: relative;
    transition: .5s ease-in-out;
    outline: none !important;
}

.hamburger-icon {
    width: 30px;
    height: 24px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger-icon span:nth-child(1) {
    top: 0px;
}

.hamburger-icon span:nth-child(2) {
    top: 10px;
}

.hamburger-icon span:nth-child(3) {
    top: 20px;
}

/* Active State (X shape) */
.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
    background: var(--accent-color);
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
    background: var(--accent-color);
}
/* Mobile Sidebar Menu */
@media (max-width: 991px) {
    #navMenu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        /* Slide out width */
        max-width: 300px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(15px);
        padding: 6rem 2rem;
        flex-direction: column;
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1000;
        display: flex !important;
        /* Override bootstrap collapse display none */
        visibility: hidden;
        opacity: 0;
    }

    #navMenu.show {
        right: 0;
        visibility: visible;
        opacity: 1;
    }

    /* Backdrop/Overlay */
    .navbar-collapse::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s;
        pointer-events: none;
    }

    #navMenu.show::before {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        /* Note: Bootstrap JS handles closing on click outside if configured, 
           but CSS overlay helps visual dimming */
    }

    .navbar-nav {
        align-items: flex-start;
        width: 100%;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 0;
        display: block;
    }

    /* Ensure hamburger is above menu */
    .navbar-toggler {
        z-index: 1001;
    }
}
/* Sidebar Social Links */
.sidebar-socials {
    margin-top: auto;
    /* Push to bottom */
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.social-link-item {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link-item:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* WhatsApp Floating Button in Sidebar */
.whatsapp-float-sidebar {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 1002;
    transition: all 0.3s ease;
}

.whatsapp-float-sidebar:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: white;
}
/* Global WhatsApp Floating Button */
.whatsapp-float-global {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
}

.whatsapp-float-global:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}


.dev-credit a {
    text-decoration: none;
    color: inherit;
}

.dev-credit a:hover {
    text-decoration: none;
    color: inherit;
}

/* Force override for sidebar padding */
@media (max-width: 991px) {
    #navMenu {
        padding: 3rem 2rem !important;
    }
}
