:root {
  --primary-color: #4a6b5d;
  --primary-dark: #2e453b;
  --accent-color: #268334;
  --accent-hover: #d98e80;
  --bg-cream: #f3f7f2;
  --bg-white: #ffffff;
  --text-main: #333333;
  --text-muted: #666666;
  --border-light: #e2ded8;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease-in-out;
}

html{
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

*{
    box-sizing: border-box;
    margin: 0;
    padding:0;
}

body{
    background-color: var(--bg-cream);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a{
    text-decoration: none;
    color: inherit;
}

/* header & navigation ko css*/
header{
    background-color: var(--bg-white);
    border-bottom: 2px solid var(--border-light);
    position: sticky;
    z-index: 1000;
    top: 0;
    box-shadow: var(--shadow-sm);
}

.nav-container{
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo{
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--primary-color);
    font-family: 'Georgia', serif;
}

.nav-list{
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a{
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
    transition: var(--transition);
}
.nav-list a:hover,
.nav-list a.active{
    color: var(--accent-color);
}

/* hero ko css*/

.hero{
    background:  linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1561181286-d3fee7d55364?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    color: var(--bg-white);
    padding: 0 1rem;
}
.hero-content{
    max-width: 700px;
}
.hero h1{
    font-family: 'Georgia', serif;
    font-size: 3.3rem;
    margin-bottom: 1.1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3) ;
}
.hero p{
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow:  0 1px 3px rgba(0,0,0,0.3);
}

.btn{
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--bg-white);
    padding: .8rem 2rem;
    border-radius: 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.btn:hover{
    background-color: var(--accent-hover);  
    transform: translateY(-2px);
}

/* main ko css */


.section-title{
    text-align: center;
    margin: 3rem 0 1.5rem;
    font-family: 'Georgia' serif;
    font-size: 2.2rem;
    color: var(--primary-dark);
}

.product-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.product-card {
  background-color: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  margin: 0 15px;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.img-container {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background-color: #f0f0f0;
}

.img-container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .4s ease-in-out;
}

.product-card:hover .img-container img {
  transform: scale(1.25);
}

.badge{
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color:  rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
    padding: .3rem .8rem;
    border-radius: 15px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 1;
}

.product-info{
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-family: 'Georgia', serif;
    font-size: 1.25rem;
    padding: 15px;
    height: 100%;
}

.product-price{
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
}

.product-info p{
    color: var(--text-muted);
    font-size: .9rem;
    margin-bottom: 0;
}

.add-to-cart{
    display: block;
    width: 100%;
    margin-top: auto;
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 0.85rem 1rem;
    text-align: center;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.add-to-cart:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

/* footer ko css  */

footer{
    background: var(--primary-dark);
    color: var(--bg-white);
    padding: 4rem 2rem 2rem;
    margin-top: auto;
}

.footer-container{
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h4{
    font-family: 'Georgia', serif;
    font-size: 1.2rem;
    color: var(--accent-color);
}

hr{
    opacity: 50%;
}
.copyright{
    text-align: center;
    padding-top: 2rem;
    font-size: .85rem;
    color:  #a0a0a0;
}
.sec-title{
    text-align: center;
    margin: 3rem 0 1.5rem;
    font-family: 'Georgia', serif;
    font-size: 2.2rem;
    color: var(--primary-dark);
}

  /* form ko css*/

.form-container{
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background: var(--bg-white);
    border-radius: 3rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    margin-bottom: 30px;
}

.form-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.full-width {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  background-color: var(--bg-cream);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(74, 107, 93, 0.15);
}