/* Modern CSS with free-flowing design */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #9333ea;
    --primary-dark: #7e22ce;
    --text-dark: #333333;
    --text-light: #666666;
    --text-lighter: #888888;
    --white: #ffffff;
    --light-bg: #f8f8f8;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 400;
}

/* Modern Typography with lighter weights */
h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #555555;
}

h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    color: #555555;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #666666;
}

p {
    font-weight: 300;
    color: var(--text-light);
}

/* Header - Classic centered style */
header {
    background: #fff;
    padding: 1rem 1rem 2rem 1rem;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Social Media Bar */
.social-bar {
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    display: flex;
    gap: 1rem;
}

.social-bar a {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-bar a:hover {
    transform: scale(1.1);
    color: var(--primary-dark);
}

header.scrolled {
    padding: 0.5rem 1rem 1rem 1rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

header.scrolled .social-bar {
    top: 1.5rem;
    transform: none;
}

.logo-container {
    margin-bottom: 1rem;
}

.logo-container img {
    max-height: 70px;
    width: auto;
    height: auto;
    max-width: 90%;
    transition: transform 0.3s ease;
}

.logo-container a {
    display: inline-block;
}

.logo-container img:hover {
    transform: scale(1.05);
}

nav {
    margin-top: 1rem;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 0;
    margin: 0;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero with Background Image */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
    margin-top: 120px;
    background: url('../images/background.jpg') center center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 1;
}

.hero-content {
    text-align: left;
    color: white;
    z-index: 2;
    padding: 4rem 10%;
    padding-bottom: 6rem;
    animation: fadeInUp 1s ease-out;
    position: relative;
}

.hero-content-inner {
    max-width: 700px;
}

.hero-content h1 {
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7),
                 0px 0px 20px rgba(0, 0, 0, 0.5);
}

.hero-content .subtitle {
    color: white !important;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8),
                 0px 0px 15px rgba(0, 0, 0, 0.6);
}

.hero-content .subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.3);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
    text-shadow: none;
}

/* Sections */
section {
    padding: 5rem 5%;
    position: relative;
}

/* Info Section with Split Layout */
.info-section {
    background: var(--light-bg);
    padding: 5rem 5%;
}

.info-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.info-split.reverse {
    direction: rtl;
}

.info-split.reverse > * {
    direction: ltr;
}

.info-content h2 {
    margin-bottom: 1.5rem;
}

.info-content ul {
    list-style: none;
    margin-top: 2rem;
}

.info-content ul li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.info-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
    line-height: 1;
}

.info-image img {
    width: 100%;
    height: auto;
    max-width: 500px;
    margin: 0 auto;
    display: block;
}

.info-image.no-background img {
    border-radius: 0;
    box-shadow: none;
}

.info-image.with-background img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.price-boxes {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.price-highlight {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.price-highlight .price {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Asymmetric Layouts */
.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

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

.asymmetric-grid.reverse {
    direction: rtl;
}

.asymmetric-grid.reverse > * {
    direction: ltr;
}

/* Floating Images */
.floating-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.floating-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.image-overlay {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: var(--primary-color);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.2;
}

/* Reference Marquee */
.references-section {
    padding: 4rem 0;
    background: var(--light-bg);
    position: relative;
}

.references-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10%;
    overflow: hidden;
    position: relative;
}

.marquee {
    display: flex;
    width: fit-content;
    animation: marquee-smooth 40s linear infinite;
}

.marquee-content {
    display: flex;
    gap: 4rem;
    padding-right: 4rem;
    flex-shrink: 0;
}

.reference-item {
    height: 120px;
    display: flex;
    align-items: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.6s ease;
    flex-shrink: 0;
}

.reference-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.reference-item img {
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: all 0.6s ease;
}

/* Center highlight effect */
.references-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(147, 51, 234, 0.05) 50%, 
        transparent 100%);
    z-index: 1;
    pointer-events: none;
}

/* Target center items */
.reference-item.in-center {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
    transform: scale(1.3) !important;
}

/* Gallery Grid */
.gallery-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.gallery-item:nth-child(odd) {
    margin-top: 2rem;
}

.gallery-item:hover {
    transform: scale(1.05);
    z-index: 10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Service Cards Modern */
.services-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.service-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.service-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

.service-card-content {
    padding: 2.5rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.service-icon i {
    font-size: 1.5rem;
}

/* Text Reveal Animation */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    animation: revealText 0.8s ease-out forwards;
}

/* Video Container Modern */
.video-showcase {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.main-video {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.video-playlist {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.playlist-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.playlist-item:hover {
    transform: scale(1.05);
}

/* Full Width Video Section */
.video-fullwidth {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #000;
}

.video-fullwidth video {
    width: 100%;
    height: auto;
    display: block;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

/* Alternative with pauses */
@keyframes marquee-pause {
    0%, 5% { transform: translateX(0); }
    10%, 15% { transform: translateX(-12.5%); }
    20%, 25% { transform: translateX(-25%); }
    30%, 35% { transform: translateX(-37.5%); }
    40%, 45% { transform: translateX(-50%); }
    50%, 55% { transform: translateX(-62.5%); }
    60%, 65% { transform: translateX(-75%); }
    70%, 75% { transform: translateX(-87.5%); }
    80%, 85% { transform: translateX(-100%); }
    90%, 95% { transform: translateX(-112.5%); }
    100% { transform: translateX(-125%); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Mobile Menu */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    padding: 2rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

.mobile-menu-nav {
    padding: 2rem;
}

.mobile-menu-nav a {
    display: block;
    padding: 1rem 0;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s ease;
}

.mobile-menu-nav a:hover {
    color: var(--primary-color);
}

.mobile-menu-social {
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    border-top: 1px solid #f0f0f0;
}

.mobile-menu-social a {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.mobile-menu-overlay.active {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .social-bar {
        display: none;
    }
    
    .mobile-menu-button {
        display: block;
        position: relative;
        margin-left: auto;
    }
    
    .mobile-menu {
        display: block;
    }
    
    header {
        padding: 1rem;
    }
    
    .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .logo-container {
        margin-bottom: 0;
    }
    
    .logo-container img {
        max-height: 50px;
    }
    
    .hero-section {
        margin-top: 60px;
        height: 90vh;
        min-height: 600px;
    }
    
    .hero-content {
        padding: 2rem 5%;
        padding-bottom: 4rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .asymmetric-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .asymmetric-grid.reverse {
        direction: ltr;
    }
    
    .info-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .info-split.reverse {
        direction: ltr;
    }
    
    .info-split.reverse .info-image {
        order: 2;
    }
    
    .info-split.reverse .info-content {
        order: 1;
    }
    
    .video-showcase {
        grid-template-columns: 1fr;
    }
    
    .services-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gallery-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .gallery-item:nth-child(odd) {
        margin-top: 0;
    }
    
    section {
        padding: 3rem 5%;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .price-boxes {
        flex-direction: column;
    }
    
    .reference-item {
        height: 80px;
    }
}