@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #ffffff;
}

.navbar {
    background: #053f41;
    color: white;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}
.nav-container h1 {
    font-size: 1.2rem;
    text-transform: uppercase;
    font-family: "Nunito", sans-serif;
    font-weight: 800;
}


.nav-links {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    font-family: "Nunito", sans-serif;
    font-weight: 200;
    text-transform: uppercase;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.3s;
}

.nav-links a:hover {
    background: #555;
}

/* Slider */
.slider-container {
    max-width: 1200px;
    width: 100%;
    margin: 0rem auto;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    
    text-align: center;
}

.slider {
    position: relative;
    height:200px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide img {
   
    width: 100%;
	float: left;
	height: auto;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 1rem;
}

/* Login */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 2rem;
}

.login-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    font: size 0.8rem;
    font-family: "Nunito", sans-serif;

}
.login-form h2
{
    font-size:1rem;
    text-transform: uppercase;
    text-align: center;
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: "Nunito", sans-serif;
    font-weight: 200;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

button {
    background: #29867b;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    font-family: "Nunito", sans-serif;
}

button:hover {
    background: #555;
}

/* Dashboard */
.dashboard-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.dashboard-container h2 
{
    display: block;
    font-size: 1.2em;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
    font-family: "Nunito", sans-serif;
    text-transform: uppercase   ;
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.image-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.image-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.image-info {
    padding: 1rem;
    font-size: 0.8rem;
    font-family: "Nunito", sans-serif;
    font-weight: 400;
    padding-bottom: 50px;

}

.delete-btn {
    color: #ffffff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #dc3545;
    border-radius: 4px;
    display: inline-block;
    margin-top: 0.5rem;
    background-color: #dc3545;
}

.delete-btn:hover {
    background: #dc3545;
    color: white;
}

/* Upload */
.upload-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.upload-container  h2{
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    font-family: "Nunito", sans-serif;  
}

.upload-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-size:0.8rem;
    font-weight: 300;
    font-family: "Nunito", sans-serif;
}

/* Messages */
.success {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.error {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .slider {
        height: 300px;
    }
    
    .images-grid {
        grid-template-columns: 1fr;
    }
}

footer {
    background: #053f41;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
    font-size: 0.6rem;
    font-family: "Nunito", sans-serif;
    text-transform: uppercase;
    font-weight: 100;
}