/* GEOMIM Website Styles - Matching Original Design */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-terracotta: #C85A3A;
    --color-dark-green: #2D4A2D;
    --color-beige: #F5F1EB;
    --color-dark: #1A1A1A;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-grey: #666666;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--color-beige);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 30px 0;
    transition: background 0.3s;
}

.header.scrolled {
    background: rgba(26, 26, 26, 0.95);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-white);
    text-transform: uppercase;
}

.nav {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 400;
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 0.7;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-white);
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav.mobile-open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 1000;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-image,
.slide-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-video {
    position: absolute;
    top: 0;
    left: 0;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
}

.slide-content {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--color-white);
    width: 90%;
    max-width: 1200px;
    z-index: 10;
}

.slide-title {
    font-size: 72px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slide-tagline {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 30px;
    font-style: italic;
}

.slide-description {
    font-size: 16px;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 20;
}

.slider-btn {
    background: transparent;
    border: 1px solid var(--color-white);
    color: var(--color-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.slider-btn:hover {
    background: var(--color-white);
    color: var(--color-dark);
}

/* Main Content Section */
.main-content {
    padding: 100px 0;
    background: var(--color-beige);
}

.section-title {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-dark);
}

.section-description {
    font-size: 16px;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: var(--color-grey);
}

/* News Section */
.news-section {
    padding: 80px 0;
    background: var(--color-beige);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.news-item {
    position: relative;
}

.news-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    background: var(--color-dark);
}

.news-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: var(--color-white);
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.3);
}

.news-caption {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-grey);
}

/* Video Banner Section */
.video-banner-section {
    width: 100%;
    height: 80vh;
    position: relative;
    overflow: hidden;
}

.video-banner-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-banner,
.video-banner-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-banner-placeholder {
    background-size: cover;
    background-position: center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.video-banner-text {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;
    width: 90%;
    max-width: 1200px;
    line-height: 1.4;
    z-index: 10;
}

/* Projects Section */
.projects-section {
    padding: 100px 0;
    background: var(--color-beige);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.project-item {
    text-align: center;
}

.project-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    background: var(--color-dark);
    margin-bottom: 20px;
}

.project-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.project-item:hover .project-image {
    transform: scale(1.05);
}

.project-title {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-dark);
}

/* Footer */
.footer {
    padding: 60px 0;
    background: var(--color-beige);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-logo {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-black);
}

.footer-contact {
    font-size: 14px;
    color: var(--color-black);
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .news-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .slide-title {
        font-size: 56px;
    }
    
    .video-banner-text {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .slide-title {
        font-size: 36px;
        letter-spacing: 2px;
    }
    
    .slide-tagline {
        font-size: 14px;
    }
    
    .slide-description {
        font-size: 14px;
    }
    
    .news-grid,
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .video-banner-text {
        font-size: 20px;
        padding: 0 20px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .footer-logo {
        font-size: 36px;
    }
    
    .main-content {
        padding: 60px 0;
    }
    
    .news-section,
    .projects-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .slide-title {
        font-size: 28px;
    }
    
    .video-banner-text {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 20px;
    }
}

