/* General Resets and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: url('../izmir.jpg') no-repeat center center fixed; /* Adjust path if izmir.jpg is not in the root */
    background-size: cover;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Overlay Styles */
.overlay {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 3rem 1rem;
    text-align: center;
    flex-grow: 1; /* Allows overlay to take up available space */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center content within overlay */
    align-items: center; /* Horizontally center content within overlay */
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    margin-bottom: 1rem;
}

p {
    font-size: clamp(1rem, 2vw, 1.2rem); /* Responsive font size */
    margin: 1rem auto 2rem;
    max-width: 700px;
    line-height: 1.6;
}

/* Button Container */
.btn-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem; /* Space between paragraph and buttons */
}

/* Button Styles */
.btn {
    background: #00b4d8;
    border: none;
    border-radius: 2rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease; /* Smooth transition */
    white-space: nowrap; /* Prevent buttons from wrapping awkwardly */
}

.btn:hover {
    background: #0077b6;
    transform: translateY(-2px); /* Slight lift on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow on hover */
}

/* Footer Styles */
footer {
    background-color: rgba(0, 0, 0, 0.8);
    text-align: center;
    padding: 1.5rem 1rem; /* Increased padding for better appearance */
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Subtle top border */
}

footer p {
    margin: 0.5rem 0; /* Adjust spacing for footer paragraphs */
    font-size: 1rem; /* Slightly larger font for footer text */
}

.social {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.social a {
    color: #00b4d8;
    margin: 0 0.8rem; /* Increased spacing between social links */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social a:hover {
    color: #0077b6;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    p {
        font-size: 1.1rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

    .overlay {
        padding: 2rem 0.5rem;
    }

    .btn-container {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 80%; /* Make buttons take more width on small screens */
        max-width: 300px;
    }
}
