/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #1a1a2e;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hexagon-logo {
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hexagon-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

.hamburger-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hamburger-menu:hover {
    transform: scale(1.05);
}

.menu-line {
    width: 30px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.hamburger-menu:hover .menu-line:nth-child(1) {
    width: 35px;
}

.hamburger-menu:hover .menu-line:nth-child(3) {
    width: 25px;
}

/* Hero Content */
.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 40px 80px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.scroll-text {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}

.scroll-arrow {
    animation: bounce 2s infinite;
    margin-top: 10px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(10px);
    }
    60% {
        transform: translateY(5px);
    }
}

/* Central Content */
.central-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
}

/* Headline */
.headline-container {
    text-align: center;
}

.headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: -2px;
    color: #ffffff;
}

.headline-line {
    display: block;
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out forwards;
}

.headline-line:nth-child(1) {
    animation-delay: 0.3s;
}

.headline-line:nth-child(2) {
    animation-delay: 0.6s;
}

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

/* Hexagonal Double Exposure Image */
.hexagon-image-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hexagon-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    clip-path: polygon(50% 5%, 87.5% 25%, 87.5% 75%, 50% 95%, 12.5% 75%, 12.5% 25%);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(2deg);
    }
    50% {
        transform: translateY(-10px) rotate(-1deg);
    }
    75% {
        transform: translateY(-15px) rotate(1deg);
    }
}

.double-exposure {
    position: relative;
    width: 100%;
    height: 100%;
}

.image-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.image-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cityscape {
    z-index: 2;
    opacity: 0.8;
    mix-blend-mode: normal;
}

.crystalline {
    z-index: 3;
    opacity: 0.6;
    mix-blend-mode: screen;
}

.crystalline img {
    filter: hue-rotate(-20deg) saturate(1.5) brightness(1.2);
}

/* Body Copy */
.body-copy {
    position: absolute;
    bottom: 80px;
    left: 40px;
    max-width: 600px;
}

.agency-description {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.3px;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out forwards;
    animation-delay: 1.2s;
}

/* Demo Content Below Hero */
.demo-content {
    min-height: 100vh;
    background-color: #0f1419;
    padding: 80px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-wrapper {
    text-align: center;
    max-width: 800px;
}

.content-wrapper h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.content-wrapper p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header {
        padding: 25px 30px;
    }
    
    .hero-content {
        padding: 100px 30px 60px;
    }
    
    .hexagon-image-container {
        max-width: 350px;
        height: 350px;
    }
    
    .hexagon-wrapper {
        width: 350px;
        height: 350px;
    }
    
    .scroll-indicator {
        left: 30px;
    }
    
    .body-copy {
        bottom: 60px;
        left: 30px;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .headline {
        font-size: clamp(36px, 6vw, 60px);
    }
    
    .hexagon-image-container {
        max-width: 280px;
        height: 280px;
    }
    
    .hexagon-wrapper {
        width: 280px;
        height: 280px;
    }
    
    .central-content {
        gap: 40px;
    }
    
    .scroll-indicator {
        left: 20px;
    }
    
    .body-copy {
        bottom: 40px;
        left: 20px;
        max-width: 400px;
    }
    
    .agency-description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 20px;
    }
    
    .hero-content {
        padding: 80px 20px 40px;
    }
    
    .headline {
        font-size: 36px;
    }
    
    .hexagon-image-container {
        max-width: 220px;
        height: 220px;
    }
    
    .hexagon-wrapper {
        width: 220px;
        height: 220px;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .body-copy {
        position: relative;
        bottom: auto;
        left: auto;
        text-align: center;
        margin-top: 40px;
        padding: 0 20px;
    }
    
    .agency-description {
        font-size: 12px;
    }
}

/* Enhanced Visual Effects */
.hexagon-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff006e, #8338ec, #3a86ff);
    clip-path: polygon(50% 5%, 87.5% 25%, 87.5% 75%, 50% 95%, 12.5% 75%, 12.5% 25%);
    z-index: -1;
    opacity: 0.5;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.7;
    }
}

/* Loading State */
.hero-section {
    animation: heroFadeIn 1.5s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Import Google Fonts for serif typography */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@300;400;500;600;700&display=swap');