/* ========== ROOT VARIABLES ========== */
:root {
    /* === COLORS — Luxury Industrial palette === */
    --primary-color: #C9A96E;
    --primary-dark: #B8954F;
    --primary-light: #D4BC8A;
    --gold-light: #E8D5B0;
    --gold-dark: #A88B4A;

    --navy-900: #0A1628;
    --navy-800: #0F1F36;
    --navy-700: #162A46;
    --navy-600: #1E3A5F;

    --dark-900: #0A1628;
    --dark-800: #0F1F36;
    --dark-700: #2C3E57;
    --dark-600: #4A5D78;

    --gray-100: #F5F0E8;
    --gray-200: #E8E0D4;
    --gray-300: #CFC5B5;
    --gray-400: #9B9082;
    --gray-600: #4B5563;
    --gray-800: #1F2937;

    --cream: #F5F0E8;
    --cream-light: #FAF7F2;
    --cream-dark: #EBE4D8;

    --white: #FFFFFF;
    --black: #000000;

    /* === GRADIENTS === */
    --gradient-primary: linear-gradient(135deg, #C9A96E 0%, #A88B4A 100%);
    --gradient-secondary: linear-gradient(135deg, #0A1628 0%, #162A46 100%);
    --gradient-accent: linear-gradient(135deg, #C9A96E 0%, #E8D5B0 100%);
    --gradient-dark: linear-gradient(135deg, #0A1628 0%, #0F1F36 100%);
    --gradient-hero: linear-gradient(160deg, #0A1628 0%, #162A46 55%, #1E3A5F 100%);

    /* === TYPOGRAPHY === */
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'DM Serif Display', Georgia, 'Times New Roman', serif;

    /* Typography Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Line Heights */
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;

    /* === SPACING SCALE === */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Section-specific (legacy - will migrate to spacing scale) */
    --section-padding: 120px;
    --container-width: 1280px;

    /* === BREAKPOINTS === */
    --bp-xs: 375px;
    --bp-sm: 640px;
    --bp-md: 768px;
    --bp-lg: 1024px;
    --bp-xl: 1280px;

    /* === SHADOWS — warmer tones === */
    --shadow-sm: 0 1px 3px 0 rgba(10, 22, 40, 0.06);
    --shadow-md: 0 4px 12px -2px rgba(10, 22, 40, 0.08);
    --shadow-lg: 0 12px 24px -4px rgba(10, 22, 40, 0.1);
    --shadow-xl: 0 20px 40px -8px rgba(10, 22, 40, 0.12);
    --shadow-2xl: 0 32px 64px -16px rgba(10, 22, 40, 0.2);
    --shadow-gold: 0 8px 32px -4px rgba(201, 169, 110, 0.25);

    /* === TRANSITIONS === */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* === BORDER RADIUS === */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.25rem;
    --radius-full: 9999px;

    /* === Z-INDEX SCALE === */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-popover: 500;
}

/* ========== RESET & BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-700);
    background-color: var(--cream-light);
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Mobile menu backdrop */
body.menu-open::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 1;
    transition: opacity 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition-base);
}

input,
textarea,
select {
    font-family: inherit;
    width: 100%;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    padding: 0.875rem 1.125rem;
    font-size: 1rem;
    transition: var(--transition-base);
    background: var(--white);
    color: var(--dark-900);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

/* ========== UTILITIES ========== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--section-padding) 0;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-weight: 600;
    font-size: var(--text-sm);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--navy-900);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px -6px rgba(201, 169, 110, 0.35);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--dark-900);
    color: var(--dark-900);
}

.btn-outline:hover {
    background: var(--dark-900);
    color: var(--cream-light);
}

.btn-white {
    background: var(--white);
    color: var(--navy-900);
    font-weight: 700;
}

.btn-white:hover {
    background: var(--cream-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-outline-white {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.6);
    color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--navy-900);
    border-color: var(--white);
}

.btn-large {
    padding: var(--space-4) var(--space-10);
    font-size: var(--text-base);
}

.btn-sm {
    padding: var(--space-2) var(--space-5);
    font-size: var(--text-xs);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.btn-icon:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ========== HEADER & NAVIGATION ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(201, 169, 110, 0.08);
    transition: all var(--transition-base);
}

.header.scroll-header {
    background: rgba(10, 22, 40, 0.97);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav__logo {
    display: flex;
    flex-direction: column;
    font-family: var(--font-heading);
    font-weight: 800;
}

.logo-image {
    height: 80px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 1.5rem;
    color: var(--primary-color);
    line-height: 1;
}

.logo-subtext {
    font-size: 0.75rem;
    color: var(--gray-400);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.footer-logo-image {
    height: 70px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    display: block;
    margin-bottom: 1rem;
}

.nav__menu {
    display: flex;
    align-items: center;
}

.nav__list {
    display: flex;
    gap: 2.5rem;
}

.nav__link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    font-size: 0.875rem;
    letter-spacing: 0.03em;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width var(--transition-base);
}

.nav__link:hover {
    color: var(--primary-color);
}

.nav__link:hover::after,
.nav__link.active-link::after {
    width: 100%;
}

.nav__link.active-link {
    color: var(--primary-color);
}

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

.nav__toggle,
.nav__close {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__content {
    z-index: 2;
}

.hero__tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(201, 169, 110, 0.12);
    color: var(--primary-color);
    border: 1px solid rgba(201, 169, 110, 0.25);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 3.75rem;
    font-weight: 400;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.75rem;
}

.hero__description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.85;
    margin-bottom: 2.5rem;
    max-width: 540px;
    font-weight: 300;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero__buttons .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.hero__buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.hero__buttons .btn:not(.btn-full) {
    flex: 1 1 calc(50% - 0.5rem);
}

/* Desktop: Reduce button width by 10% */
@media (min-width: 1024px) {
    .hero__buttons .btn:not(.btn-full) {
        flex: 1 1 calc(45% - 0.5rem);
        max-width: 45%;
    }

    .hero__buttons .btn-full {
        flex: 1 1 93%;
        width: 93%;
        max-width: 93%;
    }
}

.hero__buttons .btn-full {
    flex: 1 1 100%;
    width: 100%;
    justify-content: center;
}

.hero__stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: center;
    position: relative;
}

.stat + .stat::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(201, 169, 110, 0.2);
}

.stat__number {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 400;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 0.4rem;
    word-wrap: break-word;
}

.stat__label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
}

.hero__image {
    position: relative;
    z-index: 2;
}

.hero__image-wrapper {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.hero__img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-2xl);
}

/* New Gallery Layout */
.hero__image-gallery {
    position: relative;
    width: 100%;
    min-height: 700px;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 2.5rem;
    margin-top: -3rem;
}

.hero__gallery-item {
    position: relative;
}

.hero__gallery-item--large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    z-index: 3;
}

.hero__gallery-item--medium {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    z-index: 2;
}

.hero__gallery-item--small {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    z-index: 1;
    max-width: 85%;
    margin-left: -5%;
    margin-top: 0;
    align-self: start;
}

.hero__gallery-card {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 250px;
    border-radius: var(--radius-2xl);
    background: transparent;
    padding: 0.5rem;
    overflow: visible;
    transition: transform var(--transition-base);
}

.hero__gallery-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.hero__gallery-img {
    width: 140%;
    height: 140%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    transform: rotate(-5deg) scale(1.05);
    transition: transform var(--transition-slow);
}

/* Desktop size hierarchy - Kemeja Kantor biggest */
.hero__gallery-item--large .hero__gallery-img {
    transform: rotate(-5deg) scale(1.2);
}

.hero__gallery-item--large .hero__gallery-card:hover .hero__gallery-img {
    transform: rotate(0deg) scale(1.25);
}

/* Vest - medium size */
.hero__gallery-item--medium .hero__gallery-img {
    transform: rotate(-5deg) scale(1.05);
}

.hero__gallery-item--medium .hero__gallery-card:hover .hero__gallery-img {
    transform: rotate(0deg) scale(1.1);
}

/* Celana - smallest (7% smaller than Vest) */
.hero__gallery-item--small .hero__gallery-img {
    transform: rotate(-5deg) scale(0.98);
}

.hero__gallery-item--small .hero__gallery-card:hover .hero__gallery-img {
    transform: rotate(0deg) scale(1.03);
}

.hero__gallery-card:hover .hero__gallery-img {
    transform: rotate(0deg) scale(1.05);
}

.hero__gallery-label {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(8px);
    padding: 0.6rem 0.9rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(201, 169, 110, 0.2);
    box-shadow: var(--shadow-md);
    z-index: 10;
}

/* Adjust label position for large item (Kemeja Kantor) - desktop only */
.hero__gallery-item--large .hero__gallery-label {
    transform: translateX(2rem);
}

/* Adjust label position for medium item (Vest) - responsive approach */
.hero__gallery-item--medium .hero__gallery-label {
    bottom: 1rem !important;
    transform: translateY(calc(3vh + 2rem)) !important;
}

/* Adjust label position for small item (Celana) - responsive approach */
.hero__gallery-item--small .hero__gallery-label {
    bottom: 0.75rem !important;
    transform: translateY(calc(1vh)) translateX(1.1rem) !important;
}

.hero__gallery-label span {
    font-family: var(--font-primary);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.2;
}

.hero__badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    font-weight: 600;
    color: var(--primary-color);
}

.hero__badge i {
    font-size: 1.5rem;
}

.hero__decoration {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.circle-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    opacity: 1;
}

.circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.06) 0%, transparent 70%);
    bottom: -200px;
    left: -100px;
    opacity: 1;
}

.circle-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.04) 0%, transparent 70%);
    top: 40%;
    right: 25%;
    opacity: 1;
}

/* ========== FEATURES SECTION ========== */
.features {
    padding: 4rem 0 4.5rem;
    background: var(--navy-900);
    border-top: 1px solid rgba(201, 169, 110, 0.08);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.feature-card {
    padding: 2.25rem 2rem;
    border-right: 1px solid rgba(201, 169, 110, 0.1);
    transition: background 0.3s ease;
}

.feature-card:last-child {
    border-right: none;
}

.feature-card:hover {
    background: rgba(201, 169, 110, 0.04);
}

.feature-card__number {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    opacity: 0.6;
}

.feature-card__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.7rem;
    line-height: 1.3;
}

.feature-card__description {
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 300;
}

/* ========== SECTION HEADER ========== */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 400;
    color: var(--dark-900);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.section-description {
    font-size: 1.05rem;
    color: var(--dark-600);
    line-height: 1.75;
    font-weight: 300;
}

/* ========== PRODUCTS SECTION ========== */
.products {
    background: var(--cream);
}

.products__filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.65rem 1.5rem;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--dark-700);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--navy-900);
    color: var(--gold-light);
    border-color: var(--navy-900);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all var(--transition-base);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(201, 169, 110, 0.15);
}

.product-card__image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

.product-card:hover .product-card__image img {
    transform: scale(1.1);
}

.product-card__overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 1rem;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.product-card:hover .product-card__overlay {
    opacity: 1;
}

.product-card__badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.35rem 0.75rem;
    background: var(--navy-900);
    color: var(--gold-light);
    border-radius: var(--radius-sm);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.product-card__badge.badge-new {
    background: var(--gold-dark);
    color: var(--white);
}

.product-card__content {
    padding: 1.5rem;
}

.product-card__category {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.product-card__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--dark-900);
    margin-bottom: 0.5rem;
}

.product-card__desc {
    font-size: 0.938rem;
    color: var(--dark-600);
    margin-bottom: 1.5rem;
}

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}

.product-card__price {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy-900);
}

/* ========== SERVICES SECTION ========== */
.services {
    background: var(--cream-light);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    position: relative;
    padding: 2.5rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.service-card__number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--cream-dark);
    line-height: 1;
}

.service-card__icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--navy-900);
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-card__title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--dark-900);
    margin-bottom: 1rem;
}

.service-card__description {
    font-size: 0.938rem;
    color: var(--dark-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-card__features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-card__features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.938rem;
    color: var(--dark-700);
}

.service-card__features i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

/* ========== PORTFOLIO SECTION ========== */
.portfolio {
    background: var(--cream);
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.portfolio-card {
    position: relative;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

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

.portfolio-card:hover img {
    transform: scale(1.1);
}

.portfolio-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.portfolio-card:hover .portfolio-card__overlay {
    opacity: 1;
}

.portfolio-card__content {
    color: var(--white);
}

.portfolio-card__content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.portfolio-card__content p {
    font-size: 0.938rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
    background: var(--navy-900);
}

.testimonials .section-tag {
    border-color: rgba(201, 169, 110, 0.3);
}

.testimonials .section-title {
    color: var(--white);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    padding: 2.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 169, 110, 0.1);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(201, 169, 110, 0.2);
}

.testimonial-card__rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.testimonial-card__rating i {
    color: var(--primary-color);
    font-size: 1rem;
}

.testimonial-card__text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    font-style: italic;
    font-weight: 300;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(201, 169, 110, 0.1);
    padding-top: 1.25rem;
}

.testimonial-card__author img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid rgba(201, 169, 110, 0.2);
}

.testimonial-card__author h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.testimonial-card__author p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.03em;
}

/* ========== CLIENT GALLERY SECTION ========== */
.client-gallery {
    background: var(--cream);
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    height: 300px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

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

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

.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.gallery-item__content {
    color: var(--white);
    transform: translateY(20px);
    transition: transform var(--transition-base);
}

.gallery-item:hover .gallery-item__content {
    transform: translateY(0);
}

.gallery-item__content h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.gallery-item__content p {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.75rem;
}

.btn-view-gallery {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary-color);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-view-gallery:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s;
}

.lightbox-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: var(--radius-lg);
    animation: zoomIn 0.3s;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color var(--transition-fast);
    z-index: 10001;
}

.lightbox-close:hover {
    color: var(--primary-light);
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    text-align: center;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: var(--radius-md);
    max-width: 80%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .gallery-item {
        height: 200px;
    }

    .gallery-item__content h3 {
        font-size: 0.938rem;
    }

    .gallery-item__content p {
        font-size: 0.75rem;
    }

    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
}

/* ========== CTA SECTION ========== */
.cta {
    padding: 0;
    margin: var(--section-padding) 0;
}

.cta__card {
    position: relative;
    padding: 5rem 4rem;
    background: var(--gradient-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.cta__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta__title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.cta__description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.cta__buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta__decoration {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.decoration-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.08);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -50px;
}

/* ========== CONTACT SECTION ========== */
.contact {
    background: var(--cream);
}

.contact__container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact__info-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact__info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--navy-900);
    color: var(--primary-color);
    font-size: 1.125rem;
    flex-shrink: 0;
}

.contact__info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark-900);
    margin-bottom: 0.5rem;
}

.contact__info-card p {
    font-size: 0.938rem;
    color: var(--dark-600);
    line-height: 1.6;
}

.contact__social {
    margin-top: 1rem;
}

.contact__social h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark-900);
    margin-bottom: 1rem;
}

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

.social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--navy-900);
    color: var(--primary-color);
    transition: all var(--transition-base);
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-color);
    color: var(--navy-900);
}

.contact__form {
    padding: 2.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark-800);
    margin-bottom: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* ========== CLIENT LOGO MARQUEE ========== */
.logo-marquee {
    padding: 3.5rem 0;
    background: var(--navy-900);
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(201, 169, 110, 0.08);
}

.logo-marquee__label {
    text-align: center;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 2rem;
}

.logo-marquee__track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
}

.logo-marquee__track:hover {
    animation-play-state: paused;
}

.logo-marquee__set {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 0 2rem;
}

.logo-marquee__item {
    flex-shrink: 0;
    height: 36px;
    opacity: 0.35;
    filter: grayscale(100%) brightness(2);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.logo-marquee__item:hover {
    opacity: 0.8;
    filter: grayscale(0%) brightness(1.5);
}

.logo-marquee__item img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-marquee__fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.logo-marquee__fade--left {
    left: 0;
    background: linear-gradient(90deg, var(--navy-900), transparent);
}

.logo-marquee__fade--right {
    right: 0;
    background: linear-gradient(270deg, var(--navy-900), transparent);
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media screen and (max-width: 768px) {
    .logo-marquee {
        padding: 2rem 0;
    }

    .logo-marquee__set {
        gap: 2.5rem;
        padding: 0 1.25rem;
    }

    .logo-marquee__item {
        height: 30px;
    }

    .logo-marquee__fade {
        width: 60px;
    }
}

/* ========== FOOTER ========== */
.footer {
    background: var(--navy-900);
    color: var(--gray-400);
    padding: 0;
    position: relative;
}

.footer__accent {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.2;
}

.footer__main {
    padding: 4.5rem 0 3rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
}

.footer__brand {
    padding-right: 2rem;
}

.footer__logo {
    display: block;
    margin-bottom: 1.25rem;
}

.footer__description {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--gray-500);
    max-width: 300px;
}

.footer__col-title {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__links a {
    font-size: 0.9rem;
    color: var(--gray-400);
    transition: color 0.2s ease;
    text-decoration: none;
}

.footer__links a:hover {
    color: var(--white);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    color: var(--gray-600);
}

.footer__bottom p {
    margin: 0;
}

.footer__social {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.footer__social a {
    color: var(--gray-500);
    font-size: 1rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__social a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

/* ========== SCROLL TO TOP ========== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    max-width: 46px;
    max-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-900);
    color: var(--primary-color);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(201, 169, 110, 0.2);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
}

.scroll-top.show-scroll {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* ========== WHATSAPP FLOATING BUTTON ========== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    font-size: 1.6rem;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    z-index: 998;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: waFloatIn 0.6s ease 1s both;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    color: var(--white);
}

.whatsapp-float::after {
    content: 'Chat via WhatsApp';
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark-900);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.whatsapp-float:hover::after {
    opacity: 1;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.3);
    animation: waPulse 2.5s ease-in-out infinite;
}

@keyframes waPulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.15); opacity: 0; }
}

@keyframes waFloatIn {
    from { transform: scale(0) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
        bottom: 1.5rem;
        left: 1.5rem;
    }

    .whatsapp-float::after {
        display: none;
    }
}

/* ========== RESPONSIVE ========== */
@media screen and (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero__container {
        grid-template-columns: 1fr;
    }

    .hero__title {
        font-size: 2.75rem;
    }

    .hero__img {
        height: 400px;
    }

    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card {
        border-right: none;
        border-bottom: 1px solid rgba(201, 169, 110, 0.1);
    }

    .feature-card:nth-child(odd) {
        border-right: 1px solid rgba(201, 169, 110, 0.1);
    }

    .feature-card:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .products__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .contact__container {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    /* Container */
    .container {
        padding: 0 1.5rem;
    }

    /* Navigation */
    .nav {
        height: 70px;
    }

    .logo-image {
        height: 60px;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        max-height: 100dvh;
        background: var(--navy-900);
        box-shadow: var(--shadow-2xl);
        padding: 6rem 1.5rem 2rem;
        transition: right var(--transition-base);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 1001;
    }

    .nav__menu.show-menu {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav__link {
        font-size: 1.125rem;
        padding: 0.75rem 0;
    }

    .nav__close,
    .nav__toggle {
        display: block;
    }

    .nav__close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        font-size: 1.75rem;
    }

    .nav__toggle {
        font-size: 1.5rem;
    }

    .nav__actions .btn {
        display: none;
    }

    /* Buttons - Touch-friendly */
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.938rem;
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Hero Section */
    .hero {
        padding-top: 120px;
        padding-bottom: 80px;
        overflow-x: hidden;
    }

    .hero__title {
        font-size: 1.875rem;
        line-height: 1.2;
    }

    .hero__description {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero__buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero__buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero__stats {
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .stat {
        min-width: 45%;
    }

    .stat__number {
        font-size: 1.75rem;
    }

    .stat__label {
        font-size: 0.75rem;
    }

    .hero__img {
        min-height: 350px;
        height: auto;
        width: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .hero__image {
        margin-top: 2rem;
        width: 100%;
    }

    .hero__image-wrapper {
        border-radius: var(--radius-xl);
        overflow: hidden;
        min-height: 350px;
    }

    /* Allow AOS animations but disable scroll-based transforms on mobile */
    .hero__image-wrapper {
        will-change: transform;
    }

    /* Section Headers */
    .section-title {
        font-size: 1.75rem;
    }

    .section-description {
        font-size: 0.938rem;
    }

    /* Features */
    .features__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .feature-card,
    .feature-card:nth-child(odd) {
        border-right: none;
        border-bottom: 1px solid rgba(201, 169, 110, 0.1);
    }

    .feature-card:last-child {
        border-bottom: none;
    }

    /* Products */
    .products__filter {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }

    .products__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-card {
        border-radius: var(--radius-lg);
    }

    .product-card__image {
        height: 250px;
    }

    .product-card__content {
        padding: 1.25rem;
    }

    .product-card__title {
        font-size: 1.125rem;
    }

    .product-card__desc {
        font-size: 0.875rem;
    }

    /* Portfolio */
    .portfolio__grid {
        grid-template-columns: 1fr;
    }

    .portfolio-card {
        height: 300px;
    }

    /* Testimonials */
    .testimonials__grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-card__text {
        font-size: 0.938rem;
    }

    /* Services */
    .services__grid {
        grid-template-columns: 1fr;
    }

    /* Gallery */
    .gallery-filter {
        gap: 0.5rem;
    }

    .gallery-filter .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1rem;
    }

    .gallery-item {
        height: 180px;
        border-radius: var(--radius-lg);
    }

    .gallery-item__overlay {
        padding: 1rem;
    }

    .gallery-item__content h3 {
        font-size: 0.938rem;
    }

    .gallery-item__content p {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .btn-view-gallery {
        width: 35px;
        height: 35px;
    }

    /* CTA */
    .cta__card {
        padding: 2.5rem 1.5rem;
    }

    .cta__title {
        font-size: 1.5rem;
    }

    .cta__description {
        font-size: 0.938rem;
    }

    .cta__buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta__buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* Contact */
    .contact__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact__info-card {
        padding: 1.25rem;
    }

    .contact__info-card h3 {
        font-size: 1rem;
    }

    .contact__info-card p {
        font-size: 0.875rem;
    }

    .contact__form {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Footer */
    .footer__main {
        padding: 3rem 0 2rem;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer__brand {
        padding-right: 0;
    }

    .footer__description {
        max-width: 100%;
    }

    .footer__col-title {
        margin-bottom: 1rem;
    }

    .footer__links {
        gap: 0.7rem;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
        padding: 1.5rem 0;
    }

    /* Scroll Top */
    .scroll-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }

    /* Badges */
    .product-card__badge {
        top: 0.5rem !important;
        right: 0.5rem !important;
        padding: 0.35rem 0.7rem !important;
        font-size: 0.65rem !important;
        z-index: 20 !important;
        display: block !important;
        opacity: 1 !important;
    }

    .product-hero__tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    /* Lightbox */
    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }

    .lightbox-caption {
        max-width: 90%;
        padding: 0.75rem 1rem;
    }

    .lightbox-caption h3 {
        font-size: 1rem;
    }

    .lightbox-caption p {
        font-size: 0.875rem;
    }
}

/* Extra Small Devices (320px - 375px) */
@media screen and (max-width: 375px) {
    .container {
        padding: 0 1rem;
    }

    .hero__title {
        font-size: 1.625rem;
    }

    .stat {
        min-width: 100%;
    }

    .hero__stats {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    .nav__menu {
        width: 90%;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* AOS Animation Override */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* ========== PRODUCT PAGE STYLES ========== */
.product-hero {
    padding: var(--section-padding) 0;
    background: var(--cream);
    position: relative;
    overflow: visible;
    z-index: 1;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: var(--gradient-secondary);
    opacity: 0.03;
    border-radius: 0 0 0 100% 0;
    z-index: 0;
    pointer-events: none;
}

.product-hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.product-hero__content {
    z-index: 10;
    position: relative;
    margin-bottom: 2rem;
}

.product-hero__tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--navy-900);
    color: var(--gold-light);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(10, 22, 40, 0.2);
}

.product-hero__title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-900);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.product-hero__description {
    font-size: 1.125rem;
    color: var(--dark-600);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.product-hero__price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-hero__price .price-label {
    font-size: 1rem;
    color: var(--dark-600);
    font-weight: 500;
}

.product-hero__price .price-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-900);
}

.product-hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.product-hero__image {
    position: relative;
    margin-left: 2rem;
    margin-top: 3rem;
}

.product-hero__image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
}

.product-features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-item__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-900);
    color: var(--primary-color);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
}

.feature-item__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-900);
    margin-bottom: 0.75rem;
}

.feature-item__description {
    color: var(--dark-600);
    line-height: 1.6;
}

.product-specs {
    background: var(--cream);
}

.specs-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.specs-table h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-900);
    margin-bottom: 1.5rem;
}

.specs-table table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.specs-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--dark-900);
    width: 40%;
}

.specs-table td:last-child {
    color: var(--dark-600);
}

.specs-features h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-900);
    margin-bottom: 1.5rem;
}

.specs-features ul {
    list-style: none;
}

.specs-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
    color: var(--dark-600);
}

.specs-features li i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.product-gallery {
    padding: var(--section-padding) 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.gallery-item__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 1.5rem 1.5rem;
    color: var(--white);
    opacity: 0;
    transition: var(--transition-base);
}

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

.gallery-item__overlay span {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
}

.order-process {
    background: var(--cream);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
}

.process-step__number {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-900);
    color: var(--primary-color);
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
}

.process-step__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-900);
    margin-bottom: 0.75rem;
}

.process-step__description {
    color: var(--dark-600);
    line-height: 1.6;
}

/* Responsive Design for Product Pages */
@media (max-width: 992px) {
    .product-hero__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-hero__image {
        margin-left: 0;
        margin-top: 2rem;
    }

    .product-hero__title {
        font-size: 2.5rem;
    }

    .specs-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .product-hero {
        padding: 6rem 0 3rem 0;
        overflow: visible !important;
    }

    .product-hero__content {
        overflow: visible !important;
        width: 100% !important;
    }

    .product-hero__title {
        font-size: 2rem;
    }

    .product-hero__price .price-value {
        font-size: 1.5rem;
    }

    .product-hero__actions {
        flex-direction: column;
        margin-top: 1.5rem;
    }

    .product-features__grid,
    .process-timeline {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .specs-table table {
        font-size: 0.875rem;
    }

    .specs-table td {
        padding: 0.75rem 0.5rem;
    }

    .product-hero__tag {
        padding: 0.5rem 1rem !important;
        font-size: 0.8rem !important;
        margin-bottom: 1rem !important;
        margin-top: 1rem !important;
        position: relative !important;
        z-index: 1000 !important;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        left: 0 !important;
        width: fit-content !important;
        max-width: 100% !important;
    }
}

/* ========== MOBILE RESPONSIVE STYLES ========== */

/* Tablet and Mobile Styles */
@media (max-width: 968px) {

    /* Navigation */
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        max-height: 100dvh;
        background: var(--navy-900);
        padding: 6rem 2rem 2rem;
        box-shadow: var(--shadow-2xl);
        transition: right var(--transition-base);
        z-index: 1001;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav__menu.show-menu {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 2rem;
    }

    .nav__toggle,
    .nav__close {
        display: block;
    }

    .nav__close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }

    /* Hero Section */
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero__container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__description {
        font-size: 1rem;
    }

    .hero__image-gallery {
        min-height: 600px;
        height: auto;
        gap: 1.5rem;
    }
}

/* Tablet Specific Styles (between mobile and desktop) */
@media (max-width: 968px) and (min-width: 769px) {
    .hero__image-gallery {
        min-height: 650px;
        height: auto;
        gap: 1.75rem;
    }

    .hero__gallery-item--small {
        max-width: 95%;
        margin-left: 0;
    }

    .hero__gallery-img {
        width: 130% !important;
        height: 130% !important;
    }

    .hero__gallery-item--large .hero__gallery-img {
        transform: rotate(-5deg) scale(1.1);
    }

    .hero__gallery-item--medium .hero__gallery-img {
        transform: rotate(-5deg) scale(1.0);
    }

    .hero__gallery-item--small .hero__gallery-img {
        transform: rotate(-5deg) scale(0.95);
    }
}

/* Mobile Specific Styles */
@media (max-width: 768px) {

    /* Typography */
    .section-title {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
    }

    /* Navigation */
    .nav {
        height: 60px;
    }

    .logo-image {
        height: 60px;
    }

    .nav__actions .btn {
        display: none;
    }

    /* Hero Section - Major Fix */
    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero__container {
        gap: 2rem;
    }

    .hero__title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero__description {
        font-size: 0.938rem;
        margin-bottom: 2rem;
    }

    .hero__buttons {
        flex-direction: column;
        gap: 0.875rem;
        margin-bottom: 2rem;
    }

    .hero__buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero__buttons .btn:not(.btn-full) {
        flex: 1 1 100%;
    }

    .hero__stats {
        gap: 1.5rem;
    }

    .stat__number {
        font-size: 1.75rem;
    }

    .stat__label {
        font-size: 0.75rem;
    }

    /* Hero Gallery - Keep Grid Layout on Mobile */
    .hero__image-gallery {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto;
        min-height: 650px;
        height: auto;
        gap: 1rem;
        margin-top: 0;
        padding: 0;
    }

    .hero__gallery-item--large {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
    }

    .hero__gallery-item--medium {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .hero__gallery-item--small {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        max-width: 100%;
        margin-left: 0;
    }

    .hero__gallery-card {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        padding: 0.5rem;
        position: relative;
    }

    .hero__gallery-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain;
        object-position: center;
        transform: rotate(-3deg) scale(1.15) !important;
        filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
    }

    .hero__gallery-card:hover .hero__gallery-img {
        transform: rotate(0deg) scale(1.2) !important;
    }

    .hero__gallery-label {
        position: absolute;
        bottom: 1rem !important;
        right: 1rem !important;
        left: auto !important;
        transform: none !important;
        background: rgba(10, 22, 40, 0.85);
        backdrop-filter: blur(8px);
        padding: 0.5rem 0.75rem;
        border-radius: var(--radius-sm);
        border: 1px solid rgba(201, 169, 110, 0.2);
        box-shadow: var(--shadow-lg);
        z-index: 10;
    }

    .hero__gallery-item--large .hero__gallery-label {
        bottom: 1rem !important;
        right: 1rem !important;
        transform: translateY(-350%) !important;
    }

    .hero__gallery-item--medium .hero__gallery-label {
        bottom: 1rem !important;
        right: 1rem !important;
        transform: none !important;
    }

    .hero__gallery-item--small .hero__gallery-label {
        bottom: 1rem !important;
        right: 1rem !important;
        transform: none !important;
    }

    .hero__gallery-label span {
        font-size: 0.7rem;
        line-height: 1.2;
    }

    /* Features Section */
    .features__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .feature-card,
    .feature-card:nth-child(odd) {
        border-right: none;
        border-bottom: 1px solid rgba(201, 169, 110, 0.1);
        padding: 1.5rem 1rem;
    }

    .feature-card:last-child {
        border-bottom: none;
    }

    /* Products Section */
    .products__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-card__image {
        height: 250px;
    }

    .products__filter {
        gap: 0.75rem;
    }

    .filter-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    /* Services Section */
    .services__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Portfolio Section */
    .portfolio__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Testimonials Section */
    .testimonials__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Gallery Section */
    .gallery-filter {
        gap: 0.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Contact Section */
    .contact__container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Footer */
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* CTA Section */
    .cta__buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta__buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* Container Padding */
    .container {
        padding: 0 var(--space-5);
    }

    .section {
        padding: var(--space-16) 0;
    }

    /* Buttons */
    .btn-large {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .hero__title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero__stats {
        flex-direction: column;
        gap: 1rem;
    }

    .hero__image-gallery {
        min-height: 560px;
        height: auto;
        gap: 0.75rem;
    }

    .hero__gallery-card {
        padding: 0.4rem;
    }

    .hero__gallery-img {
        width: 100% !important;
        height: 100% !important;
        transform: rotate(-2deg) scale(1.15) !important;
    }

    .hero__gallery-label {
        padding: 0.45rem 0.65rem;
        bottom: 0.85rem !important;
        right: 0.85rem !important;
    }

    .hero__gallery-item--large .hero__gallery-label {
        transform: translateY(-320%) !important;
    }

    .hero__gallery-label span {
        font-size: 0.65rem;
    }

    .container {
        padding: 0 1rem;
    }

    .btn {
        font-size: 0.875rem;
        padding: 0.75rem 1.5rem;
    }
}

/* ========== GOOGLE MAPS SECTION ========== */
.contact__map {
    margin-top: 3rem;
}

.contact__map-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-800);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.contact__map-title i {
    color: var(--primary-color);
}

.contact__map-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--gray-200);
    transition: box-shadow var(--transition-base);
}

.contact__map-wrapper:hover {
    box-shadow: var(--shadow-2xl);
}

.contact__map-wrapper iframe {
    display: block;
    width: 100%;
    height: 420px;
}

@media (max-width: 768px) {
    .contact__map-wrapper iframe {
        height: 280px;
    }
}

.contact__map-link {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

/* ========== ACCESSIBILITY ENHANCEMENTS ========== */

/* Focus visible for better keyboard navigation */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Focus styles for interactive elements */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip to main content link for screen readers */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: var(--space-2) var(--space-4);
    text-decoration: none;
    border-radius: 0 0 var(--radius-md) 0;
    z-index: var(--z-popover);
    transition: top var(--transition-fast);
}

.skip-to-content:focus {
    top: 0;
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    /* Disable AOS animations for reduced motion */
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #D4AF37;
        --navy-900: #000000;
    }

    a,
    button {
        text-decoration: underline;
    }
}