/* 🔹 Global Styles */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

header {
    background-color: #333;
    color: #fff;
}

.logo img {
    height: 50px;
}

/* 🔹 General Layout */
.content-wrapper {
    padding-top: 60px;
    color: #202020;
    min-height: 200px;
}

h1, .content-wrapper h2 {
    text-transform: uppercase;
}

.section {
    min-height: 100vh;
    text-align: center;
    justify-content: center;
    align-items: center;
}

/* 🔹 Sections */
#about, #quotes {
    background: #f4f4f4;
    color: black;
}

#music, #merch {
    padding: 100px 30px;
    background: white;
    color: #202020;
}

/* 🔹 Logo & Carousel */
.logo-container {
    position: absolute;
    top: 25vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    text-align: center;
}

.logo {
    width: 600px;
    height: auto;
}

.carousel-music-container {
    max-width: 98%;
}

/* 🔹 Footer */
footer {
    position: relative;
    background: url("../images/default-footer.jpg") no-repeat center top 70%;
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 3rem 1rem;
    margin-top: auto;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    font-family: 'Satisfy', cursive;
    font-size: 3rem;
    font-weight: bold;
    text-transform: none !important;
}

/* 🔹 Social Media Icons */
.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    /* Yellow Color Here */
    background-color: #ffb727;  
    color: #fff;
    font-size: 1.5rem;
    transition: background-color 0.3s, transform 0.2s;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* 🔹 Upload Form */
.upload-form {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.upload-form form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.input-file, .input-text {
    flex: 2;
    border: 1px solid #ccc;
    padding: 8px;
    border-radius: 5px;
}

.btn-upload, .btn-save {
    background: #3498db;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
    flex: 1;
}

.btn-upload:hover, .btn-save:hover {
    background: #2980b9;
}















/* 🔹 Image Grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.image-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 15px;
    transition: transform 0.3s ease-in-out;
}

.image-card:hover {
    transform: scale(1.05);
}

.image-card img {
    width: 100%;
    border-radius: 5px;
}

/* === FORCE ACTION BUTTON ALIGNMENT === */

.image-card {
    position: relative;
    padding-bottom: 72px; /* reserve space for buttons */
}

/* Pin buttons to bottom */
.image-card .actions {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;

    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Stop form from breaking layout */
.image-card .delete-form {
    margin: 0;
    display: inline;
}



.caption {
    font-size: 14px;
    color: #555;
    margin: 10px 0;
}

/* 🔹 Buttons */
.btn-edit, .btn-delete {
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
}

.btn-edit {
    background: #4CAF50;
    color: white;
}

.btn-edit:hover {
    background: #388E3C;
}

.btn-delete {
    background: #e74c3c;
    color: white;
}

.btn-delete:hover {
    background: #c0392b;
}

/* 🔹 Pagination */
.pagination-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    gap: 6px;
}

.pagination .page-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 4px;
    background: #3498db;
    color: white;
    border: 1px solid #3498db;
    transition: background 0.2s;
    text-decoration: none;
}

.pagination .page-link:hover,
.pagination .active .page-link {
    background: #217dbb;
    font-weight: bold;
}

















/* 🔥 Quotes Section */
#quotes {
    position: relative;
    background: url("../images/tree.jpg") no-repeat center center;
    background-size: cover;
    padding: 80px 20px;
    text-align: center;
    color: #fff; 
}

/* Overlay to improve text readability */
#quotes::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); 
    z-index: 1;
}

/* Ensure content stays above the background overlay */
#quotes .container {
    position: relative;
    z-index: 2;
}

.song {
    font-family: 'Satisfy', cursive;
    font-size: 30px;
    margin-bottom: 5px; 
}


.song + h4 {
    margin-top: 0; 
    font-family: 'Open Sans', sans-serif;
    font-weight: normal; 
    font-size: 12px;
}



/* quote Item */
.quote-item {
    padding: 10px;
    max-width: 600px;
    margin: auto;
    text-align: center;
}

/* Quote Image */
.quote-img {
    width: 50%;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 15px solid rgba(255, 255, 255, 0.5);  
}

/* Quote Text */
.quote-item p {
    font-size: 18px;
    font-style: italic;
    color: white;
    line-height: 1.6;
}

/* Quote Marks */
.quote-icon-left,
.quote-icon-right {
    font-size: 24px;
    color: #bbb;
}

/* Pagination Dots */
.swiper-pagination {
    margin-top: 20px;
}








.credit {
    font-size: 10px;
}


.admin-container {
    margin-top: 120px;
}







.btn-add {
    background: #3498db;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
    flex: 1;
    text-decoration: none; /* 🔥 Removes the underline */
}

.btn-add:hover {
    background: #2980b9;
}











label {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
}























.like-overlay {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 5px 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.like-overlay .like-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1.5rem;
}













/* toast notifications */
.notification {
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 10px 16px;
  margin-bottom: 8px;
  border-radius: 4px;
  font-size: .9rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .3s ease, transform .3s ease;
}

.notification.show {
  opacity: 1;
  transform: translateY(0);
}









input[type="color"] {
    width: 200px;
    height: 30px;
    padding: 4px;
}





#news {
    
}



/* Ensure the button keeps its bold Yellow-Orange gradient */
#submitButton,
#newsletterSubmitButton,
#newsletterUnsubscribeButton {
    background: linear-gradient(to bottom, #ffdd55, #ff9900) !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: white;
    font-weight: bold;
    padding: 20px 30px;
    border-radius: 5px;
    transition: background 0.3s ease-in-out, transform 0.1s ease-in-out;
}

/* Stronger contrast on hover */
#submitButton:hover,
#newsletterSubmitButton:hover,
#newsletterUnsubscribeButton:hover {
    transform: scale(1.08);
}

/* Remove default focus and active styles */
#submitButton:focus,
#submitButton:active,
#newsletterSubmitButton:focus,
#newsletterSubmitButton:active,
#newsletterUnsubscribeButton:focus,
#newsletterUnsubscribeButton:active {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    transform: scale(0.95);
}










/* 🔥 Gold Gradient Button (site-wide standard) */
.btn-gold {
    background: linear-gradient(to bottom, #ffdd55, #ff9900) !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: white !important;
    font-weight: bold;
    padding: 6px 10px;
    border-radius: 5px;
    transition: background 0.3s ease-in-out, transform 0.1s ease-in-out;
    display: inline-block;
    text-decoration: none;
}

.btn-gold:hover {
    background: linear-gradient(to bottom, #ffe066, #ffaa22) !important;
    transform: translateY(-1px);
    color: white !important;
}











/* 🟡 Outline version of Save button */
.btn-dummy-outline {
    background: transparent;
    border: 2px solid #ff9900;
    color: #ff9900;
    font-weight: bold;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-dummy-outline:hover {
    background: linear-gradient(135deg, #ffdd55, #ff9900);
    color: white;
    transform: scale(1.02);
}















/* ===============================
   MODERN SELECT (ADMIN)
   =============================== */

.image-edit-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    width: 100%;
    padding: 10px 40px 10px 12px;

    font-size: 14px;
    font-weight: 500;
    color: #222;

    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;

    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Arrow */
.image-edit-form select {
    background-image:
        linear-gradient(45deg, transparent 50%, #666 50%),
        linear-gradient(135deg, #666 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 50%,
        calc(100% - 12px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

/* Focus state */
.image-edit-form select:focus {
    outline: none;
    border-color: #2ea44f;
    box-shadow: 0 0 0 2px rgba(46, 164, 79, 0.25);
}

/* Hover */
.image-edit-form select:hover {
    border-color: #999;
}








/* HARD STOP FORM WIDTH */
.content-wrapper .image-edit-form {
    width: 420px !important;
    max-width: 420px !important;
    min-width: 420px !important;
}

/* Ensure children don’t force width */
.content-wrapper .image-edit-form input,
.content-wrapper .image-edit-form select,
.content-wrapper .image-edit-form textarea {
    width: 100%;
    box-sizing: border-box;
}









/* Checkbox row */
.image-edit-form .checkbox-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0px 0 0px;
}

.image-edit-form .checkbox-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.image-edit-form .checkbox-row label {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
}






















/* ===============================
   MOBILE TEXT POSITION INDICATOR
   =============================== */

.image-card {
    position: relative;
}

.mobile-text-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 44px;
    height: 64px;
    border: 1px solid rgba(0,0,0,0.25);
    background: rgba(255,255,255,0.85);
    border-radius: 4px;
    pointer-events: none;
}

.mobile-text-indicator span {
    position: absolute;
    left: 6px;
    right: 6px;
    height: 10px;
    background: rgba(0,0,0,0.6);
    border-radius: 2px;
}

/* Preset positions */
.mobile-text-indicator[data-preset="higher"] span {
    top: 10px;
}

.mobile-text-indicator[data-preset="centered"] span {
    top: 27px;
}

.mobile-text-indicator[data-preset="lower"] span {
    bottom: 10px;
}

.mobile-text-indicator[data-preset="compact"] span {
    top: 27px;
    height: 6px;
}

/* Extreme preset positions — SAME RECTANGLE */

.mobile-text-indicator[data-preset="way-higher"] span {
    top: 4px;
}

.mobile-text-indicator[data-preset="ultra-higher"] span {
    top: 0px;
}

.mobile-text-indicator[data-preset="way-lower"] span {
    bottom: 4px;
}

.mobile-text-indicator[data-preset="ultra-lower"] span {
    bottom: 0px;
}



.mobile-text-indicator::after {
    content: attr(data-preset);
    position: absolute;
    top: -26px;
    right: 0;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-size: 11px;
    padding: 3px 6px;
    border-radius: 3px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
    text-transform: capitalize;
}

.image-card:hover .mobile-text-indicator::after {
    opacity: 1;
    transform: translateY(0);
}
