/* Reset box-sizing for consistent layout */
* {
    box-sizing: border-box;
}

/* Base layout */
html,
body {
    font-family: 'Roboto', sans-serif;
    background-color: #171616;
    color: #fff;
    margin: 0;
    padding: 0;
    line-height: 1.7;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;

    /* Disable text selection */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 20px;
    flex: 1;
}

/* Typography */
h1 {
    text-align: center;
    font-size: 3rem;
    color: #9900ff;
    margin-bottom: 40px;
}

h2 {
    color: #9900ff;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 2rem;
}

p {
    margin-bottom: 20px;
    font-size: 1.2rem;
    line-height: 1.6;
}

.highlight {
    color: #9900ff;
    font-weight: bold;
}

/* Section container */
.section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin: 50px 0;
    background: #222121;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.section-text {
    flex: 1;
}

.section-image {
    flex: 0.5;
    overflow: hidden;
}

.section-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive: tablets */
@media (max-width:1024px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    p {
        font-size: 1.1rem;
    }

    main {
        padding: 40px 15px;
    }
}

/* Responsive: small tablets */
@media (max-width: 768px) {
    .section {
        flex-direction: column;
        /* FIXED: stack vertically on mobile */
        padding: 20px 30px;
        text-align: center;
    }

    .section-text {
        flex: 1;
        font-size: 11px;
    }

    .section-image {
        width: 70%;
    }
}

/* Responsive: mobile */
@media (max-width:600px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }

    main {
        padding: 30px 10px;
    }

    .section {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .section-text {
        flex: 1;
        font-size: 11px;
    }

    .section-image {
        width: 90%;
    }
}

/* Disable image dragging and right-click save */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    pointer-events: none;
}

/* Floating animation for images */
.section-image {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
        /* Float up */
    }

    100% {
        transform: translateY(0);
        /* Back down */
    }
}