* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #fafafa;
    color: #222;
    line-height: 1.6;
}

/* HEADER */
.main-header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    padding: 20px 50px;
    z-index: 1000;
}

.main-header h1 {
    font-family: 'Playfair Display', serif;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
    transition: 0.3s;
}

nav a:hover {
    color: #000;
}

/* HERO */
.home-hero {
    height: 90vh;
    background: url("Images/unique-artacademy-epsom-2.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 40px;
    text-align: center;
    animation: fadeIn 2s ease;
}

.hero-overlay h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* SECTIONS */
section {
    padding: 60px 10%;
}

/* ARTISTS GRID */
.artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.artist-card {
    overflow: hidden;
    border-radius: 15px;
    position: relative;
    text-decoration: none;
    color: white;
}

.artist-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s;
}

.artist-card:hover img {
    transform: scale(1.1);
}

.artist-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 15px;
}

/* ABOUT */
.home-about {
    max-width: 700px;
    margin: auto;
    text-align: center;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 30px;
    background: #111;
    color: white;
}

/* ANIMATION */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* MODAL (POPUP) */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 80px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
}

.modal-content {
    display: block;
    margin: auto;
    max-width: 80%;
    max-height: 70vh;
    border-radius: 10px;
}

.modal-text {
    color: white;
    text-align: center;
    margin-top: 20px;
}

.close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}