/* =========================================
   VERANTEC Landing Page Clone - Styles
   ========================================= */

:root {
    --bg-color: #000000;
    --text-primary: #FFFFFF;
    --text-body: #9E9E9E;
    --font-primary: 'Encode Sans Condensed', sans-serif;
    --border-radius: 40px; /* For pill buttons */
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-body);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--text-body);
}

/* =========================================
   Typography
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
}

.intro-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.intro-text a {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.intro-text strong {
    color: var(--text-primary);
}

.mt-xl {
    margin-top: 4rem;
}

/* =========================================
   Header & Navigation
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    padding: 1rem 0;
    transition: background-color var(--transition-speed) ease;
}

.header.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Mobile Menu Button */
.hamburger-menu {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu .material-icons {
    font-size: 2rem;
}

/* Logo */
.logo-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-text {
    font-family: serif; /* Approximating the Bodoni/Didot style */
    font-size: 2.5rem;
    letter-spacing: 4px;
    font-weight: 700;
    line-height: 1;
}

.tagline {
    font-family: 'Brush Script MT', cursive; /* Handwritten approximation */
    font-size: 1.2rem;
    margin-top: -5px;
    transform: rotate(-3deg);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.icon-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border: 1px solid var(--text-primary);
    border-radius: 50%;
    border-radius: 50%;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.icon-link:hover {
    background-color: var(--text-primary);
    color: var(--bg-color);
}

.icon-link .icon {
    font-weight: bold;
    font-size: 1.1rem;
}

/* Mobile Navigation Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 999;
    padding-top: 6rem;
    padding-left: 2rem;
    transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    border-right: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav.open {
    left: 0;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    margin-bottom: 1.5rem;
}

.mobile-nav a {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Center horizontally */
    padding: 0 4rem;
    overflow: hidden;
}

/* Slideshow */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-1 { background-image: url('../assets/hero-bg.jpg'); }
.slide-2 { background-image: url('../assets/hero-bg-2.jpg'); }
.slide-3 { background-image: url('../assets/hero-bg-3.jpg'); }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark overlay so centered text is readable */
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content.centered {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease forwards;
}

.hero-content.centered .intro-text {
    margin: 0 auto 1.5rem auto;
}

.header-subtitle {
    position: absolute;
    top: 5rem;
    left: 4rem;
    z-index: 2;
    max-width: 800px;
}

.header-subtitle p {
    font-size: 0.9rem;
    color: var(--text-body);
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-top: 5rem;
    max-width: 900px;
    animation: fadeInUp 1s ease forwards;
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--text-primary);
    animation: bounce 2s infinite;
}

.scroll-down .material-icons {
    font-size: 3rem;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-15px) translateX(-50%); }
    60% { transform: translateY(-7px) translateX(-50%); }
}

/* =========================================
   Introductory Text Block
   ========================================= */
.intro-block {
    padding: 6rem 2rem 4rem 2rem;
    background-color: var(--bg-color);
}

.intro-block .container {
    max-width: 900px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.intro-block h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 2rem;
}

.intro-block p {
    font-size: 1.2rem;
    line-height: 1.8;
}

/* =========================================
   Services Grid
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 15px; /* Increased gap spacing */
    padding: 0 15px 15px 15px;
    background-color: var(--bg-color);
}

.service-card {
    position: relative;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    group: card;
}

.service-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0.6) grayscale(0.2);
}

.service-card:hover .service-bg {
    transform: scale(1.05);
    filter: brightness(0.8) grayscale(0);
}

/* Placeholder backgrounds for grid items */
.tontechnik-bg { background-color: #1a1a1a; background-image: url('../assets/placeholder1.jpg'); }
.lichttechnik-bg { background-color: #222; background-image: url('../assets/placeholder2.jpg'); }
.rigging-bg { background-color: #111; background-image: url('../assets/placeholder3.jpg'); }
.buehnenbau-bg { background-color: #151515; background-image: url('../assets/placeholder4.jpg'); }
.liveevents-bg { background-color: #2a2a2a; }
.digitalevents-bg { background-color: #1c1c1c; }
.tourservice-bg { background-color: #252525; }
.corporateevents-bg { background-color: #333; }
.ledwaende-bg { background-color: #181818; }
.team-bg { background-color: #282828; }
.news-bg { background-color: #121212; }
.jobs-bg { background-color: #1e1e1e; }


.service-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    text-align: center;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-content h3 {
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.3rem 1rem;
    font-size: 0.85rem;
    text-transform: lowercase;
    transition: background-color 0.3s ease;
}

.service-card:hover .badge {
    background-color: var(--text-primary);
    color: var(--bg-color);
}

/* =========================================
   About Section
   ========================================= */
.about-section {
    padding: 6rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.about-section p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.about-section a {
    text-decoration: underline;
    text-underline-offset: 4px;
    color: var(--text-body);
}

.about-section a:hover {
    color: var(--text-primary);
}

.cta-wrapper {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.mouse-icon {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.arrow-down-icon {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.btn-primary {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    border: 1px solid var(--text-primary);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 200%;
    height: 200%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: transform 0.5s ease;
    z-index: 0;
}

.btn-primary:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.btn-primary:hover {
    color: var(--text-primary);
}

/* =========================================
   Footer
   ========================================= */
.footer {
    padding: 0 4px 4px 4px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4px;
}

.footer-col {
    height: 200px;
}

.footer-link-box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-color: #111;
    transition: background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-link-box:hover {
    background-color: #222;
}

.box-text {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: lowercase;
    position: relative;
}

/* =========================================
   Cookie Badge
   ========================================= */
.cookie-badge {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--bg-color);
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.cookie-badge:hover {
    transform: scale(1.1);
}

/* =========================================
   Responsive Adjustments
   ========================================= */
@media (max-width: 1024px) {
    .social-links {
        display: none; /* Hide social links on smaller screens like original */
    }
    .logo-container {
        position: static;
        transform: none;
        margin: 0 auto;
    }
    .header-container {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 0 2rem;
    }
    .header-subtitle {
        display: none; /* Hide on mobile to save space */
    }
    .hero-content {
        margin-top: 2rem;
    }
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}
