/* ABOUT PAGE STYLES */

/* BACKGROUND IMAGE CLASSES - TAMBAHKAN GAMBAR DI SINI */
.about-main-bg {
    /* TAMBAHKAN BACKGROUND IMAGE UNTUK MAIN ABOUT SECTION */
    /*background-image: url('./GambarFE/about-main-bg.jpg');
    /* Contoh: background-size: cover; */
    /* Contoh: background-position: center; */
    /* Contoh: background-attachment: fixed; */
    background-color: #fff; /* Default background color */
}

.about-container-bg {
    /* TAMBAHKAN BACKGROUND IMAGE UNTUK CONTAINER */
    /*background-image: url('./GambarFE/about-container-bg.jpg');
    /* Contoh: background-size: cover; */
    /* Contoh: background-position: center; */
    background-color: transparent; /* Default transparent */
}

.about-images-bg {
    /* TAMBAHKAN BACKGROUND IMAGE UNTUK IMAGES SECTION */
    /*background-image: url('./GambarFE/about-images-bg.jpg');
    /* Contoh: background-size: cover; */
    /* Contoh: background-position: center; */
    background-color: transparent; /* Default transparent */
}

/* MOTIVATION SECTION STYLES */
.motivation-section {
    padding: 80px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.motivation-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.motivation-text {
    padding: 20px;
}

.motivation-text h2 {
    color: #333;
    margin-bottom: 30px;
    font-size: 38px;
    font-weight: bold;
}

.motivation-text p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
    font-size: 19px;
}

.motivation-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.motivation-image {
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.motivation-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.motivation-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.motivation-image h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: bold;
}

.motivation-image p {
    color: #666;
    font-size: 17px;
    line-height: 1.5;
    margin: 0;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  height: 80px;
  background-color: #FCF8F8;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  color: #000;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 18px;
}

.nav-links a:hover {
  background-color: rgba(0,0,0,0.08);
  color: #000;
}

/* Logo fixed size */
.logo img {
  height: 70px;
  width: auto;
  display: block;
  transition: none;
  object-fit: contain;
  max-width: none;
}

/* biar responsiv */
@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    height: 80px;
    padding: 15px 20px;
    gap: 0;
  }
  
  .logo img {
    height: 50px;
  }
  
  .nav-links {
    margin-top: 0;
    margin-left: auto;
  }
  
  .nav-links a {
    margin: 0 5px;
    padding: 6px 12px;
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .navbar {
    height: 70px;
    padding: 10px 15px;
  }
  
  .logo img {
    height: 40px;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-left: auto;
  }
  
  .nav-links a {
    margin: 2px 3px;
    padding: 4px 8px;
    font-size: 15px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .logo img {
    height: 60px;
  }
}

@media (min-width: 1025px) {
  .logo img {
    height: 70px;
  }
}

.footer-bg {
    /* TAMBAHKAN BACKGROUND IMAGE UNTUK FOOTER */
    /*background-image: url('./GambarFE/footer-bg.jpg');
    /* Contoh: background-size: cover; */
    /* Contoh: background-position: center; */
    /* Contoh: background-attachment: fixed; */
    background-color: #000; /* Default background color */
}

/* ABOUT PAGE STYLES */

/* MAIN SECTION (like index.php) */
.about-main-section {
    padding: 60px 20px 80px 20px;
    background: #FCF8F8;
    /* Removed min-height to allow full content visibility */
    overflow-y: auto; /* Allow vertical scrolling */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* MAIN CONTENT LAYOUT (like index.php sections) */
.about-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    background: #fff;
    border: 2px solid #000;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px; /* Increased bottom margin */
    overflow: visible; /* Allow content to flow naturally */
}

/* TEXT SECTION (Left side) */
.about-text {
    flex: 1.5; /* Text takes more space */
    min-width: 0; /* Prevent flex item overflow */
    max-width: 100%; /* Ensure text doesn't overflow */
}

.about-text h2 {
    font-size: 38px;
    margin-bottom: 20px;
    color: #000;
    border-bottom: 3px solid #000;
    padding-bottom: 10px;
    text-align: center; /* Keep title centered */
}

.about-description {
    font-size: 19px;
    line-height: 1.4; /* Dikurangi dari 1.8 untuk lebih rapat */
    color: #333;
    white-space: pre-wrap; /* Preserve line breaks */
    word-wrap: break-word; /* Break long words */
    overflow-wrap: break-word; /* Modern fallback */
    max-width: 100%; /* Prevent text overflow */
    text-align: justify; /* Justify text alignment */
    text-justify: inter-word; /* Better justification */
    margin-bottom: 0; /* Hilangkan margin bawah */
    padding: 0; /* Pastikan tidak ada padding tambahan */
}

.about-description p {
    margin: 0 0 8px 0; /* Kurangi spacing antar paragraf */
    text-align: justify; /* Pastikan paragraf justify */
    line-height: 1.4; /* Sama dengan parent */
}

.about-description p:last-child {
    margin-bottom: 0; /* Hilangkan margin paragraf terakhir */
}

/* IMAGES SECTION (Right side) */
.about-images-section {
    flex: 1; /* Images section takes less space */
    display: flex;
    flex-direction: column;
    gap: 20px; /* Space between images */
}

/* ALL IMAGES - Same specifications */
.about-primary-image,
.additional-image-item {
    text-align: center;
    overflow: hidden;
    border-radius: 0px; /* Remove border radius for clean edges */
    border: 2px solid #000;
    background: #fff; /* White background instead of gray */
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Subtle shadow */
    padding: 4px; /* Add padding to prevent image touching border */
}

.about-primary-image:hover,
.additional-image-item:hover {
    transform: translateY(-3px); /* Reduced hover movement */
    box-shadow: 0 4px 8px rgba(0,0,0,0.15); /* Enhanced shadow on hover */
}

.about-primary-image img,
.additional-image-item img {
    width: 100%;
    max-width: 400px; /* Same max width for all images */
    height: 250px; /* Same height for all images */
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block; /* Remove inline spacing */
    border-radius: 0px; /* Ensure no radius on image */
    margin: 0; /* Remove default margins */
}

.about-primary-image:hover img,
.additional-image-item:hover img {
    transform: scale(1.02); /* Subtle scale instead of 1.05 */
}

/* ADDITIONAL IMAGES GRID */
.about-additional-images {
    margin-top: 20px;
}

.about-video-container {
    margin-top: 20px;
    text-align: center;
}

.about-video-container video {
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    gap: 20px; /* Same gap as primary image */
}

.image-caption,
.video-caption {
    margin-top: 10px;
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    color: #555;
    font-style: italic;
    line-height: 1.4;
}

/* NO CONTENT STATE */
.no-content {
    text-align: center;
    background: #fff;
    border: 2px solid #000;
    border-radius: 12px;
    padding: 60px 40px;
}

.no-content h2 {
    font-size: 38px;
    margin-bottom: 20px;
    color: #000;
}

.no-content p {
    font-size: 19px;
    color: #666;
    line-height: 1.6;
}

/* RESPONSIVE DESIGN */

/* Tablet */
@media (max-width: 968px) {
    .about-section {
        padding: 40px 15px;
    }
    
    .about-main {
        flex-direction: row; /* Keep horizontal layout */
        gap: 30px;
        align-items: flex-start;
    }
    
    .about-text {
        flex: 1.5; /* Text takes more space */
        order: 1; /* Text on left */
    }
    
    .about-text h2 {
        font-size: 30px;
        text-align: left; /* Keep title left-aligned */
    }
    
    .about-description {
        font-size: 18px;
        text-align: justify; /* Keep justify on tablet */
        text-justify: inter-word;
    }
    
    .about-images-section {
        flex: 1; /* Images section takes less space */
        order: 2; /* Images on right */
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .about-primary-image img,
    .additional-image-item img {
        max-width: 100%;
        height: 200px; /* Consistent height on tablet */
    }
}

/* Mobile */
@media (max-width: 768px) {
    .about-section {
        padding: 30px 10px;
    }
    
    .about-content {
        padding: 25px;
    }
    
    .about-main {
        flex-direction: row; /* Keep horizontal layout on mobile */
        gap: 20px;
        align-items: flex-start;
    }
    
    .about-text {
        flex: 1.5; /* Text takes more space */
        order: 1; /* Text on left */
        text-align: left; /* Ensure left alignment */
    }
    
    .about-images-section {
        flex: 1; /* Images section takes less space */
        order: 2; /* Images on right */
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-self: flex-start; /* Align to left, not right */
        max-width: 100%; /* Full width available */
    }
    
    .about-primary-image {
        text-align: left; /* Align left */
    }
    
    .about-primary-image img,
    .additional-image-item img {
        max-width: 100%;
        height: 120px; /* Smaller height on mobile */
    }
    
    .about-text h2 {
        font-size: 28px;
        text-align: left; /* Keep title left-aligned */
    }
    
    .about-description {
        font-size: 18px;
        line-height: 1.3; /* Lebih rapat di mobile */
        text-align: justify; /* Keep justify on mobile */
        text-justify: inter-word;
        margin-bottom: 0;
    }
    
    .about-description p {
        margin: 0 0 6px 0; /* Lebih rapat di mobile */
        line-height: 1.3;
    }
    
    .additional-images-grid {
        grid-template-columns: 1fr; /* Keep single column */
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .about-section {
        padding: 20px 5px;
    }
    
    .about-content {
        padding: 20px;
    }
    
    .about-main {
        flex-direction: row; /* Keep horizontal layout even on small mobile */
        gap: 15px;
        align-items: flex-start;
    }
    
    .about-text {
        flex: 1.5; /* Text takes more space */
        order: 1; /* Text on left */
        text-align: left; /* Ensure left alignment */
    }
    
    .about-images-section {
        flex: 1; /* Images section takes less space */
        order: 2; /* Images on right */
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-self: flex-start; /* Align to left */
        max-width: 100%; /* Full width available */
    }
    
    .about-primary-image {
        text-align: left; /* Align left */
    }
    
    .about-primary-image img,
    .additional-image-item img {
        max-width: 100%;
        height: 120px; /* Consistent height on small mobile */
    }
    
    .about-text h2 {
        font-size: 29px;
        text-align: left; /* Keep title left-aligned */
        margin-bottom: 15px; /* Kurangi margin di mobile kecil */
    }
    
    .about-description {
        font-size: 17px;
        line-height: 1.2; /* Paling rapat di mobile kecil */
        text-align: justify; /* Keep justify on mobile */
        text-justify: inter-word;
        margin-bottom: 0;
    }
    
    .about-description p {
        margin: 0 0 5px 0; /* Paling rapat di mobile kecil */
        line-height: 1.2;
    }
    
    .additional-images-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* GAME FEATURES */
.game-features {
    background: #fff;
    border: 2px solid #000;
    padding: 30px;
    border-radius: 8px;
}

.game-features h2 {
    font-size: 29px;
    margin-bottom: 20px;
    color: #000;
    border-bottom: 2px solid #000;
    padding-bottom: 8px;
}

.game-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.game-features li {
    font-size: 19px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
}

.game-features li:before {
    content: "▶";
    position: absolute;
    left: 0;
    color: #000;
    font-size: 15px;
}

.game-features li:last-child {
    border-bottom: none;
}

/* MERCHANDISE SECTION */
.merchandise-section {
    padding: 60px 20px;
    background: #fff;
}

.section-title {
    font-size: 38px;
    text-align: center;
    margin-bottom: 40px;
    color: #000;
    border-bottom: 3px solid #000;
    padding-bottom: 10px;
    display: inline-block;
    margin-left: 50%;
    transform: translateX(-50%);
}

.merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.merch-card {
    border: 2px solid #000;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.merch-card:hover {
    transform: translateY(-5px);
}

.merch-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid #000;
}

.merch-card h3 {
    font-size: 22px;
    margin: 15px;
    margin-bottom: 10px;
    color: #000;
}

.merch-desc {
    font-size: 17px;
    line-height: 1.5;
    margin: 0 15px 15px;
    color: #333;
}

.price {
    font-size: 22px;
    font-weight: bold;
    color: #000;
    margin: 0 15px 15px;
}

.btn-buy {
    display: inline-block;
    margin: 0 15px 20px;
    padding: 10px 20px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-buy:hover {
    background: #333;
}

/* MOTIVATION SECTION RESPONSIVE */
@media (max-width: 768px) {
    .motivation-section {
        padding: 60px 15px;
    }
    
    .motivation-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .motivation-text h2 {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .motivation-text p {
        font-size: 18px;
        margin-bottom: 18px;
    }
    
    .motivation-images {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .motivation-image {
        padding: 15px;
    }
    
    .motivation-image img {
        height: 150px;
    }
    
    .motivation-image h4 {
        font-size:16px;
    }
    
    .motivation-image p {
        font-size:13px;
    }
}

@media (max-width: 480px) {
    .motivation-section {
        padding: 40px 10px;
    }
    
    .motivation-container {
        gap: 30px;
    }
    
    .motivation-text h2 {
        font-size: 29px;
        margin-bottom: 20px;
    }
    
    .motivation-text p {
        font-size: 17px;
        margin-bottom: 15px;
    }
    
    .motivation-images {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .motivation-image {
        padding: 12px;
    }
    
    .motivation-image img {
        height: 120px;
    }
    
    .motivation-image h4 {
        font-size: 18px;
    }
    
    .motivation-image p {
        font-size: 15px;
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .game-features {
        padding: 20px;
    }
    
    .merch-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   RESPONSIVE DESIGN - INTEGRATED
   ======================================== */

/* MOBILE (480px ke bawah) */
@media (max-width: 480px) {
    /* NAVBAR */
    .navbar {
        height: 60px;
        padding: 10px 15px;
        flex-wrap: nowrap;
    }
    
    .logo img {
        height: 35px;
        width: auto;
    }
    
    .nav-links {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
    
    .nav-links a {
        font-size: 11px;
        padding: 6px 10px;
        margin: 0 2px;
        text-decoration: none;
        color: #000;
        background: rgba(0,0,0,0.05);
        border-radius: 4px;
        transition: background-color 0.3s ease;
        white-space: nowrap;
        min-height: 36px;
        display: flex;
        align-items: center;
    }
    
    .nav-links a:hover {
        background-color: rgba(0,0,0,0.1);
    }
    
    /* ABOUT MAIN SECTION */
    .about-main-section {
        padding: 30px 15px;
        min-height: calc(100vh - 60px);
    }
    
    .about-container {
        max-width: 100%;
        padding: 0;
    }
    
    .about-content {
        flex-direction: column;
        gap: 25px;
        margin-top: 0;
        align-items: center;
        text-align: center;
    }
    
    .about-text {
        flex: 1;
        order: 2;
        padding: 0;
    }
    
    .about-text h2 {
        font-size: 20px;
        margin-bottom: 15px;
        line-height: 1.3;
        color: #000;
        border-bottom: 2px solid #000;
        padding-bottom: 8px;
        display: inline-block;
    }
    
    .about-description {
        font-size: 17px;
        line-height: 1.5;
        text-align: left;
        color: #333;
    }
    
    /* ABOUT IMAGES SECTION */
    .about-images-section {
        flex: 1;
        order: 1;
        padding: 0;
        width: 100%;
    }
    
    .about-primary-image {
        margin-bottom: 20px;
        text-align: center;
    }
    
    .about-primary-image img {
        width: 100%;
        max-width: 280px;
        height: auto;
        max-height: 200px;
        object-fit: cover;
        border-radius: 12px;
        border: 2px solid #000;
    }
    
    .image-caption {
        font-size: 15px;
        margin-top: 8px;
        text-align: center;
        color: #666;
        font-style: italic;
    }
    
    .about-additional-images {
        margin-top: 20px;
        width: 100%;
    }
    
    .additional-images-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        width: 100%;
    }
    
    .additional-image-item {
        text-align: center;
        margin-bottom: 10px;
    }
    
    .additional-image-item img {
        width: 100%;
        max-width: 250px;
        height: auto;
        max-height: 180px;
        object-fit: cover;
        border-radius: 12px;
        border: 2px solid #000;
    }
    
    /* VIDEO CONTAINER */
    .about-video-container {
        margin-top: 20px;
        text-align: center;
        width: 100%;
    }
    
    .about-video-container video {
        width: 100%;
        max-width: 300px;
        height: auto;
        border-radius: 12px;
        border: 2px solid #000;
    }
    
    .video-caption {
        font-size: 15px;
        margin-top: 8px;
        text-align: center;
        color: #666;
        font-style: italic;
    }
    
    /* NO CONTENT STATE */
    .no-content {
        text-align: center;
        padding: 40px 20px;
        background: #fff;
        border: 2px solid #000;
        border-radius: 12px;
    }
    
    .no-content h2 {
        font-size: 20px;
        margin-bottom: 15px;
        color: #000;
        border-bottom: 2px solid #000;
        padding-bottom: 8px;
        display: inline-block;
    }
    
    .no-content p {
        font-size: 17px;
        color: #666;
        line-height: 1.5;
        margin: 0;
    }
    
    /* FOOTER */
    .footer {
        background: #000;
        color: #fff;
        text-align: center;
        padding: 20px 15px;
    }
    
    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .footer-logo img {
        height: 25px;
        width: auto;
    }
    
    .footer-copyright p {
        font-size: 15px;
        margin: 0;
        color: #ccc;
    }
}

/* TABLET (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .navbar {
        height: 70px;
        padding: 15px 20px;
    }
    
    .logo img {
        height: 45px;
    }
    
    .nav-links a {
        font-size: 15px;
        padding: 8px 14px;
        margin: 0 4px;
    }
    
    .about-main-section {
        padding: 40px 20px;
        min-height: calc(100vh - 70px);
    }
    
    .about-content {
        gap: 30px;
        margin-top: 0;
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }
    
    .about-text {
        flex: 2;
        order: 1;
    }
    
    .about-text h2 {
        font-size: 29px;
        margin-bottom: 20px;
    }
    
    .about-description {
        font-size: 18px;
        line-height: 1.6;
    }
    
    .about-images-section {
        flex: 1;
        order: 2;
    }
    
    .about-primary-image img {
        max-width: 100%;
        max-height: 250px;
        border-radius: 15px;
    }
    
    .image-caption {
        font-size: 16px;
        margin-top: 10px;
    }
    
    .additional-images-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .additional-image-item img {
        max-width: 100%;
        max-height: 200px;
        border-radius: 15px;
    }
    
    .about-video-container video {
        max-width: 400px;
        border-radius: 15px;
    }
    
    .video-caption {
        font-size: 16px;
        margin-top: 10px;
    }
    
    .no-content {
        padding: 50px 30px;
    }
    
    .no-content h2 {
        font-size: 29px;
        margin-bottom: 20px;
    }
    
    .no-content p {
        font-size: 18px;
    }
    
    .footer {
        padding: 25px 20px;
    }
    
    .footer-logo img {
        height: 28px;
    }
    
    .footer-copyright p {
        font-size: 16px;
    }
}

/* DESKTOP (769px+) - PRESERVE ORIGINAL */
@media (min-width: 769px) {
    /* Desktop styles already exist in original CSS */
}

/* LANDSCAPE MODE */
@media (max-width: 896px) and (orientation: landscape) {
    .about-main-section {
        padding: 20px 15px;
        min-height: auto;
    }
    
    .about-content {
        gap: 20px;
        flex-direction: row;
    }
    
    .about-text {
        flex: 2;
        order: 1;
    }
    
    .about-text h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }
    
    .about-description {
        font-size: 16px;
    }
    
    .about-images-section {
        flex: 1;
        order: 2;
    }
    
    .about-primary-image img {
        max-height: 150px;
        border-radius: 12px;
    }
    
    .additional-image-item img {
        max-height: 120px;
        border-radius: 12px;
    }
    
    .about-video-container video {
        max-height: 150px;
        border-radius: 12px;
    }
    
    .image-caption,
    .video-caption {
        font-size: 11px;
        margin-top: 6px;
    }
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
    }
}

/* FIX COMMON MOBILE ISSUES */
@media (max-width: 480px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    * {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    @supports (-webkit-touch-callout: none) {
        .about-main-section {
            min-height: -webkit-fill-available;
        }
    }
    
    @supports (padding: max(0px)) {
        .navbar {
            padding-left: max(10px, env(safe-area-inset-left));
            padding-right: max(10px, env(safe-area-inset-right));
        }
    }
    
    /* Fix section spacing */
    .about-content[style*="margin-top"] {
        margin-top: 30px;
    }
}
