/* ===========================
   GENERAL
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#fff8f2;
    color:#333;
    line-height:1.6;
}

/* ===========================
   HEADER
=========================== */

header{
    background:#8B0000;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 8%;
    position:sticky;
    top:0;
    z-index:1000;
}

/* Logo */

.logo{
    display:flex;
    flex-direction:column;
}

.logo h1{
    color:#fff;
    font-size:32px;
    margin:0;
}

.logo .author{
    color:#FFD700;
    font-size:18px;
    font-style:italic;
    font-weight:bold;
    margin-left:48px;
    margin-top:4px;
}

/* Navigation */

nav{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

nav a{
    color:#fff;
    text-decoration:none;
    font-weight:bold;
    padding:10px 18px;
    border-radius:8px;
    transition:0.3s;
}

nav a:hover,
nav a.active{
    background:#fff;
    color:#8B0000;
}

/* ===========================
   HERO
=========================== */

.hero{
    width:90%;
    margin:40px auto;
    text-align:center;
}

.hero h2{
    color:#8B0000;
    font-size:40px;
    margin-bottom:15px;
}

.hero p{
    font-size:20px;
    max-width:750px;
    margin:0 auto 25px;
}

.hero img{
    width:90%;
    max-width:650px;
    border-radius:15px;
    display:block;
    margin:20px auto;
    box-shadow:0 4px 12px rgba(0,0,0,.2);
}

/* ===========================
   BUTTON
=========================== */

.button{
    display:inline-block;
    background:#8B0000;
    color:#fff;
    text-decoration:none;
    padding:12px 25px;
    border-radius:8px;
    margin:10px;
    transition:0.3s;
}

.button:hover{
    background:#b22222;
}

/* ===========================
   ABOUT
=========================== */

.about{
    width:85%;
    max-width:900px;
    margin:35px auto;
    background:#fff;
    padding:30px;
    border-radius:15px;
    text-align:center;
    box-shadow:0 3px 10px rgba(0,0,0,.15);
}

.about img{
    width:350px;
    max-width:100%;
    display:block;
    margin:20px auto;
    border-radius:15px;
}

.about h2{
    color:#8B0000;
    margin:20px 0;
}

.about p{
    max-width:700px;
    margin:15px auto;
    font-size:17px;
}

.about ul{
    list-style:none;
    margin-top:15px;
}

.about li{
    padding:8px;
}

/* ===========================
   PRODUCTS
=========================== */

.products{
    width:90%;
    margin:40px auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.card{
    background:#fff;
    border-radius:15px;
    padding:20px;
    text-align:center;
    box-shadow:0 3px 10px rgba(0,0,0,.15);
    transition:0.3s;
}

.card:hover{
    transform:translateY(-5px);
}

.card img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:12px;
}

.card h3{
    margin:15px 0 10px;
}

.card p{
    color:#8B0000;
    font-weight:bold;
    margin-bottom:15px;
}

/* ===========================
   GALLERY
=========================== */

.gallery{
    width:90%;
    margin:40px auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.gallery img{
    width:100%;
    height:230px;
    object-fit:cover;
    border-radius:12px;
    transition:0.3s;
}

.gallery img:hover{
    transform:scale(1.05);
}

/* ===========================
   VALUES
=========================== */

.values{
    background:#fff4eb;
    text-align:center;
    padding:35px 20px;
    margin-top:35px;
}

.values h2{
    color:#8B0000;
    margin-bottom:20px;
}

.value-box{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:20px;
}

.value-box p{
    background:#fff;
    padding:15px 20px;
    border-radius:10px;
    box-shadow:0 2px 8px rgba(0,0,0,.1);
    min-width:180px;
}

/* ===========================
   ORDER & CONTACT
=========================== */

.order,
.contact{
    width:90%;
    max-width:700px;
    margin:40px auto;
    background:#fff;
    padding:30px;
    border-radius:15px;
    box-shadow:0 3px 10px rgba(0,0,0,.15);
}

.order h2,
.contact h2{
    text-align:center;
    color:#8B0000;
    margin-bottom:20px;
}

.order label,
.contact label{
    display:block;
    margin-top:15px;
    font-weight:bold;
}

.order input,
.order select,
.order textarea,
.contact input,
.contact textarea{
    width:100%;
    padding:12px;
    margin-top:8px;
    margin-bottom:15px;
    border:1px solid #ccc;
    border-radius:8px;
}

textarea{
    resize:none;
}

/* ===========================
   FOOTER
=========================== */

footer{
    background:#8B0000;
    color:#fff;
    text-align:center;
    padding:25px;
    margin-top:40px;
}

footer h3{
    margin-bottom:10px;
}

footer p{
    margin:6px 0;
}

footer hr{
    width:60%;
    margin:15px auto;
    border:1px solid rgba(255,255,255,.3);
}

/* ===========================
   MOBILE
=========================== */

@media(max-width:768px){

header{
    flex-direction:column;
    text-align:center;
}

.logo .author{
    margin-left:0;
}

nav{
    justify-content:center;
    margin-top:10px;
}

.hero h2{
    font-size:30px;
}

.products,
.gallery,
.about,
.order,
.contact{
    width:95%;
}

.value-box{
    flex-direction:column;
    align-items:center;
}

}
/* Fix Author Color */
.logo .author{
    color: #FFD700 !important;
    font-size:18px;
    font-style:italic;
    font-weight:bold;
    margin-top:2px;
    margin-left:45px;
}

.logo h1{
    color:#ffffff !important;
}