/* Contiamo GenAI Konferenz Landing Page Styles */

:root {
    --primary-color: #8C1D40; /* Burgundy/deep red from Contiamo's brand - used sparingly */
    --secondary-color: #f8f8f8; /* Light gray for backgrounds */
    --text-color: #333333; /* Dark gray for text */
    --accent-color: #0056b3; /* Blue accent for hover states */
    --white: #fffbf8; /* Very subtle warm white */
    --light-gray: #f5f5f5;
    --medium-gray: #cccccc;
    --dark-gray: #666666;
    --black: #000000;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

/* Apply Merriweather to all headings with reduced font weight */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-weight: 400; /* Lighter weight for all headings */
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0; /* Reduced to match the smaller logo */
}

.logo {
    height: 60px; /* Reduced to a smaller size as requested */
    display: flex;
    align-items: center;
}

.logo-img {
    height: 100%;
    max-width: 180px; /* Adjusted for the smaller logo */
    object-fit: contain;
}

.nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav ul li {
    margin-left: 30px;
    display: flex;
    align-items: center;
}

.nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400;
    transition: var(--transition);
}

.nav ul li a:hover {
    color: var(--primary-color);
}

.btn-register {
    background-color: #F8E788; /* Yellow/gold color similar to the image */
    color: var(--black) !important;
    padding: 8px 20px;
    border-radius: 50px; /* Pill shape */
    transition: var(--transition);
    display: inline-block;
    font-weight: 400;
    text-align: center;
}

.btn-register:hover {
    background-color: #F5DC6C; /* Slightly darker shade when hovering */
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7));
    color: var(--white);
    padding: 0;
    text-align: center;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.video-container video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
}

.hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 100px 20px; /* Reduced to match the smaller header height */
}

/* Mute/Unmute Button Styles */
.mute-toggle {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.mute-toggle:hover {
    background: rgba(0, 0, 0, 0.7);
}

.mute-toggle svg {
    width: 24px;
    height: 24px;
    fill: white;
    stroke: white;
}

/* When video is muted, hide sound waves and show X */
.muted .sound-wave {
    display: none;
}

/* When video is unmuted, show sound waves and hide X */
.mute-x {
    display: none;
}

.muted .mute-x {
    display: inline;
}

@media (max-width: 768px) {
    .video-container video {
        /* Ensure video is still visible on smaller screens */
        height: 100%;
        width: auto;
    }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.conference-label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero h1 {
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.2;
}

.tagline {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px; /* Pill shape */
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition);
}

.btn-primary {
    background-color: #F8E788; /* Yellow/gold color similar to the image */
    color: var(--black);
}

.btn-primary:hover {
    background-color: #F5DC6C; /* Slightly darker shade when hovering */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.registration-closed {
    font-size: 20px;
    font-weight: 500;
    color: var(--primary-color);
    margin: 20px 0;
    text-align: center;
}

/* Specific styling for registration-closed in hero section */
.hero .registration-closed {
    color: var(--white);
    opacity: 0.9;
    font-size: 18px;
}

/* About Section */
.about {
    padding: 100px 0 60px;
    background-color: var(--white);
}

.section-content {
    max-width: 1000px;
    margin: 0 auto;
}

.section-content h2 {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 20px;
    text-align: center;
    color: var(--text-color);
}

.agenda-intro {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color);
    font-weight: 300;
}

.section-content > p {
    font-size: 18px;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.info-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.card {
    flex: 1;
    min-width: 250px;
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.card-icon svg {
    color: var(--white);
}

.card h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 15px;
}

.card p {
    font-size: 16px;
    color: var(--dark-gray);
}

/* Agenda Section */
.agenda {
    padding: 60px 0 100px;
    background-color: #eeeeee; /* Darker gray than var(--light-gray) */
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 120px;
    width: 1px;
    background-color: var(--medium-gray);
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
    left: 114px;
    top: 15px;
}

.timeline-item.break::before {
    background-color: var(--medium-gray);
}

.timeline-item.social::before {
    background-color: var(--primary-color); /* Changed from accent-color (blue) to primary-color (burgundy) to match other timeline dots */
}

.time {
    width: 100px;
    font-weight: 600;
    font-size: 14px;
    padding-top: 10px;
}

.event {
    margin-left: 50px;
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--shadow);
    flex: 1;
}

.event h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 10px;
    color: var(--text-color);
}

.timeline-item.break .event h3 {
    color: var(--dark-gray);
}

.timeline-item.social .event h3 {
    color: var(--text-color); /* Changed from accent-color to text-color to match other agenda items */
}

.event p {
    font-size: 16px;
    margin-bottom: 10px;
}

.event ul {
    margin-left: 20px;
    margin-bottom: 10px;
}

.event ul li {
    margin-bottom: 5px;
}

.speaker {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
}

/* Register Section */
.register {
    padding: 100px 0;
    background-color: var(--white);
    text-align: center;
}

.register .btn-primary {
    background-color: #F8E788; /* Yellow/gold color similar to the image */
    color: var(--black);
    margin-bottom: 20px;
}

.register .btn-primary:hover {
    background-color: #F5DC6C; /* Slightly darker shade when hovering */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.note {
    font-size: 14px;
    color: var(--dark-gray);
    font-style: italic;
}

/* Timeline Section */
.timeline-section {
    padding: 100px 0;
    background-color: #eeeeee; /* Same darker gray as agenda section */
}

.event-timeline {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.event-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background-color: var(--medium-gray);
}

.timeline-milestone {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.timeline-milestone::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
    left: calc(50% - 6px);
    top: 15px;
}

.date {
    width: 45%;
    text-align: right;
    padding-right: 30px;
    font-weight: 600;
}

.milestone {
    width: 45%;
    padding-left: 30px;
}

/* Footer */
.footer {
    background-color: #0A0205; /* Very dark brown/black color from the image */
    color: var(--white);
    padding: 60px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-logo {
    height: 80px; /* Increased from 60px to match navbar */
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 100%;
    max-width: 180px; /* Adjusted size for the white logo */
    object-fit: contain;
}

.footer-info {
    margin: 20px 0;
}

.footer-info p {
    margin-bottom: 10px;
}

.footer-info a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-info a:hover {
    color: var(--medium-gray);
}

.footer-social {
    display: flex;
    align-items: center;
}

.footer-legal-links {
    margin-left: 15px;
    display: flex;
    align-items: center;
}

.footer-legal-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    margin: 0 5px;
}

.footer-legal-links a:hover {
    color: var(--medium-gray);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    transition: var(--transition);
}

.social-icon svg {
    color: var(--white);
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Quote Section Styling (for testimonials) */
.quote-section {
    padding: 80px 0;
    background-color: var(--white);
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.quote-mark {
    font-size: 120px;
    color: var(--light-gray);
    position: absolute;
    top: -60px;
    left: -40px;
    font-family: Georgia, serif;
    z-index: -1;
}

.quote-text {
    font-size: 24px;
    line-height: 1.6;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.quote-author {
    font-weight: 600;
    font-size: 18px;
    color: var(--text-color);
}

.quote-title {
    font-size: 14px;
    color: var(--dark-gray);
    margin-top: 5px;
}

/* Strategy Steps (from mockup) */
.strategy-steps {
    padding: 80px 0;
    background-color: var(--white);
}

.step {
    display: flex;
    margin-bottom: 60px;
    position: relative;
}

.step-number {
    font-size: 24px;
    font-weight: 400;
    margin-right: 30px;
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 12px;
    width: 1px;
    height: calc(100% + 40px);
    background-color: var(--medium-gray);
}

.step:last-child .step-number::after {
    display: none;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 15px;
}

.step-description {
    font-size: 16px;
    color: var(--dark-gray);
    max-width: 500px;
}

/* Sponsors Section */
.sponsors {
    background-color: #8C1D40; /* Burgundy color from the screenshot */
    padding: 40px 0;
    margin: 50px 0;
}

.sponsors-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.sponsors h2 {
    color: var(--white);
    margin-bottom: 30px;
}

.sponsors-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.sponsor-logo {
    max-width: 120px;
    filter: brightness(0) invert(1); /* Makes logos white */
    opacity: 0.9;
    transition: var(--transition);
}

.sponsor-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Burgundy Accent Styles */
.burgundy-accent {
    color: #8C1D40;
    font-weight: 400;
}

.highlight-box {
    border-left: 4px solid #8C1D40;
    padding-left: 15px;
    margin: 30px 0;
    background-color: rgba(140, 29, 64, 0.05);
    padding: 20px;
    border-radius: 0 8px 8px 0;
}

.highlight-box p {
    text-align: left;
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 40px;
    }

    .info-cards {
        justify-content: center;
    }

    .card {
        min-width: 200px;
    }

    .timeline::before {
        left: 80px;
    }

    .timeline-item::before {
        left: 73px;
    }

    .time {
        width: 70px;
        font-size: 12px;
    }

    .event {
        margin-left: 40px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }
    
    .logo {
        height: 55px; /* Adjusted to be proportional to desktop size */
    }

    .nav ul {
        margin-top: 20px;
    }

    .nav ul li {
        margin-left: 15px;
        margin-right: 15px;
    }

    .hero {
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
    
    .hero .container {
        padding: 100px 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .tagline {
        font-size: 18px;
    }

    .section-content h2 {
        font-size: 28px;
    }

    .timeline::before {
        display: none;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-item::before {
        display: none;
    }

    .time {
        width: 100%;
        margin-bottom: 10px;
        padding-top: 0;
    }

    .event {
        margin-left: 0;
    }

    .event-timeline::before {
        display: none;
    }

    .timeline-milestone {
        flex-direction: column;
    }

    .timeline-milestone::before {
        display: none;
    }

    .date, .milestone {
        width: 100%;
        text-align: left;
        padding: 0;
        margin-bottom: 5px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
        margin-top: 20px;
        flex-direction: column;
    }
    
    .footer-legal-links {
        margin-left: 0;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav ul li {
        margin-bottom: 10px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .btn {
        padding: 10px 20px;
    }
}
