/* ============================================
   ARCON YACHTS STYLE - INDEX PAGE
   Homepage styling matching Arcon Yachts layout
============================================ */

/* ============================================
   Hero Section - Simple Arcon Style
============================================ */
.hero-arcon-simple {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.hero-arcon-simple .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-arcon-simple .hero-image-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.hero-arcon-simple video.hero-image-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.hero-arcon-simple .hero-pattern-overlay {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    mix-blend-mode: overlay;
    z-index: 2;
}

.hero-arcon-simple .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
    z-index: 3;
}

.hero-arcon-simple .container {
    position: relative;
    z-index: 10;
}

.hero-content-simple {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-title-simple {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle-simple {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-buttons-simple {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Ships Showcase - Horizontal Scroll
============================================ */
.ships-showcase-section {
    padding: 5rem 0;
}

.ships-scroll-container {
    overflow: hidden;
    margin-top: 3rem;
    position: relative;
    cursor: grab;
    user-select: none;
}

.ships-scroll-container:active {
    cursor: grabbing;
}

.ships-scroll-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 1rem;
}

.ships-scroll-track::-webkit-scrollbar {
    display: none;
}

.ship-card-arcon {
    flex: 0 0 350px;
    width: 350px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    cursor: pointer;
}

.ship-card-arcon:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.ship-image-arcon {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--gray-200);
}

.ship-image-arcon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.ship-card-arcon:hover .ship-image-arcon img {
    transform: scale(1.1);
}

.ship-info-arcon {
    padding: 1.5rem;
}

.ship-info-arcon h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.ship-price-arcon {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-600);
    margin: 0;
}

.ship-link-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* ============================================
   Featured Categories - Grid
============================================ */
.featured-categories-section {
    padding: 5rem 0;
}

.featured-categories-section .section-title {
    color: var(--white) !important;
}

.featured-categories-section .section-header {
    color: var(--white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.category-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.category-count {
    font-size: 0.875rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   Construction Section
============================================ */
.construction-section {
    padding: 5rem 0;
}

.construction-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
    margin-bottom: 5rem;
    align-items: center;
}

.construction-stats-col {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.stat-large {
    text-align: center;
    padding: 2rem 0;
}

.stat-large-number {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 1rem;
}

.stat-large-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-title-large {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.construction-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.8;
}

.construction-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.construction-feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.construction-feature-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* ============================================
   Management Services - Numbered Grid
============================================ */
.management-services-section {
    padding: 5rem 0;
}

.management-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.management-service-card {
    padding: 2.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-200);
}

.management-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.service-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 1.5rem;
    opacity: 0.15;
}

.management-service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.management-service-card p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 1rem;
}

.service-link:hover {
    color: var(--primary-dark);
    gap: 0.75rem;
}

.service-link::after {
    content: '→';
    transition: transform var(--transition-fast);
}

.service-link:hover::after {
    transform: translateX(3px);
}

/* ============================================
   CTA Section - Arcon Style
============================================ */
.cta-section-arcon {
    padding: 6rem 0;
}

.cta-content-arcon {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.cta-content-arcon h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-content-arcon p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

/* ============================================
   Responsive
============================================ */
@media (max-width: 991px) {
    .construction-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .construction-stats-col {
        flex-direction: row;
        justify-content: space-around;
    }

    .stat-large {
        padding: 1rem 0;
    }

    .ship-card-arcon {
        flex: 0 0 300px;
        width: 300px;
    }
}

@media (max-width: 767px) {
    .hero-arcon-simple {
        min-height: 90vh;
    }

    .hero-content-simple {
        padding: 1rem;
    }

    .hero-buttons-simple {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons-simple .btn {
        width: 100%;
        max-width: 300px;
    }

    .ships-scroll-track {
        gap: 1.5rem;
    }

    .ship-card-arcon {
        flex: 0 0 280px;
        width: 280px;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .construction-features-grid,
    .management-services-grid {
        grid-template-columns: 1fr;
    }

    .cta-content-arcon h2 {
        font-size: clamp(1.75rem, 3vw, 2.5rem);
    }
}

@media (max-width: 575px) {
    .construction-stats-col {
        flex-direction: column;
        gap: 2rem;
    }

    .category-card {
        padding: 2rem 1.5rem;
    }

    .management-service-card {
        padding: 2rem;
    }

    .service-number {
        font-size: 3rem;
    }
}

/* ============================================
   Preloader & Opening Animation
============================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--black);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
}

.preloader-logo {
    width: 100px;
    height: auto;
    object-fit: contain;
    animation: logoPulse 2s infinite ease-in-out;
}

.loading-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.loading-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--secondary);
    border-radius: var(--radius-full);
    animation: loadProgress 1.5s ease-out forwards;
}

/* Animations Keyframes */
@keyframes logoPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

@keyframes loadProgress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* Hero Content Opening Animations */
.hero-content-simple .hero-title-simple,
.hero-content-simple .hero-subtitle-simple,
.hero-content-simple .hero-buttons-simple,
.hero-content .hero-badge,
.hero-content .hero-title,
.hero-content .hero-subtitle,
.hero-content .hero-buttons {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.hero-animate-active .hero-title-simple,
.hero-animate-active .hero-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.hero-animate-active .hero-subtitle-simple,
.hero-animate-active .hero-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.hero-animate-active .hero-buttons-simple,
.hero-animate-active .hero-buttons,
.hero-animate-active .hero-badge {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.hero-arcon-simple .hero-image-bg,
.hero-arcon-simple video.hero-image-bg {
    transform: scale(1.1);
    transition: transform 2s ease-out;
}

.hero-animate-active .hero-image-bg,
.hero-animate-active video.hero-image-bg {
    transform: scale(1);
}

/* Mobile */
@media (max-width: 991px) {
    .loading-bar {
        width: 150px;
    }

    .preloader-logo {
        width: 80px;
    }
}