/* Hero Section Styling */
.hero-section {
    background: url('../img/man-bad.jpg') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    /* Minimum height to handle text overflow */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    padding: 20px;
    /* Ensure spacing for text */
}


.hero-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    /* Dark overlay to ensure text visibility */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Button Styling */
.btn-orange {
    background-color: #1e95ea;
    /* Bright orange color */
    color: rgb(255, 255, 255);
    font-weight: bold;
    border: none;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
    /* Smooth transition */
}

.btn-orange:hover {
    background-color: #00ddff;
    /* Darker orange on hover */
}

/* Responsive hero text */
.hero-text {
    z-index: 1;
    /* Ensure text is above overlay */
    max-width: 900px;
    text-align: center;
    opacity: 0;
    /* Start invisible */
    transform: translateY(50px);
    /* Start position (below) */
    transition: all 1s ease-in-out;
    /* Smooth animation */
}

.hero-text.show {
    opacity: 1;
    /* Fade in */
    transform: translateY(0);
    /* Move text to its original position */
}

/* Typography for Hero Section */
.hero-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    word-wrap: break-word;
    ;
    /* Text stroke effect */
    color: #fff8f8;
    /* Text fill color */
    /* Ensure long words wrap */
}

h1 {
    font-size: 2.5rem;
            color: #ffffff;
            margin-bottom: 20px;
            text-align: center;
            letter-spacing: 2px;
            background: linear-gradient(90deg, rgba(0,136,255,1) 0%, rgba(0,204,136,1) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
}

.hero-text h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.25rem;
    margin-top: 15px;
    font-weight: 650;
    ;
    /* Text stroke effect */
    color: #ffffff;
    /* Text fill color */
    /* Ensure long words wrap */
}

h2 {
    font-size: 1slarge;
            color: #333;
            margin-bottom: 20px;
            text-align: center;
            letter-spacing: 2px;
            background: linear-gradient(90deg, rgba(0,136,255,1) 0%, rgba(0,204,136,1) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
}

/* Responsive Text Styling */
@media (min-width: 576px) and (orientation: portrait){
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text h2 {
        font-size: 1.75rem; 
    }
}

@media (min-width: 768px) and (orientation: portrait) {
    .hero-text h1 {
        font-size: 3.5rem;
    }
q
    .hero-text h2 {
        font-size: 1.75rem;
    }
}

@media (min-width: 992px) and (orientation: portrait) {
    .hero-text h1 {
        font-size: 3.5rem;
    }

    .hero-text h2 {
        font-size: 1.75rem;
    }
}

/* Container utama untuk meniru layar iPhone 15 Pro Max */
.iphone-15-container {
    width: 1290px;
    height: 2796px;
    margin: 0 auto;
    background-color: #f0f0f0;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Konten di dalam layar */
.content {
    padding: 20px;
    text-align: center;
}

h1 {
    font-size: 2em;
    color: #333;
}

p {
    font-size: 1.2em;
    color: #555;
}

/* Membuat tampilan responsif sesuai ukuran layar iPhone */
@media (max-width: 1290px) and (max-height: 2796px) {
    .iphone-15-container {
        width: 100%;
        height: auto;
    }

    h1 {
        font-size: 1.5em;
    }

    p {
        font-size: 1em;
    }
}