/* styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background: url('./bg.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #333;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

header {
    margin-bottom: 40px;
    display: flex;
    justify-content: flex-end; /* Keeps the entire logo section on the right */
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px; /* Increased space between text and image for better separation */
}

.logo img {
    max-width: 150px; /* Adjust size as needed */
    height: auto; /* Maintain aspect ratio */
}

.logo .slogan {
    font-family: "Pinyon Script", serif;
    font-weight: 400;
    font-style: normal;
    color: gold;
    margin: 0;
    white-space: nowrap;
    font-size: 4em;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        justify-content: center; /* Centers logo on smaller screens */
    }
    .logo {
        flex-direction: column; /* Stacks text above logo on mobile */
        gap: 10px; /* Reduced gap on mobile */
    }
    .logo .slogan {
        font-size: 1.5em; /* Smaller text on mobile */
    }
    .logo img {
        max-width: 100px; /* Smaller logo on mobile */
    }
}


main {
    padding: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Aligns content (including info-container) to the right */
}


main h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #fff;
}

main p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #fff;
}
main h2, main p, main h1, .info, .slogan, .contact {
    opacity: 0;
    font-family: 'Montserrat';
    animation: fadeIn 1.5s ease-in forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.info {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
    text-align: left;
    color: #ffd700;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    border-radius: 1em;
    border: 5px solid;
}
.info h1, .info h2 {
    font-size: 2.2em; /* Retains large heading */
    margin-bottom: 15px; /* Retains space below h1 */
    color: #ffd700; /* Retains gold color */
}

.info p {
    font-size: 1.1em; /* Retains paragraph text size */
    margin-bottom: 10px; /* Retains space between paragraphs */
    color: #fff; /* Retains white text */
}
.contact {
    margin-top: 20px;
    width: 100%; /* Full width, but centered */
    max-width: 400px; /* Limits contact width for better mobile display */
    background: rgb(30 30 30 / 80%);
    color: #fff;
    padding: 15px;
    border-radius: 15px;
    display: block; /* Changes to block for centering */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Retains shadow */
    -webkit-backdrop-filter: blur(5px); /* Retains blur effect */
    backdrop-filter: blur(5px); /* Retains blur effect */
    margin-left: auto; /* Centers the contact horizontally */
    margin-right: auto; /* Centers the contact horizontally */
    border: 5px solid #ffd700;
}

.contact p {
    margin: 5px 0;
    color: #fff; /* Changes text color to a light gray */
    display: flex; /* Aligns icon and text horizontally */
    align-items: center; /* Vertically centers icon and text */
    gap: 8px; /* Space between icon and text */
}

.icon {
    flex-shrink: 0; /* Prevents icon from shrinking */
    color: #ffd700; /* Matches the darker gray used for the slogan, for consistency */
}

.heading-segment {
    text-align: left;
    text-shadow: 0 1px 7px #888;
    width: 100%;
}
.heading-segment h1 {
    color: #ffd700;
}
.heading-segment p {
    color: rgb(255, 255, 255)
}
footer {
    margin-top: auto; /* Pushes footer to the bottom */
    padding: 10px;
    font-size: 0.9em;
    color: #fff;
}


/* Responsive Design */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 2em;
    }
    main h2 {
        font-size: 1.5em;
    }
    main p {
        font-size: 1em;
    }
    main {
        align-items: center; /* Centers both info-container and contact on mobile */
    }
    .info {
        width: 100%; /* Full width on mobile for readability */
        margin-top: 15px; /* Reduced margin on mobile */
    }
    .info h1 {
        font-size: 1.8em; /* Smaller heading on mobile */
    }
    .info p {
        font-size: 1em; /* Smaller text on mobile */
    }
    .contact {
        max-width: 100%; /* Full width on mobile */
    }
}
