/* Ensure accurate width and padding calculation */
* {
    box-sizing: border-box;
}
/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    background-color: black;
    color: #e4bc13;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Top Bar with Phone Numbers */
.top-bar {
    width: 100%;
    display: flex;
}

.top-bar-item {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    margin: 5px; /* Space between the two top bar items */
    transition: background-color 0.3s, color 0.3s; /* Add transition for the entire item */
    border-radius: 15px; /* Round the corners */
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5), 
                -5px -5px 15px rgba(255, 255, 0, 0.2); /* Shadow for depth */
}

.black-shade {
    background-color: #2b2b2b; /* Brighter black shade */
    color: #e4bc13;
}

.silver-shade {
    background-color: #404040; /* Different blackish shade */
    color: #e4bc13;
}

/* Link Styles */
.top-bar-link {
    text-decoration: none;
    font-weight: bold;
    color: #e4bc13;
    transition: color 0.3s;
    display: block; /* Make the link a block element to fill the space */
    height: 100%; /* Ensure it covers the height of the container */
}

/* Hover Effects for Top Bar */
.black-shade:hover {
    background-color: #e4bc13; /* Change background color on hover */
}

.black-shade:hover a {
    color: black; /* Change text color on hover */
}

.silver-shade:hover {
    background-color: #e4bc13; /* Change background color on hover */
}

.silver-shade:hover a {
    color: black; /* Change text color on hover */
}

/* Container for the logo and links */
.container {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 20px;
}

/* Logo Styling */
.logo img {
    max-width: 100%;
    height: auto;
    max-height: 250px;
}

/* Wrapper for the boxes */
.link-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

/* Special Box with Brighter Black Background and 3D Effect */
.special-box {
    flex: 1;
    position: relative;
    padding: 30px;
    margin: 10px 0;
    border-radius: 15px;
    background: linear-gradient(145deg, #2c2c2c 0%, #1a1a1a 100%);
    color: #e4bc13;
    text-align: center;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.8), 
                -5px -5px 15px rgba(255, 255, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
    text-decoration: none; /* Remove underline from the link */
}

/* Text Inside the Box */
.special-box h2 {
    margin: 0;
    font-size: 1.5rem;
}

.special-box p {
    margin: 5px 0 15px;
    font-size: 1rem;
}

.special-box span {
    color: #e4bc13; /* Keep the text #e4bc13 for span */
    font-weight: bold;
    font-size: 1.2rem;
}

/* Hover: Color Inversion and Elevated 3D Effect */
.special-box:hover {
    background: #e4bc13;
    color: black;
    box-shadow: 8px 8px 20px rgba(255, 255, 0, 0.6), 
                -8px -8px 20px rgba(0, 0, 0, 0.9);
    transform: translateY(-5px);
}

/* Hover: Text Color Change for Box */
.special-box:hover span {
    color: black; /* Change span color on hover */
}

@media (max-width: 768px) {
    .link-wrapper {
        flex-direction: column; /* Stack boxes vertically */
        align-items: center; /* Center-align them */
        gap: 20px; /* Add space between the boxes */
        width: 100%; /* Full width to prevent overflow */
    }

    .special-box {
        width: 90%; /* Ensure the boxes fit comfortably */
        max-width: 350px; /* Optional: Limit the size for better design */
    }

    .top-bar {
        flex-direction: column; /* Stack phone numbers vertically */
        align-items: stretch; /* Make each phone number bar fill the width */
        gap: 0; /* No space between phone number bars */
        width: 100%;
    }

    .top-bar-item {
        width: 100%;
        margin: 0;
        padding: 15px 0;
    }
}