/* ========== BRAND VARIABLES ========== */
:root {
    /* Typography */
    --primary-font: "Helvetica Neue", sans-serif;
    --primary-font-bold: "Helvetica Neue Bold", sans-serif;
    /* --secondary-font: "Roboto Mono", monospace;
    --secondary-font-bold: "Roboto Mono Bold", monospace;
    --secondary-font-regular: "Roboto Mono Regular", monospace; */

    /* Colors */
    --primary-color: #1d1d1d;
    --secondary-light: #ececec;
    --secondary-dark: #bdbdbe;
    --accent-orange: #ce2a1d;
    --accent-blue: #0039a9;
}

@font-face {
    font-family: "Roboto Mono";
    src: url("/fonts/RobotoMono-VariableFont_wght.ttf") format("truetype");
    font-weight: 400; /* Regular */
}

/* ========== GLOBAL STYLES ========== ======== ========== ========== ========== ========== ========== ========== ========== ==========  ========== ==========*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--primary-font);
}

html,
body {
    width: 100%;
    height: 100%;
    /* background: var(--primary-color); */
    /* color: var(--secondary-light);*/
    background: #ececec;
}

/* html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
} */

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure the body takes at least the full viewport height */
}

.row {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0rem;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
}

#main {
    /* background-color: #000; */
    position: relative;
    z-index: 10;
    flex: 1;
}

#main2 {
    /* background-color: #000; */
    position: relative;
    z-index: 10;
    flex: 1;
    pointer-events: none; /* Allow clicks to pass through */
    background: transparent; /* Ensure it's transparent */
}

a {
    text-decoration: none;
}

/* Make the main content area flexible */
main#content {
    flex: 1; /* This makes the main content take up the remaining space */
    /* overflow-y: auto;  */ /* Makes the footer fixed */
    padding: 20px; /* Add padding as needed */
    margin-top: 90px;
}

/* Button Styles */
.btn-primary {
    background: rgba(236, 236, 236, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 0px;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transition: all 0.1s ease; /* Faster transition for snappier effect */
    padding-right: 4rem;
    padding-left: 4rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transform-style: preserve-3d; /* Enable 3D transformations */
    position: relative; /* Required for calculating cursor position */
    overflow: hidden; /* Ensure the content doesn't overflow during transformation */
    transform: translateZ(
        0
    ); /* Enable GPU acceleration for smoother animations */
    font-weight: 700;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--secondary-light);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.5); /* Add a glow effect */
}

/* ========== Preloader ========== ======== ========== ========== ========== ========== ========== ========== ========== ========== ==========  ==========*/
#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #1d1d1d;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden; /* Ensure the preloader doesn't overflow */
}

/* The full-screen card */
#preloader-card {
    width: 100%;
    height: 100%;
    background: #1d1d1d;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #1d1d1d;
    text-align: center;
    overflow: hidden;
}

/* Text fade-in effect */
#preloader-text {
    opacity: 0;
    transition: opacity 0.3s ease-in-out; /* Further reduced fade duration */
    color: #ececec;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Animation to move the preloader upwards */
@keyframes slideUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100%);
    }
}

/* Apply the slide-up animation */
.slide-up {
    animation: slideUp 0.4s ease-in-out forwards; /* Further reduced animation duration */
}

/* ========== Exit Preloader ========== */
#exit-preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #1d1d1d;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transform: translateY(100%); /* Start from the bottom */
    transition: transform 0.4s ease-in-out; /* Smooth and fast slide-up */
}

#exit-preloader.active {
    transform: translateY(0); /* Slide up to cover the page */
}

#exit-preloader-card {
    width: 100%;
    height: 100%;
    background: #1d1d1d;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #ececec;
    text-align: center;
    overflow: hidden;
}

/* ========== Custom Cursor  ========== ======== ========== ========== ========== ========== ========== ========== ========== ==========  ========== ==========*/
#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: white; /* White circle */
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease;
    z-index: 9999;
    mix-blend-mode: difference; /* Invert colors inside the circle */
}

/* Text inside the cursor (hidden by default) */
#cursor-text {
    display: none;
    font-size: 15px;
    font-weight: bold;
    color: white; /* Text color */
    white-space: nowrap; /* Prevent text from wrapping */
}

/* Enlarge the cursor on hover */
a:hover ~ #custom-cursor,
button:hover ~ #custom-cursor,
img:hover ~ #custom-cursor,
h1:hover ~ #custom-cursor,
.glass-card:hover ~ #custom-cursor, /* Add glass-card hover */
h2:hover ~ #custom-cursor {
    /* Add h4 hover */
    width: 60px;
    height: 60px;
}

/* ========== Navigation  ========== ======== ========== ========== ========== ========== ========== ========== ========== ==========  ========== ==========*/
/* Offcanvas Menu */
.offcanvas {
    background: rgba(236, 236, 236, 0.1);
    backdrop-filter: blur(50px);
    box-shadow: -10px 0 20px rgba(0, 0, 0, 0.1);
    width: 300px !important; /* Set the width of the offcanvas */
}

.offcanvas-header {
    border-bottom: 0.5px solid rgba(189, 189, 189, 0.5);
    padding: 20px;
}

.offcanvas-title {
    color: var(--secondary-light);
    font-size: 18px;
}

.offcanvas-body {
    padding: 0;
}

/* Main Menu Styles */
.main-menu ul {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.main-menu ul li {
    border-bottom: 0.1px solid rgba(189, 189, 189, 0.2);
    text-align: left;
    padding: 10px 20px;
}

.main-menu ul li a {
    color: var(--secondary-light);
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 8px 10px;
    border-radius: 5px;
    display: block;
}

.main-menu ul li a:hover {
    color: var(--secondary-light);
    background-color: rgba(236, 236, 236, 0.2);
}

/* Menu Toggle Icon */
.menu-toggle {
    display: block;
    cursor: pointer;
    z-index: 1001;
    position: fixed;
    top: 8px;
    right: 10px;
    color: var(--secondary-light);
    font-size: 18px;
    background: none;
    border: none;
}

/* Header Styles */
.top-header-area {
    /* position: absolute; */
    position: fixed;
    z-index: 999;
    width: 100%;
    padding: 4px 0;
    background: rgba(29, 29, 29, 1);
    backdrop-filter: blur(10px);
}

.site-logo {
    float: left;
    padding: 6px 0;
}

.site-logo img {
    max-width: 150px;
}

/* Change the close button color to #bdbdbe */
.btn-close {
    filter: brightness(0) saturate(100%) invert(82%) sepia(0%) saturate(0%)
        hue-rotate(147deg) brightness(89%) contrast(91%);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .offcanvas {
        width: 100% !important; /* Full width on smaller screens */
    }
}

/* ========== Page Heading  ========== ======== ========== ========== ========== ========== ========== ========== ========== ==========  ========== ==========*/

#page {
    min-height: 10vh;
    width: 100%;
    /* background-color: #efeae3; */
    position: relative;
    padding: 0 2vw;
    background-color: #ececec;
    padding-top: 100px;
    padding-bottom: 50px;
}

/* Mobile Portrait (below 576px) */
@media (max-width: 767px) {
    #page {
        padding-top: 40px;
        padding-bottom: 10px;
    }
}

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

/* Section Heading */
.section-heading {
    width: 100%;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding-bottom: 20px;
    padding-top: 20px;
}

.section-title {
    font-family: var(--primary-font);
    font-weight: 500;
    letter-spacing: -0.06em;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
}

.accent-dot {
    color: #ce2a1d;
}

/* Responsive Typography using Media Queries */

/* Desktop (Default) */
.section-title {
    font-size: 3.5vw;
    line-height: 1.2;
}

/* For very large screens (over 1600px) */
@media (min-width: 1600px) {
    .section-title {
        font-size: 3.5rem;
        max-width: 600px;
    }
}

/* Large Desktop (1200px - 1599px) */
@media (max-width: 1599px) and (min-width: 1200px) {
    .section-title {
        font-size: 3.5vw;
        max-width: 500px;
    }
}

/* Tablet Landscape (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .section-title {
        font-size: 2.8rem;
        line-height: 1.1;
    }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .section-title {
        font-size: 2.4rem;
        line-height: 1.1;
        width: 100%;
        max-width: 100%;
    }

    .section-heading {
        margin-bottom: 30px;
        padding-bottom: 15px;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) and (min-width: 576px) {
    .section-title {
        font-size: 2rem;
        line-height: 1.1;
        letter-spacing: -0.04em;
    }

    .section-heading {
        margin-bottom: 25px;
        padding-bottom: 12px;
    }
}

/* Mobile Portrait (below 576px) */
@media (max-width: 575px) {
    .section-title {
        font-size: 1.8rem;
        line-height: 1.1;
        letter-spacing: -0.03em;
    }

    .section-heading {
        margin-bottom: 20px;
        padding-bottom: 10px;
        padding-top: 15px;
    }
}

/* Extra Small Mobile (below 375px) */
@media (max-width: 374px) {
    .section-title {
        font-size: 1.6rem;
    }
}

/* ========== Footer DESIGN  ========== ======== ========== ========== ========== ========== ========== ========== ========== ==========  ========== ==========*/
#footer {
    /* position: fixed; */
    height: 105vh;
    width: 100%;
    background-color: var(--primary-color);
    color: #fff;
    bottom: 0;
    display: flex;
    /* align-items: flex-end; */
    justify-content: flex-end;
    flex-direction: column;
    padding: 1vw 3vw;

    pointer-events: auto; /* Ensure footer is clickable */
}

footer {
    border-top: 0.5px solid #ececec;
    color: #bdbdbe;
    padding: 15px 20px;
    width: 100%;
    flex-shrink: 0; /* Prevent the footer from shrinking */
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1250px;
    margin: 0 auto;
    margin-bottom: 15px;
}

.footer-text {
    font-size: 1.1rem;
}

.footer-icons {
    display: flex;
    gap: 15px;
}

.footer-icons a {
    color: var(--secondary-light);
    font-size: 23px;
    transition: color 0.3s ease;
}

.footer-icons a:hover {
    color: #ececec; /* Change to your preferred hover color */
}

/* Responsive Design */
@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        margin-bottom: 0px;
    }
}

/* ========== Glassmorphism for details in Footer   ========== ======== ========== ========== ========== ========== ========== ========== ========== ==========  ========== ==========*/
.contact-form-wrap {
    background: rgba(236, 236, 236, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 5px;
    border: 1px solid rgba(236, 236, 236, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.contact-form-wrap:hover {
    background: rgba(236, 236, 236, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.5);
}

.contact-form-box h4 {
    font-size: 1.5rem;
    font-family: var(--primary-font-bold);
    color: var(--secondary-light);
    margin-bottom: 10px;
    font-weight: bold;
}

.contact-form-box p {
    font-size: 1rem;
    font-family: "Roboto Mono", monospace;
    color: var(--secondary-light);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        margin-bottom: 0px;
    }
}

.cart-link {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-orange);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: "Roboto Mono", monospace;
}
