/* تعریف فونت Happiness */
@font-face {
    font-family: 'Happiness';
    src: url('../fonts/happiness/happiness.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* تعریف فونت MontserratRegular */
@font-face {
    font-family: 'MontserratRegular';
    src: url('../fonts/montserrat/static/Montserrat-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* تعریف فونت CanelaTrialLight */
@font-face {
    font-family: 'CanelaTrialLight';
    src: url('../fonts/canelaTrial/Canela-Light-Trial.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* تعریف فونت minion */
@font-face {
    font-family: 'Minion';
    src: url('../fonts/minion/MinionPro-Medium.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.5;
}

.container {
    max-width: 1700px;
    margin: 0 auto;
}

/* ==================== ردیف بالایی (برند چپ / دکمه راست) ==================== */
.top-bar {
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    z-index: 1001;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.top-bar.scrolled {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    margin-top: 2px;
}

.brand a {
    color: #fff;
    font-size: 17px;
    text-decoration: none;
    font-family: 'Happiness', 'Inter', sans-serif;
    letter-spacing: 1px;
}

.left-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-right {
    display: none;
}

.location-selector {
    position: relative;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.3rem 0;
}

.location-selector .fa-globe {
    font-size: 1.4rem;
}

.selected-lang {
    font-size: 14px;
    font-weight: 100;
    color: #fff;
}

.location-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #111;
    backdrop-filter: blur(8px);
    min-width: 150px;
    padding: 0.5rem 0;
    border-radius: 8px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1002;
}

.location-selector:hover .location-dropdown {
    opacity: 1;
    visibility: visible;
}

.location-dropdown li a {
    display: block;
    padding: 0.5rem 1rem;
    color: #ddd;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.2s;
}

.location-dropdown li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.hamburger {
    display: none;
}

/* ==================== خط جداکننده اول (بالای منو) ==================== */
.nav-divider {
    width: 100%;
    margin: 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
}

/* ==================== منوی اصلی وسط‌چین ==================== */
.main-nav {
    width: 100%;
    background-color: transparent;
    z-index: 999;
}

.main-nav .container {
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 15px;
    margin: 0;
    padding: 0.5rem 0;
}

.nav-menu>li>a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    opacity: 0.85;
    transition: opacity 0.2s;
    position: relative;
    font-size: 14px;
}

.nav-menu>li>a:hover {
    opacity: 1;
}

/* ========== افکت شیشه‌ای و خط طلایی ========== */
.nav-menu>li>a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    transition: width 0.3s ease;
    z-index: -1;
}

.nav-menu>li>a:hover::before,
.nav-menu>li.active>a::before {
    width: 100%;
}

.nav-menu>li>a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #c5a27e;
    transition: width 0.3s ease;
}

.nav-menu>li>a:hover::after,
.nav-menu>li.active>a::after {
    width: 100%;
}

/* ==================== مگامنوی تمام عرض (اصلاح شده برای جلوگیری از زوم) ==================== */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-top: 1px solid #333;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 998;
}

.mega-dropdown.active .mega-menu {
    opacity: 1;
    visibility: visible;
}

.mega-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    gap: 2rem;
    font-family: 'MontserratRegular', 'Inter', sans-serif;
}

.mega-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 45px;
    margin-bottom: 60px;
    text-align: center;
}

.mega-col h4 {
    color: #c5a27e;
    margin-bottom: 30px;
    font-size: 14px;
    text-align: left;
    margin-left: 25px;
    width: 100%;
}

.mega-col a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.8rem;
    padding: 0.3rem 0;
    transition: color 0.2s;
    position: relative;
    display: inline-block;
    margin-left: 25px;
}

.mega-col a:hover {
    color: #fff;
}

.mega-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #c5a27e;
    transition: width 0.3s ease;
}

.mega-menu a:hover::after {
    width: 100%;
}

.mega-menu a::before {
    display: none !important;
}

/* ==================== خط جداکننده پایینی ==================== */
.nav-divider-bottom {
    width: 100%;
    margin: 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 999;
}

/* اوورلی شیشه‌ای */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 996;
    opacity: 0;
    transition: height 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1), opacity 0.3s ease;
    pointer-events: auto;
}

.menu-overlay.active {
    height: 121px;
    opacity: 1;
}

/* ==================== بخش Hero ==================== */
.hero {
    min-height: 100vh;
    position: relative;
}

/* ==================== لایه شیشه‌ای ثابت ==================== */
.glass-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    z-index: 995;
    pointer-events: none;
}

/* ==================== نشانگر سفارشی ماوس ==================== */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #fff;
    mix-blend-mode: difference;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease;
    will-change: transform;
}

.custom-cursor.megamenu-hover {
    width: 150px !important;
    height: 150px !important;
    background-color: transparent !important;
    border: 2px solid #888 !important;
    mix-blend-mode: normal !important;
}

body {
    cursor: none;
}

a,
button,
.btn-primary,
.nav-menu>li>a,
.location-selector {
    cursor: pointer;
}

.custom-cursor .cursor-canvas {
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    display: none;
    pointer-events: none;
}

.custom-cursor.megamenu-hover .cursor-canvas {
    display: block;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    background-color: transparent;
}

.site-header.hide-header {
    transform: translateY(-100%);
}

/* ==================== شبکه‌های اجتماعی افقی ==================== */
.social-bar {
    position: absolute;
    bottom: 30px;
    right: 120px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.social-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    color: #c5a27e;
    transform: translateY(-2px);
}

.social-label {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    opacity: 0.8;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    padding-left: 20px;
    line-height: 1;
}

/* ==================== سایر بخش‌های سایت ==================== */
/* Revolutionary Surface */
.revolutionary-section {
    padding: 100px 0;
    background-color: rgb(237, 233, 228);
    text-align: center;
    position: relative;
}

.revolutionary-content {
    max-width: 800px;
    margin: 0 auto;
}

/* .rev-title {
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #5a5a5a;
    letter-spacing: -0.02em;
    font-family: 'Minion', 'Inter', sans-serif;
    font-size: 64px;
} */

.rev-divider {
    width: 130px;
    height: 2px;
    background-color: #c5a27e;
    margin: 1.5rem auto;
}

/* Video Section */
.video-section {
    background-color: #212322;
    width: 100%;
    position: relative;
}

.video-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 0;
    max-width: 1300px;
    margin: 0 auto;
}

.section-video {
    display: block;
    width: 90%;
    max-width: 1300px;
    height: auto;
    max-height: 90vh;
    margin: 0 auto;
}

.video-cta-button {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #c5a27e;
    border: 1px solid #c5a27e;
    padding: 10px 30px;
    text-decoration: none;
    border-radius: 40px;
    transition: all 0.3s ease;
    z-index: 2;
    font-family: 'CanelaTrialLight', 'Inter', sans-serif;
}

.cta-label {
    font-family: 'CanelaTrialLight', 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #212322;
    letter-spacing: 1px;
}

.cta-icon {
    width: 20px;
    height: 20px;
    color: black;
    transition: transform 0.2s ease;
}

.video-cta-button:hover {
    background-color: #d1d1d1;
    border-color: #d1d1d1;
}

.video-cta-button:hover .cta-icon {
    transform: translateX(4px);
}

/* Image Text Section */
.image-text-section {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.image-text-container {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.content-overlay {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 0;
}

.mpl-logo {
    max-width: 180px;
    height: auto;
    display: inline-block;
    margin-bottom: 10px;
    opacity: 0.8;
    /* عدد بین 0 (کاملاً شفاف) تا 1 (کاملاً کدر) */
    transition: opacity 0.3s ease;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 10px 30px;
    background-color: #c5a27e;
    border: 1px solid #c5a27e;
    transition: all 0.3s ease;
    border-radius: 40px;
    font-family: 'CanelaTrialLight', 'Inter', sans-serif;
}

.link-label {
    font-family: 'CanelaTrialLight', 'Inter', sans-serif;
    letter-spacing: 1px;
    font-size: 1rem;
    font-weight: 600;
    color: #212322;
}

.link-icon {
    width: 20px;
    height: 20px;
    color: black;
    transition: transform 0.2s ease;
}

.cta-link:hover {
    background-color: #d1d1d1;
    border-color: #d1d1d1;
}

.cta-link:hover .link-icon {
    transform: translateX(5px);
}

/* Two Columns Section */
.two-columns-section {
    width: 100%;
    background-color: #000;
}

.two-col-container {
    display: flex;
    flex-wrap: wrap;
}

.col-item {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.col-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.col-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.3);
}

.col-title {
    font-family: 'minion';
    font-size: 50px;
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #cccccc;
    font-family: 'minion';
    font-size: 40px;
}

.marmonite-pro-logo {
    max-width: 370px;
    height: auto;
    display: inline-block;
    margin-bottom: 30px;
}

.marmonite-logo {
    max-width: 300px;
    height: auto;
    display: inline-block;
    margin-bottom: 10px;
}

.col-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 10px;
    background-color: #c5a27e;
    border: 1px solid #c5a27e;
    transition: all 0.3s ease;
    border-radius: 40px;
    font-family: 'CanelaTrialLight', 'Inter', sans-serif;
}

.btn-label {
    font-family: 'CanelaTrialLight', 'Inter', sans-serif;
    letter-spacing: 1px;
    font-size: 1rem;
    font-weight: 600;
    color: #212322;
}

.col-button:hover {
    background-color: #d1d1d1;
    border-color: #d1d1d1;
}

.col-button:hover .btn-icon {
    transform: translateX(5px);
}

/* Footer */
.site-footer {
    background-color: #0a0a0a;
    color: #ccc;
    padding: 60px 0 30px;
    font-size: 0.9rem;
    border-top: 1px solid #1f1f1f;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-header {
    margin-bottom: 40px;
    text-align: center;
}

.footer-logo-svg {
    width: 200px;
    height: auto;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-bottom: 50px;
}

.footer-col-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
    font-family: 'minion';
    text-transform: uppercase;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.7rem;
}

.footer-menu a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.85rem;
    font-family: 'MontserratRegular';
}

.footer-menu a:hover {
    color: #c5a27e;
}

.footer-contact {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.contact-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 40px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.contact-wrapper:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #c5a27e;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

.contact-text h3 {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    color: #fff;
}

.contact-text span {
    font-size: 0.75rem;
    color: #c5a27e;
    display: block;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid #1f1f1f;
    padding-top: 25px;
    margin-top: 20px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.75rem;
    color: #777;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: #777;
    text-decoration: none;
    transition: color 0.2s;
}

.legal-links a:hover {
    color: #c5a27e;
}

/* Animated Footer Text */
.footer-animated-text {
    text-align: center;
    margin: 0 auto 60px auto;
    width: 100%;
    overflow: visible;
}

.animated-word {
    display: inline-block;
    font-family: 'Tahoma', 'Inter', sans-serif;
    font-size: 8rem;
    letter-spacing: 0.01em;
    line-height: 1.2;
    -webkit-text-stroke: 1px rgb(218, 215, 213);
    color: transparent;
    background: linear-gradient(90deg, #0a0a0a 0%, #0a0a0a 42%, rgb(237, 233, 228) 42%, rgb(237, 233, 228) 58%, #0a0a0a 58%, #0a0a0a 100%);
    background-size: 300% 100%;
    background-repeat: no-repeat;
    background-clip: text;
    -webkit-background-clip: text;
    animation: sweepHold 60s cubic-bezier(0.25, 0.1, 0.2, 1) infinite;
}

@keyframes sweepHold {
    0% {
        background-position: -300% 0;
    }

    20% {
        background-position: 100% 0;
    }

    45% {
        background-position: 100% 0;
    }

    60% {
        background-position: 200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Power Section */
.power-section {
    background-color: #f5f2ef;
    padding: 80px 0;
    text-align: center;
}

.power-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.power-title {
    font-size: 2.8rem;
    font-weight: 600;
    color: #212322;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

.power-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 2px;
    background-color: #c5a27e;
    margin: 15px auto 0;
}

.power-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #3a3a3a;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.power-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #212322;
    color: #fff;
    padding: 12px 28px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 1px solid #212322;
}

.power-button:hover {
    background-color: #c5a27e;
    border-color: #c5a27e;
    color: #fff;
}

.power-button-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.power-button:hover .power-button-icon {
    transform: translateX(4px);
}

/* Imagination Section */
.imagination-section {
    background-color: #f5f2ef;
    padding: 80px 0;
}

.imagination-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.imagination-header {
    text-align: center;
    margin-bottom: 60px;
}

.imagination-title {
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1.3;
    color: #212322;
    margin: 0;
}

.imagination-title em {
    font-style: normal;
    font-weight: 700;
    color: #c5a27e;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.card-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    cursor: pointer;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-title {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.card-button {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 8px 24px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.card-button:hover {
    background-color: #c5a27e;
    border-color: #c5a27e;
}

.card-item:hover img {
    transform: scale(1.05);
}

.card-item:hover .card-overlay {
    opacity: 1;
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Case Study */
.casestudy-section {
    position: relative;
    width: 100%;
    min-height: 700px;
    background-image: linear-gradient(to top, rgba(47, 47, 47, 0) 0%, rgba(8, 8, 8, 0.875) 61%, rgb(15, 15, 15) 100%), url('../image/1ss.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 8%;
}

.casestudy-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: left;
    color: #fff;
    animation: fadeInUp 0.8s ease-out;
}

.casestudy-badge {
    letter-spacing: 2px;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
    font-family: 'MontserratRegular';
    font-size: 52px;
    text-transform: uppercase;
}

.casestudy-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.casestudy-description {
    line-height: 1.5;
    margin-bottom: 2rem;
    max-width: 550px;
    font-family: 'MontserratRegular';
    font-size: 25px;
    text-align: justify;

}

.casestudy-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    background-color: #c5a27e;
    border: 1px solid #c5a27e;
    padding: 8px 10px;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 40px;
    font-family: 'CanelaTrialLight', 'Inter', sans-serif;
    margin-top: 45px;
}

.casestudy-button:hover {
    background-color: #d1d1d1;
    border-color: #d1d1d1;
}


.casestudy-button .btn-icon {
    width: 18px;
    height: 18px;
    color: black;
    transition: transform 0.2s ease;
}

.casestudy-tag {
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-size: 0.8rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 14px;
    border-radius: 30px;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Colour Collection */
.colour-collection {
    background-color: #f5f2ef;
    padding: 80px 0;
}

.colour-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 60px;
    flex-direction: row;
}

.colour-info {
    flex: 1;
    text-align: left;
}

.colour-title {
    font-size: 3rem;
    font-weight: 600;
    color: #212322;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.colour-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #212322;
    color: #fff;
    padding: 12px 28px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 1px solid #212322;
}

.colour-button:hover {
    background-color: #c5a27e;
    border-color: #c5a27e;
}

.colour-btn-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.colour-button:hover .colour-btn-icon {
    transform: translateX(4px);
}

.colour-image {
    flex: 1;
    overflow: hidden;
}

.colour-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.colour-image:hover img {
    transform: scale(1.02);
}

/* Infinite Slider */
.inspire-slider-section {
    background-color: #f5f2ef;
    padding: 80px 0 100px;
    text-align: center;
    overflow-x: hidden;
}

.inspire-header {
    margin-bottom: 50px;
    padding: 0 2rem;
}

.inspire-subtitle {
    font-size: 1rem;
    letter-spacing: 2px;
    color: #c5a27e;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.inspire-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #212322;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.2;
}

.infinite-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.slide {
    width: 450px;
    height: 550px;
    flex-shrink: 0;
    margin-right: 0;
}

.slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    pointer-events: none;
}

/* Final CTA Section */
.final-cta-section {
    background-color: #f5f2ef;
    text-align: center;
}

.final-cta-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 2rem 60px;
}

.final-cta-title {
    font-size: 2.8rem;
    font-weight: 600;
    color: #212322;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.final-cta-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #212322;
    color: #fff;
    padding: 12px 28px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 1px solid #212322;
}

.final-cta-button:hover {
    background-color: #c5a27e;
    border-color: #c5a27e;
}

.cta-btn-icon {
    width: 18px;
    height: 18px;
    color: black;
    transition: transform 0.2s ease;
}

.final-cta-button:hover .cta-btn-icon {
    transform: translateX(4px);
}

.final-cta-image {
    width: 100%;
    line-height: 0;
    margin-bottom: -6px;
}

.final-cta-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Main Nav Scrolled */
.main-nav.scrolled {
    background-color: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

/* Text Transform */
.main-nav,
.main-nav * {
    text-transform: uppercase;
}

/* Hero Discover Button */
.hero-discover-btn {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #c5a27e;
    border: 1px solid #c5a27e;
    padding: 10px 30px;
    text-decoration: none;
    border-radius: 40px;
    z-index: 25 !important;
    transition: all 0.3s ease;
    font-family: 'CanelaTrialLight', 'Inter', sans-serif;
}

.hero-discover-btn .btn-label {
    font-family: 'CanelaTrialLight', 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #212322;
    letter-spacing: 1px;
}

.hero-discover-btn .btn-icon {
    width: 18px;
    height: 18px;
    color: black;
    transition: transform 0.2s ease;
}

.hero-discover-btn:hover {
    background-color: #d1d1d1;
    border-color: #d1d1d1;
}

.hero-discover-btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Products Slider */
.marmonite-products-slider {
    background-color: #f5f2ef;
    padding: 80px 0;
    width: 100%;
    overflow-x: hidden;
    border-bottom: 5px solid black;
    border-top: 5px solid black;
}

.marmonite-products-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.slider-two-columns {
    display: flex;
    flex-direction: row;
    gap: 60px;
    align-items: flex-start;
}

.brands-filter-col {
    flex: 0 0 220px;
}

.brands-filter-sticky {
    position: sticky;
    top: 120px;
}

.brands-filter-title {
    font-size: 13px;
    letter-spacing: 2px;
    color: #6c6c6c;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 500;
    font-family: 'minion';
}

.brands-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.brand-item {
    font-size: 20px;
    font-weight: 300;
    color: #888;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
    line-height: 1.2;
    font-family: 'minion';
}

.brand-item.active,
.brand-item:hover {
    color: #212322;
    font-weight: 500;
}

.slider-content-col {
    flex: 1;
    min-width: 0;
}

.slider-top-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.slider-progress-wrapper {
    width: 150px;
    height: 1px;
    background-color: #ccc;
}

.slider-progress-bar {
    height: 100%;
    width: 0%;
    background-color: #b87c4f;
    transition: width 0.3s ease;
}

.slider-arrows {
    display: flex;
    gap: 8px;
}

.slider-arrow {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #212322;
    padding: 0;
    display: flex;
    align-items: center;
    transition: opacity 0.2s;
}

.slider-arrow:hover {
    opacity: 0.6;
}

.marmonite-products-swiper {
    overflow: hidden;
    width: 100%;
}

.product-card {
    display: block;
    text-decoration: none;
    background: #fff;
    max-width: 260px;
    margin: 0 auto;
    transition: transform 0.2s;
    font-family: 'MontserratRegular';
    border: 5px solid rgba(90, 90, 90, 0.2);
    border-radius: 5px;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    aspect-ratio: 1 / 1.2;
    overflow: hidden;
    background-color: #eaeaea;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.03);
}

.product-name {
    font-size: 12px;
    font-weight: 500;
    color: #212322;
    text-align: center;
    margin: 15px 0 5px;
}

.product-view {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #212322;
    margin-bottom: 10px;
}

.product-view svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
}

.product-card:hover .product-view svg {
    transform: translateX(4px);
}

.swiper-pagination-bullet {
    background-color: #ccc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: #b87c4f;
}

.section-heading {
    font-family: 'minion';
    font-size: 50px;
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #cccccc;
}

/* Responsive */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .imagination-title {
        font-size: 2.2rem;
    }

    .colour-title {
        font-size: 2.5rem;
    }

    .colour-container {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .mega-container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .mega-col {
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .social-bar {
        bottom: 20px;
        right: 20px;
        padding: 6px 16px;
        gap: 12px;
    }

    .social-icons {
        gap: 12px;
    }

    .social-icon {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }

    .social-label {
        font-size: 0.6rem;
        padding-left: 12px;
    }

    .revolutionary-section {
        padding: 60px 0;
    }

    .rev-title {
        font-size: 2rem;
    }

    .rev-subtitle {
        font-size: 1rem;
    }

    .rev-divider {
        width: 40px;
        margin: 1rem auto;
    }

    .video-container {
        padding: 50px 0;
    }

    .video-cta-button {
        padding: 6px 20px;
        bottom: 10%;
    }

    .cta-label {
        font-size: 0.8rem;
    }

    .cta-icon {
        width: 16px;
        height: 16px;
        color: black;
    }

    .image-text-container {
        min-height: 400px;
    }

    .content-overlay {
        padding: 1.5rem;
        width: 90%;
    }

    .cta-link {
        font-size: 0.9rem;
        gap: 8px;
    }

    .link-icon {
        width: 16px;
        height: 16px;
    }

    .two-col-container {
        flex-direction: column;
    }

    .col-item {
        min-height: 400px;
    }

    .col-title {
        font-size: 1.8rem;
    }

    .mpl-logo,
    .marmonite-pro-logo,
    .marmonite-logo {
        max-width: 120px;
    }

    .footer-columns {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1.5rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .legal-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-contact {
        justify-content: center;
        margin-top: 1rem;
    }

    .animated-word {
        font-size: 2.2rem;
        -webkit-text-stroke: 1.5px rgb(237, 233, 228);
    }

    .power-section {
        padding: 50px 0;
    }

    .power-title {
        font-size: 2rem;
    }

    .power-text {
        font-size: 1rem;
    }

    .power-button {
        padding: 10px 20px;
    }

    .imagination-section {
        padding: 50px 0;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .imagination-title {
        font-size: 1.8rem;
    }

    .card-title {
        font-size: 1.5rem;
    }

    .casestudy-section {
        min-height: 70vh;
        background-attachment: scroll;
        padding: 0 5%;
    }

    .casestudy-title {
        font-size: 2rem;
    }

    .casestudy-description {
        font-size: 1rem;
    }

    .casestudy-button {
        padding: 8px 20px;
        font-size: 0.8rem;
    }

    .casestudy-tag {
        bottom: 20px;
        right: 20px;
        font-size: 0.7rem;
    }

    .colour-collection {
        padding: 50px 0;
    }

    .colour-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .colour-info {
        text-align: center;
    }

    .colour-title {
        font-size: 2rem;
    }

    .colour-button {
        padding: 10px 24px;
    }

    .slide {
        width: 280px;
        height: 342px;
    }

    .final-cta-container {
        padding: 50px 1.5rem 40px;
    }

    .final-cta-title {
        font-size: 1.8rem;
    }

    .final-cta-text {
        font-size: 1rem;
    }

    .hero-discover-btn {
        padding: 6px 20px;
        bottom: 5%;
    }

    .hero-discover-btn .btn-label {
        font-size: 0.8rem;
    }

    .marmonite-products-slider {
        padding: 50px 0;
    }

    .slider-two-columns {
        flex-direction: column;
        gap: 30px;
    }

    .brands-filter-col {
        flex: auto;
        width: 100%;
    }

    .brands-filter-sticky {
        position: static;
    }

    .brands-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
    }

    .brand-item {
        font-size: 20px;
    }

    .slider-top-nav {
        justify-content: flex-end;
    }

    .product-card {
        max-width: 220px;
    }

    .btn-marmonite {
        padding: 8px 24px;
        font-size: 0.75rem;
    }

    .btn-marmonite .btn-icon {
        width: 16px;
        height: 16px;
        color: black;
    }
}

/* Responsive adjustments for 1200px */
@media (max-width: 1200px) {
    .mega-col {
        min-width: 140px;
    }
}

.icon-globe-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #fff;
    /* رنگ سفید - مطابق با منو */
}

.icon-globe-outline svg {
    width: 100%;
    height: 100%;
}

/* در صورت نیاز به تغییر رنگ در حالت هاور */
.location-selector:hover .icon-globe-outline {
    color: #c5a27e;
    /* طلایی برند */
}

.fa-chevron-down {
    font-size: 10px;
}

.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* فاصله بین دو بخش */
    align-items: center;
    text-align: center;
    padding: 2rem;
    z-index: 2;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0;
}

.content-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    /* عنوان را در وسط این بخش قرار می‌دهد */
}

.button-wrapper {
    margin-bottom: 30px;
    /* فاصله دکمه از پایین - قابل تنظیم */
}

/* حذف margin-top از .cta-link */
.cta-link {
    /* استایل قبلی را حفظ کنید، اما margin-top را بردارید */
    margin-top: 0;
}

/* تنظیمات برای کادر مورد نظر */
.col-item {
    position: relative;
    /* مبنا برای دکمه مطلق */
    display: flex;
    flex-direction: column;
    height: 100%;
    /* اگر ارتفاع والد مشخص نیست، می‌توانید min-height: 500px بدهید */
}

.col-content {
    flex: 1;
    /* کل فضای موجود را می‌گیرد */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* عنوان در مرکز عمودی */
    align-items: center;
    text-align: center;
    padding: 20px;
}

.button-wrapper-pro {
    position: absolute;
    bottom: 30px;
    /* فاصله از پایین - هر عدد دلخواه */
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

/* حالت پیش‌فرض همه لوگوها: نامرئی با جابجایی جزئی */
.mpl-logo,
.marmonite-logo,
.marmonite-pro-logo {
    opacity: 0;
    transform: translateY(20px);
    transition: none;
}

/* کلاس فعال برای اجرای انیمیشن (فقط یک بار) */
.mpl-logo.animate-logo,
.marmonite-logo.animate-logo,
.marmonite-pro-logo.animate-logo {
    animation: fadeInUp 5s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* افکت زوم برای تصاویر بخش MPL */
.image-text-container:hover .bg-img {
    transform: scale(1.05);
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

/* افکت زوم برای تصاویر دو کادر (Marmonite Pro و Marmonite) */
.col-item:hover .cover-img {
    transform: scale(1.05);
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

/* تنظیمات اولیه تصاویر برای اطمینان از transition روان */
.bg-img,
.cover-img {
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    will-change: transform;
}

.main-title {
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #5a5a5a;
    letter-spacing: -0.02em;
    font-family: 'Minion', 'Inter', sans-serif;
    font-size: 64px;
}

.main-subtitle {
    font-family: 'MontserratRegular', 'Inter', sans-serif;
    font-size: 21px;
    line-height: 1.6;
    color: #5a5a5a;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* تنظیم کادر هر کارت */
.card-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    /* نسبت عرض به ارتفاع ۳ به ۴ */
}

/* محفظه تصویر */
.card-image {
    width: 100%;
    height: 100%;
}

/* خود تصویر */
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* بدون کشیدگی، برش می‌خورد تا فضا پر شود */
    display: block;
}

.casestudy-button .btn-icon {
    color: black;
}

/* ==================== استایل آیکون‌های شبکه‌های اجتماعی با تصویر ==================== */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;  /* تصویر بدون کشیدگی در کادر قرار می‌گیرد */
    display: block;
}

.social-icon:hover {
    transform: translateY(-3px);
    opacity: 0.85;
}

/* ==================== ویدیوی متحرک فوتر ==================== */
.footer-animated-video {
    text-align: center;
    margin: 0 auto 60px auto;
    width: 100%;
    overflow: hidden;
}

.footer-video {
    width: 100%;           /* عرض دلخواه - می‌توانید به px یا درصد تغییر دهید */
    max-width: 800px;      /* حداکثر عرض (اختیاری، برای کنترل اندازه) */
    height: auto;          /* ارتفاع خودکار بر اساس عرض */
    display: inline-block;
    border-radius: 0;      /* در صورت نیاز گردی گوشه */
    /* در صورت نیاز به ابعاد ثابت:
       width: 600px;
       height: 150px;
       object-fit: cover;
    */
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .footer-video {
        width: 90%;
        max-width: 500px;
    }
}

