/* Google Fonts - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

:root {
    --primary: #ff932f;
    --primary-light: #ffc98b;
    --primary-rgb: 255, 127, 39;
    --very-light: #ffd7aa;
    --text: #2d3436;
    --text-light: #636e72;
    --background: #f8f9fa;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--background);
}

.header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 35px 0;
    text-align: center;
    margin: 20px 25px 20px 25px;
    border-radius: 35px;
    box-shadow: 0 8px 20px var(--shadow);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 80%);
    opacity: 0.15;
    animation: rotate 25s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.header h1 {
    margin: 0;
    color: var(--white);
    font-size: 2.5em;
    position: relative;
    text-shadow: 0 2px 4px var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    background-color: transparent;
    margin-top: 5px;
}

.nav-links {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0 25px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 24px;
    margin: 0 8px;
    border-radius: 15px;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
    box-shadow: 0 2px 8px var(--shadow);
}

.nav-links a:hover {
    transform: translateY(-1px) scale(1.02);
    background: linear-gradient(135deg, var(--very-light), var(--white));
    box-shadow: 0 4px 12px var(--shadow);
}

.admin-link {
    color: var(--text-light) !important;
    font-size: 0.9em;
}

.admin-link:hover {
    background: linear-gradient(135deg, #f0f0f0, var(--white)) !important;
}

.content {
    flex: 1;
    padding: 20px;
    max-width: 100%;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.content-box {
    background: var(--white);
    border-radius: 35px;
    padding: 20px;
    box-shadow: 0 8px 30px var(--shadow);
    margin: 20px auto;
    max-width: 90%;
    width: auto;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.content-box2 {
    background: var(--white);
    border-radius: 35px;
    padding: 20px;
    box-shadow: 0 8px 30px var(--shadow);
    margin: 20px auto;
    max-width: 600px;
    max-height: 300px;
    width: auto;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.main-message {
    font-size: 60px;
    font-weight: 600;
    margin: 0 20px;
    color: var(--text);
    text-align: center;
    line-height: 1.3;
    display: inline-block;
}

.secondary-message {
    font-size: 55px;
    color: var(--text-light);
    margin: 30px 0;
    text-align: center;
    line-height: 1.3;
}

.footer {
    background-color: var(--white);
    color: var(--text-light);
    text-align: center;
    padding: 20px;
    margin-top: auto;
    font-size: 0.9em;
    box-shadow: 0 -4px 20px var(--shadow);
    border-radius: 0 0 25px 25px;
}

/* Subtle hover effects for interactive elements */
.content-box:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

/* Section styling */
section {
    margin: 20px 0;
    padding: 20px;
    border-radius: 15px;
    background: linear-gradient(90deg, #ffffff, #f8f8f8);
    box-shadow: 0 2px 8px var(--shadow);
}

section h2 {
    color: var(--text);
    margin-bottom: 15px;
    font-size: 1.8em;
}

section p {
    color: var(--text-light);
    line-height: 1.6;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 24px;
    margin: 0 8px;
    border-radius: 15px;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: 0 2px 8px var(--shadow);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    cursor: pointer;
    border: none;
}


.nav-link:hover {
    transform: translateY(-2px) scale(1.02);
    background: linear-gradient(135deg, var(--primary-light), var(--white));
    box-shadow: 0 4px 12px var(--shadow);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(3px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 350px;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
    margin: 0;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h2 {
    margin: 0 0 1.5rem 0;
    color: #333;
    font-size: 1.8rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1rem;
}

.modal-content input {
    width: calc(100% - 0px);
    padding: 14px 16px;
    margin-bottom: 1rem;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.modal-content input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 169, 71, 0.1);
    background-color: white;
}

.sign-in-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), #ff8a00);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.sign-in-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(255, 169, 71, 0.2);
    background: linear-gradient(135deg, #ff8a00, var(--primary));
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8f9fa;
}

.close:hover {
    color: var(--text);
    background: #eee;
    transform: rotate(90deg);
}

/* Button styling */
button.nav-link, .nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 24px;
    margin: 0 8px;
    border-radius: 25px;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
   background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: 0 4px 12px var(--shadow);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    cursor: pointer;
    border: none;
}

button.nav-link:hover, .nav-link:hover {
    transform: translateY(-2px) scale(1.05);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: 0 6px 16px var(--shadow);
    color: var(--white);
}

/* Image styling */
.content-box img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 0 auto;
    display: block;
    box-shadow: 0 4px 12px var(--shadow);
    transition: transform 0.3s ease;
}

.content-box img:hover {
    transform: scale(1.02);
}

/* Highlight effect for drag-and-drop area */
#drop-area.highlight {
    border: 2px dashed var(--primary);
    background-color: var(--very-light);
    transition: all 0.3s ease;
}

/* Style for the View Image button */
.view-image-btn {
    display: inline-block;
    padding: 10px 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: 15px;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 2px 8px var(--shadow);
    transition: all 0.3s ease;
}

.view-image-btn:hover {
    transform: translateY(-2px);
    background: var(--primary-light);
    box-shadow: 0 4px 12px var(--shadow);
}

/* Style for the image container */
.flexible-content-box {
    background: var(--white);
    border-radius: 35px;
    padding: 30px;
    box-shadow: 0 8px 30px var(--shadow);
    margin: 20px auto;
    max-width: 80%;
    height: calc(100vh - 250px); /* Adjust to fit in one page */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flexible-content-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 15px;
}

#drop-area {
    min-height: 400px;  /* Adjust this value to make the box taller or shorter */
    max-width: 60%;     /* Adjust this value to make the box wider or narrower */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;         /* Space between elements inside the box */
}
