/* caliber-solutions-styles.css */

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

body {
    font-family: Arial, sans-serif;
    color: white;
    line-height: 1.6;
}

/* Background styles */
.background {
    background-image: url('https://cdn.pixabay.com/photo/2017/05/04/16/37/meeting-2284501_1280.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.6);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Header styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
}

.logo img {
    height: 40px;
}

/* Hamburger button styles */
.hamburger {
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    display: none; /* Hidden by default */
}

/* Navigation menu styles */
.nav-menu {
    display: none; /* Hidden by default */
    flex-direction: column; /* Stack items vertically */
    width: 100%; /* Full width */
    position: absolute; /* Position it absolutely */
    top: 60px; /* Adjust based on header height */
    left: 0; /* Align to the left */
    background: rgba(0, 0, 0, 0.8); /* Background color */
    z-index: 1000; /* Ensure it appears above other content */
}

/* Show the menu when toggled */
.nav-menu.active {
    display: flex; /* Show the menu */
}

nav ul {
    display: flex;
    list-style-type: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ff4d4d;
}

nav ul li a.active {
    border-bottom: 2px solid #ff4d4d;
}

.login-btn {
    background-color: #ff4d4d;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background-color: #ff3333;
}

/* Main content styles */
.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

h1 {
    font-size: 3.5vw;
    margin-bottom: 30px;
    line-height: 1.2;
}

.cta-btn {
    background-color: #ff4d4d;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #ff3333;
}

/* Responsive styles */
@media screen and (max-width: 1024px) {
    h1 {
        font-size: 4vw;
    }
}

@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
    }

    .hamburger {
        display: block; /* Show hamburger on mobile */
    }

    nav ul {
        display: none; /* Hide original nav on mobile */
    }

    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 5px 10px;
    }

    .login-btn {
        margin-top: 20px;
    }

    h1 {
        font-size: 6vw;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 8vw;
    }

    .cta-btn {
        padding: 12px 24px;
        font-size: 16px;
    }
}
