/* Base styles */
body {
    background: #f8f9fa;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

header, main, footer {
    margin-bottom: 20px;
    padding: 0 15px;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

main {
    padding: 0px 0px !important;
    text-align: center;
}

nav a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
    font-size: 16px;
}

footer {
    background: #333;
    color: #fff;
    padding: 15px 10px;
    text-align: center;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.art-item {
    margin: 10px;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    flex: 1 1 150px; /* Flexibly adjusts size for mobile */
    max-width: 200px;
    box-sizing: border-box;
}

.art-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.wood-frame {
    padding: 5px;
    background: linear-gradient(
        135deg,
        #28180a,
        #23180e,
        #7b4a1e
    );
    border: 12px solid #b6b1a0;
    box-shadow:
        inset 0 0 10px rgba(255,255,255,0.15),
        0 10px 25px rgba(0,0,0,0.4);
    border-radius: 0px;
}

.btn-outline-success2 {
    --bs-btn-color: #a4a4a7;
    --bs-btn-border-color: #a4a4a7;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #a4a4a7;
    --bs-btn-hover-border-color: #a4a4a7;
    --bs-btn-focus-shadow-rgb: 25, 184, 162;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #a4a4a7;
    --bs-btn-active-border-color: #a4a4a7;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
    --bs-btn-disabled-color: #a4a4a7;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color:#a4a4a7;
    --bs-gradient: none;
}

.btn-outline-dark2 {
    --bs-btn-color: #959698;
    --bs-btn-border-color: #959698;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #959698;
    --bs-btn-hover-border-color: #959698;
    --bs-btn-focus-shadow-rgb: 17, 24, 39;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #959698;
    --bs-btn-active-border-color: #959698;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
    --bs-btn-disabled-color: #959698;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #959698;
    --bs-gradient: none;
}

/* Hero section base */
.hero-section {
    height: 80vh; /* Full viewport height */
    background: linear-gradient(
         rgba(0, 0, 0, 0),  /* lighter overlay */
        rgba(0, 0, 0, 0)
    ),
    url('/watermarked/pexels-cottonbro-7097780-med.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 0px;
}

.hero-section h1 {
    font-size: 3rem; /* Large on desktop */
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 25px;
}

.hero-section .btn {
    font-size: 1.1rem;
    padding: 12px 25px;
}

.card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

img {
    object-fit: cover;
    max-width: 100%;
    height: auto;
}

.table td input {
    width: 100%;
}

.editable {
    outline: 1px dashed transparent;
}

.editable:hover {
    outline-color: #ffc107;
    cursor: text;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.admin-card {
    text-align: center;
}

.admin-thumb {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin: 0 auto;
}

.art-hero {
    height: 45vh; /* Full viewport height */
    background: linear-gradient(
         rgba(5, 5, 5, 0.55),
        rgba(5, 5, 5, 0.55)
    ),
    url('/watermarked/pexels-steve-1047540.jpg') center/cover no-repeat;
     display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 15px;
}


.music-hero {
    height: 35vh; /* Full viewport height */
    background: linear-gradient(
         rgba(5, 5, 5, 0.55),
        rgba(5, 5, 5, 0.55)
    ),
    url('/watermarked/music_background.jpg') center/cover no-repeat;
     display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 15px;
}

.science-hero {
    height: 55vh; /* Full viewport height */
    background: linear-gradient(
        rgba(0, 0, 0, 0.3),  /* lighter overlay */
        rgba(0, 0, 0, 0.3)
    ),
    url('/watermarked/spaceship-7473163_1280.jpg') center/cover no-repeat;
     display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 15px;
}
.textl p{
font-size: 1.3em;
text-align: left;
}

.textl2 p{
font-size: 5em !important;
text-align: left;
}

.textl h4{
font-size: 2em;
text-align: left;
}
strong{
    color:#dfdcdb;
}

 canvas {
      position: fixed;
      top: 0;
      left: 0;
      z-index: -1;
    }

   .quote {
      margin: 50px 0;
      font-size: 1.5em;
      padding-left: 20px;
      border-left: 3px solid #071b30;
      font-style: italic;
      color: #887ef3;
    }

    @media (max-width: 576px) {
    .full-width-mobile {
        width: 100% !important;
        height: auto; /* maintain aspect ratio */
    }
}

/* Desktop hover behavior */
@media (min-width: 992px) {
    .dropdown-hover:hover > .dropdown-menu {
        display: block;
    }
}

/* Responsive for iPhone / small devices */
@media (max-width: 768px) {
    .hero-section {
        height: 60vh; /* Reduce hero height */
        padding: 0 10px;
    }

    .hero-section h1 {
        font-size: 2rem; /* Smaller for mobile */
        line-height: 1.1;
    }

    .hero-section p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-section .btn {
        font-size: 1rem;
        padding: 10px 20px;
    }

    nav a {
        display: block;
        margin: 5px 0;
        font-size: 18px; /* Easier to tap on mobile */
    }
        .navbar-collapse .nav-link {
        background: #000000 !important;
        border-radius: .25rem !important;
        margin: 0 0 .25rem !important;
        padding: 1rem !important;
    }

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

    .art-item {
        max-width: 90%;
    }

    main {
        padding: 15px 5px;
    }

    footer {
        padding: 15px 5px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 55vh; /* Further reduce for small iPhones */
        padding: 0 5px;
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }

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

    .hero-section .btn {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}




/* Navbar base adjustments */
.navbar .navbar-brand {
    font-size: 1.5rem; /* Bigger brand text */
}

.navbar .nav-link {
    font-size: 1.2rem; /* Larger nav links */
    padding: 0.5rem 0.75rem; /* More tap-friendly */
}

/* Navbar toggler button */
.navbar-toggler {
    padding: 0.4rem 0.6rem; /* Increase clickable area */
}

/* Admin logout button */
.navbar .btn {
    font-size: 1rem;
    padding: 6px 12px;
}

/* Responsive adjustments for small screens / iPhones */
@media (max-width: 768px) {
    .navbar .navbar-brand {
        font-size: 1.3rem;
    }

    .navbar .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }

    .navbar .btn {
        font-size: 0.95rem;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .navbar .navbar-brand {
        font-size: 1.1rem;
    }

    .navbar .nav-link {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }

    .navbar .btn {
        font-size: 0.9rem;
        padding: 4px 8px;
    }
}
