/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Titillium+Web:wght@300;400;600;700&display=swap');

:root {
    --primary-font: 'Montserrat', sans-serif;
    --headline-font: 'Titillium Web', sans-serif;
    --text-color: #ffffff;
    --bg-overlay: rgba(0, 0, 0, 0.4);
    --button-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    --button-border: 1px solid rgba(255, 255, 255, 0.4);
}

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

body,
html {
    height: 100%;
    font-family: var(--primary-font);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Background Image */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('pictures/background-main.jpeg');
    /* Requested by user */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-overlay);
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
    /* Ensure contrast */
}

.logo {
    order: 1;
    /* Logo on left on desktop */
}

.logo img {
    max-width: 180px;
    height: auto;
}

.social-icons {
    display: flex;
    gap: 30px;
    /* Doubled spacing */
    order: 2;
    /* Icons on right on desktop */
}

.social-icons img {
    width: 70px;
    /* Doubled size */
    height: 70px;
    /* Doubled size */
    transition: transform 0.3s ease;
    /* Removed filter to show original colored icons */
}

/* Powered By Footer Styling - TechWalk-inspired */
.powered-by {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    /* Space between text and logo */
    color: rgb(161, 161, 170);
    /* Match TechWalk text color */
    font-weight: 600;
    /* Semi-bold text */
    letter-spacing: 0.5px;
    text-decoration: none;
    /* Remove link underline */
    padding: 16px 30px;
    /* Increased vertical padding for better centering */
    margin-top: 40px;
    /* More spacing from copyright to match TechWalk */
    border-radius: 50px;
    /* Pill shape */
    background: rgba(10, 10, 10, 0.8);
    /* Dark semi-transparent background */
    backdrop-filter: blur(5px);
    /* Glassmorphism effect */
    border: 1px solid rgba(98, 225, 248, 0.3);
    /* Cyan border with low opacity */
    box-shadow:
        rgba(98, 225, 248, 0.1) 0px 0px 15px,
        /* Outer glow */
        rgba(98, 225, 248, 0.05) 0px 0px 10px inset;
    /* Inner glow */
    transition: all 0.3s ease;
    /* Smooth transitions */
}

.powered-by span {
    font-size: 0.85rem;
}

.brevibot-logo {
    width: 106px;
    height: 50px;
    display: inline-block;
    /* Changed from block to keep logo on same line as text */
    filter: brightness(1) drop-shadow(rgba(255, 255, 255, 0.2) 0px 0px 2px);
    /* Initial subtle glow */
    transition: filter 0.3s ease, transform 0.3s ease;
    /* Smooth animation */
}

/* Hover effect intensifies the glow */
.powered-by:hover {
    border-color: rgba(98, 225, 248, 0.8);
    /* Brighter border on hover */
    box-shadow:
        rgba(98, 225, 248, 0.2) 0px 0px 25px,
        /* Stronger outer glow */
        rgba(98, 225, 248, 0.1) 0px 0px 15px inset;
    /* Stronger inner glow */
    transform: translateY(-2px);
    /* Lift up effect */
}

.powered-by:hover .brevibot-logo {
    filter: brightness(1.5) drop-shadow(rgba(98, 225, 248, 0.6) 0px 0px 5px);
    /* Intensify blue glow */
}

.social-icons img:hover {
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

h1.headline {
    font-family: var(--headline-font);
    font-size: 4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Premium Button */
.cta-button {
    display: inline-block;
    padding: 15px 40px;
    font-family: var(--headline-font);
    font-size: 1.2rem;
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    /* Slight radius */
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: #000000;
    color: #ffffff;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.footer-links {
    margin-bottom: 30px;
    display: flex;
    flex-direction: row;
    /* Desktop: links on same line */
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    /* No gap, separators handle spacing */
}

.footer-links .separator {
    color: #cccccc;
    margin: 0 15px;
    /* Spacing around separators */
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center copyright and powered-by */
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.9rem;
    margin: 0 10px;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffffff;
}

.copyright h2 {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 5px;
}



.powered-by a {
    color: inherit;
    text-decoration: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    header {
        padding: 20px;
        position: relative;
        /* Make header scroll with content on mobile */
        flex-direction: column;
        /* Stack elements vertically */
        gap: 30px;
        /* Spacing between social icons and logo */
    }

    .social-icons {
        width: 100%;
        display: flex;
        justify-content: center;
        /* Center the 3 icons */
        gap: 30px;
        /* Add spacing between icons */
        order: 0;
        /* Reset order for mobile - icons appear first */
    }

    .logo {
        order: 0;
        /* Reset order for mobile */
    }

    .social-icons img {
        width: 60px;
        /* Make icons bigger on mobile */
        height: 60px;
    }

    .logo {
        width: 100%;
        display: flex;
        justify-content: center;
        /* Center the logo */
    }

    .logo img {
        max-width: 140px;
    }

    .hero {
        margin-top: -120px;
        /* Offset header height to center content in viewport */
    }

    h1.headline {
        font-size: 2.5rem;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .footer-links .separator {
        display: none;
        /* Hide separators on mobile */
    }

    .footer-links a {
        margin: 0;
        /* Remove default margins */
    }

    .copyright .rights-text {
        display: block;
        /* Force 'All rights reserved' to new line on mobile */
    }
}