body.loading {
    overflow: hidden;
}

/* Pinned Canvas Background */
#scroll-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    /* Placed above body bg, below content wrapper */
    display: block;
    pointer-events: none;
}

/* Preloader styling */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #050506;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.loader-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.loader-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--color-green) 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.progress-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 16px;
}

#progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-green) 0%, var(--color-rust) 100%);
    border-radius: 2px;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(2, 126, 1, 0.5);
}

#progress-text {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
}

/* Site Layout Over Canvas */
.site-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(5, 5, 6, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 5%;
}

.navbar .logo img {
    height: 85px;
    width: auto;
    object-fit: contain;
    /* Keep logo in original/natural colors at all times */
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4)) brightness(1.1);
    transition: height 0.4s ease, filter 0.4s ease;
}

.navbar.scrolled .logo img {
    height: 65px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--color-green);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-rust);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger Menu Button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* X transformation when active */
.hamburger-menu.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Main Content Sections */
.content-section {
    min-height: 120vh;
    /* creates long scrolling space */
    display: flex;
    align-items: center;
    padding: 100px 5%;
    position: relative;
}

/* Layout Constraints to avoid covering central animation subjects */
.left-align {
    justify-content: flex-start;
}

.right-align {
    justify-content: flex-end;
}

.center-align {
    justify-content: center;
    text-align: center;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 50px;
    width: 100%;
    max-width: 550px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.glass-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Typography inside cards */
.glass-card h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #ccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-card h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-green);
}

.glass-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.85);
}

.glass-card ul {
    list-style: none;
    margin-bottom: 25px;
}

.glass-card ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
}

.glass-card ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--color-rust);
    font-weight: bold;
}

.badge {
    display: inline-block;
    background: rgba(164, 53, 3, 0.2);
    color: #ff9b71;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(164, 53, 3, 0.4);
    margin-bottom: 20px;
}

/* Interactive Elements */
.pricing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
}

.btn-primary {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    background: linear-gradient(135deg, var(--color-green) 0%, #039e02 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(2, 126, 1, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 126, 1, 0.6);
    color: white;
}

.btn-secondary {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    background: transparent;
    color: white;
    border: 2px solid var(--color-rust);
    padding: 12px 30px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.btn-secondary:hover {
    background: var(--color-rust);
    transform: translateY(-2px);
}

/* Process Steps (Pottery) */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.step {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.04);
    padding: 12px 20px;
    border-radius: 8px;
    border-left: 4px solid var(--color-rust);
}

.step span {
    background: var(--color-rust);
    color: white;
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
}

/* Footer */
footer {
    padding: 40px 5%;
    text-align: center;
    background: rgba(5, 5, 6, 0.9);
    border-top: 1px solid var(--glass-border);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 900px) {

    .left-align,
    .right-align {
        justify-content: center;
    }

    .glass-card {
        margin: 0 auto;
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        background: rgba(10, 10, 12, 0.7);
    }

    .hamburger-menu {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(5, 5, 6, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-left: 1px solid var(--glass-border);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;
        z-index: 1000;
        transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        padding: 50px 0;
    }

    .nav-links.active {
        right: 0;
    }

    .glass-card h1 {
        font-size: 2.5rem;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #050506;
}

::-webkit-scrollbar-thumb {
    background: var(--color-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #039e02;
}

/* Google Translate Widget Custom Styling */
#google_translate_element select.goog-te-combo {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 10px 16px !important;
    font-family: 'Outfit', sans-serif !important;
    outline: none !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
}

#google_translate_element select.goog-te-combo:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--color-green) !important;
    box-shadow: 0 0 10px rgba(2, 126, 1, 0.3) !important;
}

#google_translate_element select.goog-te-combo option {
    background-color: #0b0b0c !important;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
}

.goog-logo-link {
    display: none !important;
}

.goog-te-gadget {
    color: transparent !important;
    font-size: 0 !important;
}

.goog-te-gadget .goog-te-combo {
    margin: 0 !important;
}

iframe.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0px !important;
}