/* Global styles */
html, body {
    height: 100%;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-image: url('images/ios-13-stock-ipados-blue-black-background-amoled-ipad-hd-5120x5120-795.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: #4b5c6e;
    scroll-behavior: smooth;
}

/* Ensure the body stretches to fit the content */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2 {
    font-family: 'Arial', sans-serif;
    margin: 0;
}

/* Hero Section */
.hero {
    margin-top: 100px;
    height: 200vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    color: white;
    padding: 20px;
    gap: 20px;
    position: relative;
    background: linear-gradient(to bottom right, #1a1a1a, #333);
    background-image: url('images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero img {
    flex: 0 0 auto;
    max-width: 30%;
    height: auto;
    margin-right: 20px;
}

.hero .text {
    flex: 1;
}

/* Section Styling */
section {
    padding: 60px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    margin: 20px auto;
    width: 90%;
    box-sizing: border-box;
}

section:nth-child(even) {
    background: rgba(0, 0, 0, 0.6);
    color: white;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

section p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* About Me Button */
.about-me-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 9999px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.2s ease;
}

.about-me-button img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.about-me-button:hover {
    background: rgba(0, 0, 0, 1);
    transform: translateY(-2px);
}

/* Social Buttons */
.social-buttons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(39, 39, 39, 0.3);
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 9999px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.2s ease;
}

.social-button img {
    width: 20px;
    height: 20px;
    object-fit: cover;
}

.social-button:hover {
    background: rgba(49, 73, 211, 0.568);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 0.9rem;
    margin-top: auto;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero img {
        max-width: 80%;
        margin: 0 auto 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .social-buttons {
        flex-wrap: wrap;
        gap: 10px;
    }

    .social-button {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .about-me-button {
        font-size: 0.9rem;
        padding: 8px 15px;
    }

    .social-button {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
}
