/* ---------------------- */
/* General Reset & Fonts */
/* ---------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* ---------------------- */
/* Container & Layout */
/* ---------------------- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* ---------------------- */
/* Headings */
/* ---------------------- */
h1, h2, h3 {
    font-weight: 700;
    color: #222;
}

h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 10px;
}

h2 {
    font-size: 2rem;
    margin: 30px 0 15px 0;
}

/* ---------------------- */
/* Paragraphs */
/* ---------------------- */
p {
    font-size: 1rem;
    margin-bottom: 20px;
}

/* ---------------------- */
/* Links */
/* ---------------------- */
a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

/* ---------------------- */
/* Buttons */
/* ---------------------- */
button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

/* ---------------------- */
/* Form Inputs */
/* ---------------------- */
input[type="text"],
input[type="file"],
input[type="email"],
input[type="password"] {
    padding: 10px;
    width: 100%;
    max-width: 400px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

/* ---------------------- */
/* Image Upload Preview / Cards */
/* ---------------------- */
.image-card {
    display: inline-block;
    margin: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

.image-card img {
    display: block;
    width: 100%;
    max-width: 250px;
    height: auto;
}

/* ---------------------- */
/* List Styling */
/* ---------------------- */
ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    margin-bottom: 10px;
}

/* ---------------------- */
/* Responsive Grid for Photos */
/* ---------------------- */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* ---------------------- */
/* Footer */
/* ---------------------- */
footer {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

/* ---------------------- */
/* Centering Content */
/* ---------------------- */
.text-center {
    text-align: center;
}
