/**
 * PT Arsitekta Marine - Main Stylesheet
 * Theme: Teal & Beige Premium (ArconYachts Style)
 */

/* Import Serif Font for Premium Look */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ============================================
   CSS Variables
============================================ */
:root {
    /* Primary Colors - Teal dari Logo */
    --primary: #1B7A8C;
    --primary-light: #2596A6;
    --primary-dark: #146A7A;

    /* Secondary Colors - Beige dari Logo */
    --secondary: #D4C8A8;
    --secondary-light: #E5DCC5;
    --secondary-dark: #C4B898;

    /* Accent Colors */
    --accent: #2596A6;
    --accent-light: #3AB0C0;
    --accent-dark: #1B7A8C;

    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #ADB5BD;
    --gray-500: #6C757D;
    --gray-600: #495057;
    --gray-700: #343A40;
    --gray-800: #212529;
    --black: #0A0A0A;

    /* Status Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;

    /* Typography - Premium Fonts */
    --font-primary: 'Poppins', sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-premium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Reset & Base
============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    min-height: 100%;
    background: #3a3a3a;
    /* Matches footer-bottom to prevent gap when scrolled past content */
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Make main content grow to push footer down */
main,
.main-content,
.page-wrapper {
    flex: 1 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* ============================================
   Utilities
============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section {
    padding: var(--spacing-3xl) 0;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white);
}

.text-light {
    color: var(--gray-400);
}

.text-muted {
    color: var(--gray-500);
}

.text-gradient {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-light {
    background-color: var(--gray-100);
}

.bg-dark {
    background-color: var(--primary);
}

image.png .mt-2 {
    margin-top: var(--spacing-sm);
}

.mt-3 {
    margin-top: var(--spacing-md);
}

.mt-4 {
    margin-top: var(--spacing-lg);
}

.mb-3 {
    margin-bottom: var(--spacing-md);
}

.full-width {
    grid-column: 1 / -1;
}

/* ============================================
   Buttons
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--primary);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 200, 168, 0.4);
}

.btn-outline {
    background: transparent;
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background: var(--secondary);
    color: var(--primary);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
}

.btn-light:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ============================================
   Hero Section - Premium Style
============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    overflow-x: hidden;
    overflow-y: visible;
}

.hero>.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-pattern-overlay {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 1;
    mix-blend-mode: overlay;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(27, 122, 140, 0.6) 0%, rgba(27, 122, 140, 0.4) 50%, rgba(27, 122, 140, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 120px 20px 80px;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.75rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-xl);
    backdrop-filter: blur(5px);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.1;
    line-height: 1.5;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.02em;
    overflow: visible;
    width: 100%;
    text-align: center;
}

.hero-title .text-gradient {
    display: inline-block;
    color: var(--secondary);
    font-style: italic;
    padding-bottom: 0.25em;
    padding-right: 0.15em;
    margin-right: 0.05em;
    overflow: visible;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    text-align: center;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
}

/* ============================================
   Video Background (Hero & Page Header)
============================================ */
.hero-video-bg,
.page-header-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* ============================================
   Image Background (Hero)
============================================ */
.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* ============================================
   Image Background (Page Header)
============================================ */
.page-header-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-header-image-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header {
    position: relative;
    overflow: hidden;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: var(--white);
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: auto;
}

/* ============================================
   Stats Section
============================================ */
.stats-section {
    padding: var(--spacing-2xl) 0;
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.stat-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    border-radius: var(--radius-lg);
    color: var(--primary);
    font-size: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    color: var(--gray-500);
    font-size: 0.9375rem;
    margin-top: var(--spacing-sm);
}

@media (max-width: 991px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   About Section
============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-image-overlay {
    position: absolute;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
}

.experience-badge {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--primary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.experience-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .label {
    font-size: 0.875rem;
    font-weight: 600;
}

.about-text {
    color: var(--gray-600);
    font-size: 1.0625rem;
    margin-bottom: var(--spacing-xl);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    color: var(--secondary-dark);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.feature-text p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
}

/* ============================================
   Products Section
============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-status {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    padding: 0.375rem 0.875rem;
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.product-status.status-tersedia {
    background: var(--success);
}

.product-status.status-proses {
    background: var(--warning);
    color: var(--primary);
}

.product-status.status-terjual {
    background: var(--gray-500);
}

.product-content {
    padding: var(--spacing-lg);
}

.product-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.product-desc {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: var(--spacing-md);
}

.product-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--secondary-dark);
    margin-bottom: var(--spacing-md);
}

@media (max-width: 991px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Services Section
============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.service-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    transition: all var(--transition-normal);
}

.service-card:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    color: var(--secondary);
    font-size: 1.75rem;
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.service-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: var(--spacing-md);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--secondary-dark);
    font-weight: 600;
    font-size: 0.875rem;
}

.service-link:hover {
    color: var(--secondary);
}

@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Projects Section
============================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 300px;
}

.project-card .project-image {
    width: 100%;
    height: 100%;
}

.project-card .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.3) 100%);
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-lg);
    opacity: 0.9;
    transition: opacity var(--transition-normal);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    width: 100%;
}

.project-year {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--secondary);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-sm);
}

.project-title {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.project-client {
    color: var(--gray-300);
    font-size: 0.875rem;
}

.project-status {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-top: var(--spacing-sm);
}

.project-status.status-selesai {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.project-status.status-ongoing {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

@media (max-width: 991px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CTA Section
============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    padding: var(--spacing-3xl) 0;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    font-size: 1.0625rem;
    color: var(--primary-light);
    margin-bottom: var(--spacing-xl);
}

/* ============================================
   Product Detail
============================================ */
.product-detail .detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
}

.detail-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.detail-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.detail-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.detail-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-dark);
    margin-bottom: var(--spacing-xl);
}

.detail-section {
    margin-bottom: var(--spacing-xl);
}

.detail-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.detail-section p {
    color: var(--gray-600);
    line-height: 1.8;
}

.specs-box {
    background: var(--gray-100);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    font-family: monospace;
    line-height: 2;
    color: var(--gray-700);
}

.detail-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

@media (max-width: 991px) {
    .product-detail .detail-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Filter Bar
============================================ */
.filter-bar {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

@media (max-width: 575px) {
    .filter-form {
        flex-direction: column;
    }

    .filter-group {
        width: 100%;
    }
}

/* ============================================
   Gallery
============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.9) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-md);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.gallery-info p {
    color: var(--gray-300);
    font-size: 0.8125rem;
}

.gallery-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 1.25rem;
    opacity: 0;
    transition: all var(--transition-normal);
}

.gallery-item:hover .gallery-icon {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.lightbox.show {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-content video {
    max-width: 90vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    background: #000;
}

.lightbox-caption {
    color: var(--white);
    margin-top: var(--spacing-md);
    font-size: 1.125rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--secondary);
    color: var(--primary);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   Gallery Category Slider
============================================ */
.gallery-category-section {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--gray-200);
}

.gallery-category-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.category-header {
    text-align: center;
    margin-bottom: 2rem;
}

.category-header h2 {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.category-header h2 i {
    font-size: 1.5rem;
    opacity: 0.8;
}

.category-header p {
    color: var(--gray-500);
    font-size: 1rem;
}

/* Gallery Slider */
.gallery-slider-container {
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0 auto;
    max-width: 100%;
}

.gallery-slider {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem 0.75rem;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    touch-action: pan-x;
    /* Memungkinkan swipe horizontal */
    -webkit-overflow-scrolling: touch;
}

.gallery-slide {
    /* 2 slide bersebelahan - 50% width dengan gap */
    flex: 0 0 calc(50% - 0.75rem);
    position: relative;
    border-radius: 20px;
    /* Rounded corners untuk foto */
    overflow: hidden;
    aspect-ratio: 16/10;
    min-height: 320px;
    cursor: grab;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #1a1a2e;
}

.gallery-slide:active {
    cursor: grabbing;
}

.gallery-slide img,
.gallery-slide video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 20px;
    /* Rounded corners untuk foto */
}

.gallery-slide:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.gallery-slide:hover img,
.gallery-slide:hover video {
    transform: scale(1.05);
}

.gallery-slide.is-video .video-play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    z-index: 5;
    transition: all 0.3s ease;
    opacity: 1;
}

.gallery-slide.is-video:hover .video-play-badge {
    opacity: 0;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-slide:hover .slide-overlay {
    transform: translateY(0);
}

.slide-overlay h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.slide-overlay p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 16px;
}

.slider-btn.next {
    right: 16px;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Gallery Slider Responsive */
@media (max-width: 1200px) {
    .gallery-slide {
        flex: 0 0 calc(50% - 0.75rem);
        min-height: 280px;
    }
}

@media (max-width: 768px) {
    .gallery-slider-container {
        padding: 0;
    }

    .gallery-slider {
        gap: 1rem;
        padding: 0.5rem 0;
    }

    .gallery-slide {
        flex: 0 0 100%;
        min-height: 250px;
        border-radius: 16px;
        /* Sedikit lebih kecil di mobile */
    }

    .gallery-slide img,
    .gallery-slide video {
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .gallery-slider-container {
        padding: 0;
    }

    .gallery-slide {
        min-height: 200px;
        border-radius: 12px;
    }

    .gallery-slide img,
    .gallery-slide video {
        border-radius: 12px;
    }
}

/* ============================================
   Gallery Vertical Grid dengan Carousel Horizontal
   (Setiap card punya carousel foto yang bisa di-scroll dengan drag)
============================================ */

/* Grid Vertikal untuk Card */
.gallery-grid-vertical {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Card Vertikal */
.gallery-card-vertical {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.gallery-card-vertical:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Card Header (Now acts as Card Body/Footer) */
/* Card Header */
.gallery-card-header {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--gray-200);
    flex-shrink: 0;
}

.gallery-card-header i {
    font-size: 1.5rem;
    color: var(--primary);
}

.gallery-card-header h3 {
    flex: 1;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
}

.gallery-card-header .photo-count {
    font-size: 0.875rem;
    color: var(--gray-500);
    background: var(--gray-100);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

/* Photo Carousel Horizontal */
.photo-carousel-horizontal {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* Hidden untuk manual control */
    aspect-ratio: 16/10;
    background: #000;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Carousel Track (Horizontal) */
.carousel-track-horizontal {
    display: flex;
    gap: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Carousel Slide Horizontal */
.carousel-slide-horizontal {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide-horizontal img,
.carousel-slide-horizontal video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.carousel-slide-horizontal .video-play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    z-index: 5;
    transition: all 0.3s ease;
    opacity: 1;
    pointer-events: none;
}

.carousel-slide-horizontal:hover .video-play-badge {
    opacity: 0;
}

/* Overlay "X more photos" seperti Arcon Yachts */
.more-photos-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 6;
    pointer-events: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    white-space: nowrap;
}

.photo-carousel-horizontal:hover .more-photos-overlay {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(1.05);
}

/* Slide Caption */
.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1.5rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.carousel-slide-horizontal:hover .slide-caption {
    transform: translateY(0);
}

.slide-caption h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.slide-caption p {
    font-size: 0.875rem;
    margin: 0;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-grid-vertical {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-card-vertical {
        border-radius: 12px;
    }

    .photo-carousel-horizontal,
    .carousel-slide-horizontal {
        aspect-ratio: 16 / 9;
    }

    .more-photos-overlay {
        font-size: 0.75rem;
        padding: 0.625rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid-vertical {
        gap: 1rem;
    }

    .gallery-card-vertical {
        border-radius: 10px;
    }

    .photo-carousel-horizontal,
    .carousel-slide-horizontal {
        aspect-ratio: 16 / 9;
    }

    .more-photos-overlay {
        font-size: 0.7rem;
        padding: 0.5rem 1rem;
    }

    .gallery-card-header {
        padding: 0.875rem 1rem;
    }

    .gallery-card-header h3 {
        font-size: 1.125rem;
    }
}

/* ============================================
   Gallery Horizontal Grid (Like Arcon Yachts)
============================================ */
.gallery-horizontal-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 2rem;
    touch-action: pan-x;
    /* Hanya izinkan scroll horizontal untuk smoothness */
    -webkit-overflow-scrolling: touch;
    padding: 0 1rem;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    /* Optimasi performa untuk smooth scrolling */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

.gallery-horizontal-grid {
    display: flex;
    gap: 2rem;
    padding: 1rem 0;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    width: max-content;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    /* Optimasi GPU acceleration untuk smooth scrolling */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* Smooth scrolling dengan hardware acceleration */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.gallery-project-card {
    flex: 0 0 380px;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: grab;
    display: flex;
    flex-direction: column;
}

.gallery-project-card:active {
    cursor: grabbing;
}

.gallery-project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.project-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    min-height: 280px;
    overflow: hidden;
    background: #1a1a2e;
    border-radius: 16px 16px 0 0;
    /* Rounded corners di atas */
    cursor: grab;
    user-select: none;
}

.project-card-image:active {
    cursor: grabbing;
}

.project-card-image img,
.project-card-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 16px 16px 0 0;
}

.gallery-project-card:hover .project-card-image img,
.gallery-project-card:hover .project-card-image video {
    transform: scale(1.05);
}

.project-card-content {
    padding: 1.5rem;
}

.project-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.project-category-badge i {
    font-size: 0.9rem;
}

.project-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.project-more-photos {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
    margin-top: 0.5rem;
}

.project-more-photos i {
    font-size: 0.9rem;
}

/* Video play badge */
.project-card-image .video-play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    z-index: 5;
    transition: all 0.3s ease;
    opacity: 1;
}

.gallery-project-card:hover .video-play-badge {
    opacity: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-project-card {
        flex: 0 0 320px;
    }

    .project-card-image {
        min-height: 220px;
        border-radius: 12px 12px 0 0;
    }

    .project-card-image img,
    .project-card-image video {
        border-radius: 12px 12px 0 0;
    }

    .gallery-project-card {
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .gallery-project-card {
        flex: 0 0 280px;
    }

    .project-card-image {
        min-height: 200px;
        border-radius: 10px 10px 0 0;
    }

    .project-card-image img,
    .project-card-image video {
        border-radius: 10px 10px 0 0;
    }

    .gallery-project-card {
        border-radius: 10px;
    }
}

.gallery-category-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.gallery-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.category-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    min-height: 280px;
    overflow: hidden;
    background: #1a1a2e;
}

.category-card-image img,
.category-card-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-category-card:hover .category-card-image img,
.gallery-category-card:hover .category-card-image video {
    transform: scale(1.05);
}

.category-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-category-card:hover .category-card-overlay {
    opacity: 1;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.category-badge i {
    font-size: 1rem;
}

.category-card-content {
    padding: 1.5rem;
}

.category-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.category-card-desc {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.category-more-photos {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
    margin-top: 0.5rem;
}

.category-more-photos i {
    font-size: 0.9rem;
}

/* Video play badge for category cards */
.category-card-image .video-play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    z-index: 5;
    transition: all 0.3s ease;
    opacity: 1;
}

.gallery-category-card:hover .video-play-badge {
    opacity: 0;
}

/* Gallery Categories Grid Responsive */
@media (max-width: 1200px) {
    .gallery-categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .gallery-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .category-card-image {
        min-height: 220px;
    }
}

@media (max-width: 575px) {
    .gallery-categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .category-card-image {
        min-height: 250px;
    }
}

/* ============================================
   Project List Page
============================================ */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

@media (max-width: 991px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.project-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.project-item .project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-item .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-item:hover .project-image img {
    transform: scale(1.05);
}

.project-item .project-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.8) 0%, transparent 50%);
    align-items: flex-end;
    padding: var(--spacing-md);
}

.project-content {
    padding: var(--spacing-lg);
}

.project-meta {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.project-meta i {
    color: var(--secondary-dark);
}

.project-item .project-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.project-desc {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.7;
}

@media (max-width: 767px) {
    .project-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Consulting Page
============================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.category-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.category-card:hover,
.category-card.active {
    border-color: var(--secondary);
}

.category-card.active {
    background: rgba(212, 175, 55, 0.05);
}

.category-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    color: var(--secondary);
    font-size: 1.75rem;
}

.category-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.category-card p {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

@media (max-width: 991px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.form-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.form-header h2 i {
    color: var(--secondary);
}

.form-header p {
    color: var(--gray-500);
}

.form-row {
    margin-bottom: var(--spacing-md);
}

.form-row.two-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: var(--spacing-sm);
}

.required {
    color: var(--danger);
}

.form-actions {
    margin-top: var(--spacing-xl);
    text-align: center;
}

@media (max-width: 575px) {
    .form-row.two-cols {
        grid-template-columns: 1fr;
    }
}

/* Alert */
.alert {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
}

.alert i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

.alert ul {
    margin-top: var(--spacing-sm);
    padding-left: var(--spacing-lg);
    list-style: disc;
}

/* Contact Cards */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.contact-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    border-radius: var(--radius-lg);
    color: var(--primary);
    font-size: 1.5rem;
}

.contact-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.contact-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Profile Page
============================================ */
.profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(var(--spacing-xl), 4vw, var(--spacing-3xl));
    align-items: center;
}

.profile-image {
    position: relative;
    width: 100%;
    max-width: 600px;
    justify-self: start;
    margin-top: -100px;
}

.profile-image img {
    width: 100%;
    height: clamp(360px, 42vw, 500px);
    object-fit: cover;
    border-radius: var(--radius-xl);
}

.profile-badge {
    position: absolute;
    bottom: var(--spacing-xl);
    right: var(--spacing-xl);
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--primary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.profile-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.profile-badge .text {
    font-size: 0.875rem;
    font-weight: 600;
}

.profile-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-lg);
}

.profile-content .lead {
    font-size: 1.0625rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
}

.profile-stats {
    display: flex;
    gap: var(--spacing-xl);
}

.profile-stats .stat {
    text-align: center;
}

.profile-stats .number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-dark);
}

.profile-stats .label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

@media (max-width: 991px) {
    .profile-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .profile-image {
        justify-self: center;
        max-width: min(100%, 680px);
        margin-top: 0;
    }

    .profile-image img {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .profile-content {
        min-width: 0;
    }
}

@media (max-width: 575px) {
    .profile-image img {
        aspect-ratio: 1 / 1;
    }

    .profile-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-lg);
    }

    .profile-stats .stat {
        min-width: 120px;
    }
}

/* Vision Mission */
.vm-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
}

.vm-card {
    background: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.vm-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    border-radius: var(--radius-lg);
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
}

.vm-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.vm-card p {
    color: var(--gray-600);
    line-height: 1.8;
}

.mission-list ul {
    list-style: none;
}

.mission-list li {
    position: relative;
    padding-left: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--gray-600);
}

.mission-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-dark);
    font-weight: 700;
}

@media (max-width: 767px) {
    .vm-grid {
        grid-template-columns: 1fr;
    }
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.feature-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-card .feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    color: var(--secondary);
    font-size: 1.5rem;
}

.feature-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

@media (max-width: 991px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Profile Contact */
.profile-contact {
    color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-2xl);
    align-items: stretch;
}

.contact-info-side h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.contact-info-side p {
    color: var(--gray-300);
    margin-bottom: var(--spacing-xl);
}

.contact-list {
    margin-bottom: var(--spacing-xl);
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    color: var(--gray-300);
}

.contact-list i {
    color: var(--secondary);
    margin-top: 4px;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links .social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--white);
    transition: all var(--transition-fast);
}

.social-links .social-link:hover {
    background: var(--secondary);
    color: var(--primary);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.contact-map iframe {
    display: block;
    border-radius: var(--radius-lg);
}

@media (max-width: 991px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Office Location Map
============================================ */
.office-location-map {
    position: relative;
    margin-top: var(--spacing-xl);
}

.map-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 600px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Location Info Cards */
.location-info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.location-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    display: flex;
    gap: var(--spacing-lg);
    align-items: flex-start;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary);
}

.location-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.location-card.shipyard-card .location-card-icon {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: white;
}

.location-card-content {
    flex: 1;
}

.location-card-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.location-card-content p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.location-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.location-link:hover {
    color: var(--primary-light);
    gap: var(--spacing-sm);
}

.location-link i {
    font-size: 0.875rem;
}

@media (max-width: 991px) {
    .location-info-cards {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .map-container {
        height: 400px;
    }

    .location-card {
        flex-direction: column;
        text-align: center;
    }

    .location-card-icon {
        margin: 0 auto;
    }
}


/* ============================================
   Empty State
============================================ */
.empty-state {
    text-align: center;
    padding: var(--spacing-3xl);
    color: var(--gray-400);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: var(--spacing-sm);
}

.empty-state p {
    margin-bottom: var(--spacing-lg);
}

/* ============================================
   PARALLAX EFFECTS & SCROLL ANIMATIONS
============================================ */

/* Parallax Hero Section */
.parallax-hero {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.parallax-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    transform: translateZ(-1px) scale(2);
    z-index: -1;
}

/* Parallax Background Layers */
.parallax-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    will-change: transform;
}

.parallax-layer {
    position: absolute;
    width: 100%;
    height: 120%;
    top: -10%;
    will-change: transform;
    transition: transform 0.1s linear;
}

.parallax-layer-slow {
    transform: translateY(var(--parallax-slow, 0));
}

.parallax-layer-medium {
    transform: translateY(var(--parallax-medium, 0));
}

.parallax-layer-fast {
    transform: translateY(var(--parallax-fast, 0));
}

/* Floating Decorative Elements */
.floating-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    will-change: transform;
    animation: float-gentle 8s ease-in-out infinite;
}

.floating-shape.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.floating-shape.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    top: 60%;
    right: -3%;
    animation-delay: -2s;
}

.floating-shape.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--secondary);
    bottom: 20%;
    left: 10%;
    animation-delay: -4s;
}

.floating-shape.shape-4 {
    width: 100px;
    height: 100px;
    background: var(--primary);
    top: 30%;
    right: 15%;
    animation-delay: -6s;
}

@keyframes float-gentle {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(5deg);
    }

    50% {
        transform: translateY(0) rotate(0deg);
    }

    75% {
        transform: translateY(20px) rotate(-5deg);
    }
}

/* Floating Wave Animation */
.floating-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='rgba(255,255,255,0.1)' d='M0,50 C360,100 720,0 1080,50 C1260,75 1380,50 1440,50 L1440,100 L0,100 Z'/%3E%3C/svg%3E") repeat-x;
    animation: wave-flow 15s linear infinite;
    opacity: 0.5;
}

@keyframes wave-flow {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ============================================
   SCROLL-TRIGGERED ANIMATIONS
============================================ */

/* Base state for scroll animations */
.scroll-animate {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.scroll-animate.animated {
    opacity: 1;
}

/* Fade In */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-fade-in.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Slide Up */
.scroll-slide-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-slide-up.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Slide Left */
.scroll-slide-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-slide-left.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Slide Right */
.scroll-slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-slide-right.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Scale In */
.scroll-scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-scale-in.animated {
    opacity: 1;
    transform: scale(1);
}

/* Rotate In */
.scroll-rotate-in {
    opacity: 0;
    transform: rotate(-10deg) translateY(30px);
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-rotate-in.animated {
    opacity: 1;
    transform: rotate(0) translateY(0);
}

/* Zoom In from Far */
.scroll-zoom-in {
    opacity: 0;
    transform: scale(0.5) translateY(50px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-zoom-in.animated {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Blur In */
.scroll-blur-in {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-blur-in.animated {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* ============================================
   STAGGER DELAYS FOR CARD GROUPS
============================================ */

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

.stagger-6 {
    transition-delay: 0.6s;
}

/* ============================================
   3D TILT & DEPTH EFFECTS
============================================ */

.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.tilt-card:hover {
    transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.depth-effect {
    position: relative;
    transform-style: preserve-3d;
}

.depth-effect::after {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    filter: blur(20px);
    opacity: 0;
    transform: translateZ(-50px) scale(1.1);
    transition: opacity 0.3s ease;
    z-index: -1;
}

.depth-effect:hover::after {
    opacity: 0.3;
}

/* ============================================
   SECTION PARALLAX BACKGROUNDS
============================================ */

.section-parallax {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@supports (-webkit-overflow-scrolling: touch) {

    /* Fallback for iOS devices where fixed attachment doesn't work */
    .section-parallax {
        background-attachment: scroll;
    }
}

/* Parallax Section with Overlay */
.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-section .parallax-image {
    position: absolute;
    inset: -20%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

/* ============================================
   WAVE DIVIDERS BETWEEN SECTIONS
============================================ */

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-divider .shape-fill {
    fill: var(--white);
}

.wave-divider-top {
    top: 0;
    bottom: auto;
    transform: rotate(180deg);
}

/* Animated Wave */
.wave-animated {
    animation: wave-move 3s ease-in-out infinite;
}

@keyframes wave-move {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-25px);
    }
}

/* ============================================
   DIAGONAL DIVIDER
============================================ */

.diagonal-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom right, transparent 49.5%, var(--white) 50%);
}

.diagonal-divider-top {
    top: 0;
    bottom: auto;
    background: linear-gradient(to top left, transparent 49.5%, var(--white) 50%);
}

/* ============================================
   HERO PARALLAX ENHANCED
============================================ */

.hero.parallax-hero .hero-content {
    position: relative;
    z-index: 2;
    transform: translateZ(0);
}

.hero.parallax-hero .hero-bg {
    transform: translateZ(-2px) scale(3);
}

.hero-floating-element {
    position: absolute;
    opacity: 0.15;
    pointer-events: none;
    will-change: transform;
}

.hero-floating-element.element-1 {
    width: 400px;
    height: 400px;
    border: 2px solid var(--secondary);
    border-radius: 50%;
    top: 10%;
    left: -10%;
    animation: pulse-rotate 20s linear infinite;
}

.hero-floating-element.element-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    top: 50%;
    right: -5%;
    animation: float-gentle 10s ease-in-out infinite;
}

.hero-floating-element.element-3 {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    border-radius: 50%;
    bottom: 30%;
    left: 15%;
    animation: float-gentle 6s ease-in-out infinite reverse;
}

@keyframes pulse-rotate {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.1;
    }

    50% {
        transform: rotate(180deg) scale(1.1);
        opacity: 0.2;
    }

    100% {
        transform: rotate(360deg) scale(1);
        opacity: 0.1;
    }
}

/* ============================================
   PAGE HEADER PARALLAX
============================================ */

.page-header.parallax-header {
    position: relative;
    overflow: hidden;
}

.page-header.parallax-header .page-header-video-bg {
    transform: translateY(var(--header-parallax, 0));
    will-change: transform;
    transition: transform 0.1s linear;
}

/* ============================================
   CARD HOVER 3D EFFECTS
============================================ */

.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-3d:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) translateZ(20px);
}

.card-3d .card-content {
    transform: translateZ(30px);
}

/* Shine effect on hover */
.card-shine {
    position: relative;
    overflow: hidden;
}

.card-shine::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 60%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
    z-index: 10;
}

.card-shine:hover::before {
    transform: rotate(45deg) translateX(100%);
}

/* ============================================
   SCROLL PROGRESS INDICATOR
============================================ */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
    width: 0%;
    transition: width 0.1s linear;
}

/* ============================================
   SECTION REVEAL ANIMATION
============================================ */

.section-reveal {
    position: relative;
}

.section-reveal::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--white);
    transform-origin: left;
    transform: scaleX(1);
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.section-reveal.revealed::before {
    transform: scaleX(0);
    transform-origin: right;
}

/* ============================================
   MAGNETIC BUTTON EFFECT
============================================ */

.btn-magnetic {
    position: relative;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   TEXT REVEAL ANIMATION
============================================ */

.text-reveal {
    overflow: hidden;
}

.text-reveal span {
    display: inline-block;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-reveal.animated span {
    transform: translateY(0);
}

/* Stagger text reveal */
.text-reveal span:nth-child(1) {
    transition-delay: 0.0s;
}

.text-reveal span:nth-child(2) {
    transition-delay: 0.1s;
}

.text-reveal span:nth-child(3) {
    transition-delay: 0.2s;
}

.text-reveal span:nth-child(4) {
    transition-delay: 0.3s;
}

.text-reveal span:nth-child(5) {
    transition-delay: 0.4s;
}

/* ============================================
   RESPONSIVE PARALLAX ADJUSTMENTS
============================================ */

@media (max-width: 991px) {
    .floating-shape {
        display: none;
    }

    .hero-floating-element {
        display: none;
    }

    .scroll-animate,
    .scroll-fade-in,
    .scroll-slide-up,
    .scroll-slide-left,
    .scroll-slide-right,
    .scroll-scale-in {
        opacity: 1 !important;
        transform: none !important;
    }

    .parallax-layer {
        transform: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {

    .scroll-animate,
    .scroll-fade-in,
    .scroll-slide-up,
    .scroll-slide-left,
    .scroll-slide-right,
    .scroll-scale-in,
    .scroll-rotate-in,
    .scroll-zoom-in,
    .scroll-blur-in {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .floating-shape,
    .floating-wave,
    .hero-floating-element {
        animation: none;
    }
}

/* ============================================
   GALLERY HORIZONTAL SCROLL SECTION
============================================ */

/* Container for horizontal scrolling gallery */
.gallery-horizontal-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: var(--spacing-md) 0;
}

/* Horizontal grid that scrolls */
.gallery-horizontal-grid {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-md);
    will-change: transform;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

/* Project cards in gallery */
.gallery-project-card {
    flex: 0 0 350px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all var(--transition-premium);
    border: 2px solid transparent;
}

.gallery-project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary);
}

.project-card-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--gray-200);
}

.project-card-image img,
.project-card-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-project-card:hover .project-card-image img,
.gallery-project-card:hover .project-card-image video {
    transform: scale(1.1);
}

.video-play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    transition: all var(--transition-normal);
    pointer-events: none;
}

.project-card-content {
    padding: var(--spacing-lg);
}

.project-category-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-more-photos {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-top: var(--spacing-sm);
}

/* Scroll Indicators */
.gallery-scroll-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-normal);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: var(--shadow-lg);
}

.gallery-scroll-indicator.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.gallery-scroll-indicator:hover {
    background: var(--secondary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-xl);
}

.gallery-scroll-indicator i {
    font-size: 1.25rem;
    color: var(--primary);
}

.gallery-scroll-indicator.left {
    left: var(--spacing-lg);
}

.gallery-scroll-indicator.right {
    right: var(--spacing-lg);
}

/* Lightbox for viewing gallery images */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.lightbox.show {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
}

.lightbox-caption {
    margin-top: var(--spacing-lg);
    text-align: center;
    color: var(--white);
}

.lightbox-caption h4 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.lightbox-caption p {
    color: var(--gray-300);
    font-size: 1rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--white);
    color: var(--white);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 1.5rem;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--white);
    color: var(--primary);
    transform: scale(1.1);
}

.lightbox-close {
    top: var(--spacing-lg);
    right: var(--spacing-lg);
}

.lightbox-prev {
    left: var(--spacing-xl);
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next {
    right: var(--spacing-xl);
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Responsive adjustments for gallery */
@media (max-width: 991px) {
    .gallery-project-card {
        flex: 0 0 300px;
    }

    .project-card-image {
        height: 220px;
    }

    .gallery-scroll-indicator {
        width: 40px;
        height: 40px;
    }

    .gallery-scroll-indicator i {
        font-size: 1rem;
    }
}

@media (max-width: 575px) {
    .gallery-project-card {
        flex: 0 0 280px;
    }

    .project-card-image {
        height: 200px;
    }

    .gallery-scroll-indicator {
        display: none;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ============================================
   Arcon Yachts Style Sections
============================================ */

/* Ships Section */
.ships-section {
    padding: var(--spacing-4xl) 0;
}

.ships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.ship-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-premium);
    cursor: pointer;
}

.ship-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.ship-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--gray-200);
}

.ship-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.ship-card:hover .ship-image img {
    transform: scale(1.1);
}

.ship-content {
    padding: 1.5rem;
}

.ship-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.ship-specs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.ship-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
}

.ship-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Background Pattern */
.bg-pattern {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(27, 122, 140, 0.85);
    z-index: 0;
}

.bg-pattern>.container {
    position: relative;
    z-index: 1;
}

/* Featured Section */
.featured-section {
    padding: var(--spacing-4xl) 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.featured-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.featured-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.featured-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.featured-count {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Construction Section */
.construction-section {
    padding: var(--spacing-4xl) 0;
}

.construction-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: center;
}

.construction-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-item .stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.construction-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.construction-content p {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.8;
}

.construction-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.construction-feature h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.construction-feature p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Management Section */
.management-section {
    padding: var(--spacing-4xl) 0;
}

.management-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.management-item {
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.management-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.management-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.2;
}

.management-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.management-item p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.management-link {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-normal);
}

.management-link:hover {
    color: var(--primary-dark);
    gap: 0.75rem;
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-4xl) 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 991px) {
    .construction-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .construction-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .ships-grid,
    .management-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 2rem;
    }

    .construction-content h2 {
        font-size: 2rem;
    }

    .construction-features {
        grid-template-columns: 1fr;
    }
}

/* NEW GALLERY GRID TEMPLATE (ITEM BASED) */
.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 58, 87, 0.2);
}

.gallery-grid-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.gallery-item-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.gallery-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.gallery-item-card.hidden {
    display: none;
}

.gallery-item-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    cursor: pointer;
    background: #f0f0f0;
}

.gallery-item-image img,
.gallery-item-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item-card:hover .gallery-item-image img,
.gallery-item-card:hover .gallery-item-image video {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.gallery-item-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item-card:hover .gallery-overlay i {
    transform: scale(1);
}

.gallery-item-info {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.gallery-cat-badge {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-item-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.gallery-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: auto;
    border-top: 1px solid var(--gray-100);
    padding-top: 0.75rem;
}

.gallery-meta i {
    margin-right: 0.3rem;
}

@media (max-width: 768px) {
    .gallery-grid-items {
        gap: 1.5rem;
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .gallery-filter {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid-items {
        grid-template-columns: 1fr;
    }
}

/* FULL FRAME ABSOLUTE */
.gallery-slide img,
.carousel-slide-horizontal img,
.project-card-image img,
.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--focal, center 25%);
    display: block;
}

/* =====================================
   FIX TITLE SIZE - GALLERY CARD HEADER
===================================== */

/* Judul kategori di card galeri */
.gallery-card-header h3,
.gallery-category-card h3,
.gallery-item-card h4 {
    font-size: 1.05rem;
    /* kecil & rapi */
    font-weight: 600;
    line-height: 1.3;
    color: var(--gray-800);
    margin: 0;
}

/* Icon di kiri judul */
.gallery-card-header i {
    font-size: 1.2rem;
}

/* Badge jumlah foto (4 Foto, 16 Foto, dll) */
.gallery-card-header .photo-count {
    font-size: 0.75rem;
    padding: 0.25rem 0.65rem;
    font-weight: 500;
}

/* Responsive – mobile */
@media (max-width: 768px) {

    .gallery-card-header h3,
    .gallery-category-card h3 {
        font-size: 0.95rem;
    }
}




/* ============================================
   Album Grid View Overlay
============================================ */
.album-grid-view {
    position: fixed;
    inset: 0;
    background: #f5f7f9;
    z-index: 9998;
    /* Below Lightbox (9999) */
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.album-grid-view.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.album-grid-header {
    background: white;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.album-back-btn {
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.album-back-btn:hover {
    background: var(--gray-100);
}

.album-grid-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--gray-800);
    flex: 1;
    text-align: center;
    padding-right: 60px;
    /* Balance back button */
}

.album-grid-view .container {
    flex: 1;
    width: 100%;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    /* Return to Flex for centering */
    flex-direction: column;
    align-items: center;
    /* Center the grid container horizontally */
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Album Grid View (Grid Layout Replacement) */
.album-items-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    /* Default to 2 columns on small screens, adjusts up automatically */
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem;
}

.album-grid-item {
    position: relative;
    cursor: pointer;
    background: #e0e0e0;
    overflow: hidden;
    border-radius: 8px;
    /* Aspect ratio square for grid items */
    aspect-ratio: 1;
}

.album-grid-item img,
.album-grid-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.album-grid-item:hover img,
.album-grid-item:hover video {
    transform: scale(1.05);
}

.video-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

@media (min-width: 768px) {
    .album-items-grid {
        /* 3 Columns on tablet/desktop */
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        padding: 2rem;
    }
}

@media (min-width: 1024px) {
    .album-items-grid {
        /* Optionally 4 columns on larger screens, or stay at 3 */
        grid-template-columns: repeat(3, 1fr);
    }
}
