/* ===================================
   MARZA'S ART
   Version 1.0
=================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Inter',sans-serif;

    background:#FAF8F5;

    color:#2f2f2f;

    line-height:1.7;

}

/* -------------------------
   Header
--------------------------*/

header{

    position:sticky;
    top:0;

    background:rgba(250,248,245,.95);

    backdrop-filter:blur(8px);

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px 8%;

    border-bottom:1px solid #e6ddd5;

    z-index:1000;

}

.logo{

    font-family:'Cormorant Garamond',serif;

    font-size:2rem;

    font-weight:700;

    letter-spacing:1px;

}

nav{

    display:flex;

    gap:30px;

}

nav a{

    color:#444;

    text-decoration:none;

    font-weight:500;

    transition:.3s;

}

nav a:hover{

    color:#8c6b52;

}

/* -------------------------
   Hero
--------------------------*/

.hero{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

    max-width:1400px;

    margin:auto;

    min-height:90vh;

    padding:80px 8%;

}

.subtitle{

    text-transform:uppercase;

    letter-spacing:3px;

    color:#8c6b52;

    margin-bottom:18px;

    font-size:.9rem;

}

.hero h1{

    font-family:'Cormorant Garamond',serif;

    font-size:5rem;

    line-height:1;

    margin-bottom:30px;

    font-weight:600;

}

.intro{

    max-width:480px;

    margin-bottom:40px;

    color:#666;

}

.button{

    display:inline-block;

    background:#8c6b52;

    color:white;

    padding:16px 34px;

    border-radius:50px;

    text-decoration:none;

    transition:.3s;

}

.button:hover{

    background:#71523e;

    transform:translateY(-2px);

}

.hero-image img{

    width:100%;

    border-radius:12px;

    box-shadow:0 25px 60px rgba(0,0,0,.18);

}

/* -------------------------
   Sections
--------------------------*/

section{

    padding:120px 8%;

}

section h2{

    font-family:'Cormorant Garamond',serif;

    font-size:3rem;

    margin-bottom:50px;

    text-align:center;

}

/* -------------------------
   About
--------------------------*/

.about{

    display:grid;

    grid-template-columns:350px 1fr;

    gap:80px;

    align-items:center;

    max-width:1200px;

    margin:auto;

}

.about img{

    width:100%;

    border-radius:12px;

    box-shadow:0 15px 40px rgba(0,0,0,.12);

}

.about-text p{

    margin-bottom:20px;

    color:#555;

}

/* -------------------------
   Gallery
--------------------------*/

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:35px;

    max-width:1400px;

    margin:auto;

}

.painting-card{

    background:white;

    border-radius:12px;

    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.35s;

}

.painting-card:hover{

    transform:translateY(-10px);

}

.painting-card h3{

    padding:20px 20px 8px;

    font-family:'Cormorant Garamond',serif;

    font-size:1.7rem;

}

.painting-card p{

    padding:0 20px 20px;

    color:#777;

}

/* -------------------------
   Timeline
--------------------------*/

.timeline{

    max-width:900px;

    margin:auto;

}

.event{

    background:white;

    padding:35px;

    border-left:5px solid #8c6b52;

    margin-bottom:30px;

    border-radius:10px;

    box-shadow:0 10px 25px rgba(0,0,0,.06);

}

.event h3{

    font-size:2rem;

    font-family:'Cormorant Garamond',serif;

    margin-bottom:10px;

}

/* -------------------------
   Contact
--------------------------*/

.contact{

    text-align:center;

}

.contact p{

    max-width:600px;

    margin:auto auto 40px;

    color:#666;

}

/* -------------------------
   Footer
--------------------------*/

footer{

    padding:50px;

    text-align:center;

    color:#777;

    border-top:1px solid #e8dfd7;

}

/* -------------------------
   Responsive
--------------------------*/

@media (max-width:900px){

.hero{

    grid-template-columns:1fr;

    text-align:center;

}

.hero h1{

    font-size:3.5rem;

}

.intro{

    margin-left:auto;

    margin-right:auto;

}

.about{

    grid-template-columns:1fr;

    text-align:center;

}

nav{

    gap:15px;

    font-size:.9rem;

}

header{

    flex-direction:column;

    gap:15px;

}

}

/* ===================================
   JavaScript effects
=================================== */

section{

    opacity:1;

    transform:none;

}

nav a.active{

    color:#8c6b52;

    font-weight:600;

}

.painting-card img{

    width:100%;

    aspect-ratio:4/5;

    object-fit:cover;

    display:block;

}

.painting-info{

    padding:20px;

}

.status{

    display:inline-block;

    margin-top:10px;

    padding:6px 12px;

    border-radius:20px;

    background:#d8ece0;

    color:#2d6a4f;

    font-size:.85rem;

    font-weight:600;

}