body{
    font-family: Arial, sans-serif;
    margin:0;
    background-color:#f4f4f4;
}

header{
    background-image: url("../images/header.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
}

header h1{
font-family:'Cinzel',serif;
font-size:52px;
font-weight:700;
letter-spacing:5px;
text-transform:uppercase;
margin-bottom:10px;
color:white;
}

header h3{
font-family:'Cinzel',serif;
font-size:22px;
font-weight:normal;
}

/* TOP NAVIGATION BAR :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/

.top-nav{
position:absolute;  /* changed from absolute → fixed for floting */
z-index:1000;    /* ensure it stays above content */
top:20px;
right:20px;        /* move navbar to right side */
background:#f4f4f4;
padding:5px 10px;
display:flex;
gap:10px;
width:auto;
border-radius:8px;
box-shadow:0 4px 10px rgba(0,0,0,0.2);
}

/* MENU LINKS */
.top-nav a{
text-decoration:none;
color:#444;
font-weight:500;
padding:4px 8px;
border-radius:6px;
transition:all 0.3s ease;
display:flex;
align-items:center;
gap:4px;
}

/* HOVER EFFECT */
.top-nav a:hover{
background:#e9e9e9;
}

/* ACTIVE TAB */
.top-nav a.active{
background:#f7e6d3;
color:#ff9800;
font-weight:600;
}

/* WEBSITE LOGO */
.site-logo{
position:absolute;
top:20px;
left:20px;
height:50px;
width:auto;
}

/* START SECTION DESIGN */
.start-section h2{
 text-align: center;
}
.start-section p{
 max-width: 900px;
 margin: auto;
 text-align: left;
}

section{
    padding:30px;
    text-align:center;
}

/* SECTION DESIGN */
.content-section{
    max-width:1000px;
    margin:40px auto;
    padding:40px;
    background:white;
    border-radius:10px;
    box-shadow:0 6px 20px rgba(0,0,0,0.1);
    transition:transform 0.3s ease, box-shadow 0.3s ease;
}
.content-section:hover{
    transform:translateY(-5px);
    box-shadow:0 12px 25px rgba(0,0,0,0.15);
}

/* SECTION TITLES */
.content-section h2{
    border-left:6px solid #ff9800;
    padding-left:12px;
    margin-bottom:20px;
    color:#222;
    text-align: center;
}

/* TEXT */
.content-section p{
    line-height:1.7;
    color:#444;
    text-align: left;
}

/* LIST */
.content-section ul{
    padding-left:20px;
    text-align: left;
}

.content-section li{
    margin-bottom:10px;
    text-align: left;
    line-height:1.7;
    color:#444;
}

/* Home and product page style ::::::::::::::::::::::::::::::::::::::*/
/* PRODUCT SECTION */
.products{
display:flex;
flex-direction:column;
gap:30px;
max-width:1100px;
margin:40px auto;
}

/* PRODUCT CARD */
.product-card{
display:flex;
align-items:center;;
gap:30px;
background:white;
padding:20px;
border-radius:8px;
box-shadow:0 4px 15px rgba(0,0,0,0.1);
text-align:left;
}

/* PRODUCT TEXT */
.product-info{
text-align:left;
}

/* PRODUCT Image */
.product-card img{
    width:350px;
    height:220px;
    object-fit:cover;
    border-radius:6px;
}
.product-info h3{
margin-top:0;
margin-bottom:10px;
color:#222;
}

.product-info p{
line-height:1.6;
color:#444;
text-align:left;
}
/* Feedback form::::::::::::::::::::::::::::::::::::::::: */
/* FORM SECTION */
.feedback-container{
background:white;
padding:40px;
width:80%;
max-width:900px;
margin:auto;
border-radius:10px;
box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

/* TITLE */
.feedback-container h2{
text-align:center;
margin-bottom:30px;
}

/* FORM ROW */
.form-row{
display:flex;
align-items:center;
margin-bottom:18px;
}

/* LABEL */
.form-row label{
width:180px;
font-weight:600;
width:160px;     /* space reserved for label */
text-align:left; /* ensures label starts from left */
margin-left:10;
}

/* INPUTS */
.form-row input,
.form-row select,
.form-row textarea{
flex:1;
padding:10px;
border:1px solid #ccc;
border-radius:6px;
}

/* TEXTAREA HEIGHT */
.form-row textarea{
height:120px;
}

/* BUTTON */
button{
width:100%;
padding:14px;
background:#4a90e2;
color:white;
border:none;
border-radius:6px;
cursor:pointer;
font-size:16px;
margin-top:15px;
}

button:hover{
background:#3578c8;
}

#message{
text-align:center;
font-weight:bold;
margin-top:10px;
}


/* Feedback Display::::::::::::::::::::::::::::::::::::::::::::: */
/* Feedback title centered */
.feedback-title{
text-align:center;
margin-bottom:20px;
}

/* Table container */
.feedback-table-container{
width:100%;
max-width:1100px;
margin:0 auto;
background:white;
padding:20px;
border-radius:10px;
box-shadow:0 4px 15px rgba(0,0,0,0.15);
}

/* Table layout */
.feedback-table{
width:100%;
border-collapse:collapse;
table-layout:fixed;
}

/* Table header */
.feedback-table th{
text-align:center;
padding:12px;
background:#2f4053;
color:white;
}

/* Table data */
.feedback-table td{
text-align:left;
padding:12px;
border-bottom:1px solid #ddd;
word-wrap:break-word;
}

/* SCROLLABLE TABLE AREA */
.table-scroll{
max-height:300px;   /* show scrollbar after certain rows */
overflow-y:auto;
overflow-x:hidden;
}

/* Row borders */
.feedback-table th,
.feedback-table td{
border:1px solid #ddd;
}

/* Alternating row colors */
.feedback-table tbody tr:nth-child(odd){
background:#f2f7ff;
}
.feedback-table tbody tr:nth-child(even){
background:#fff4e6;
}

/* Hover effect */
.feedback-table tbody tr:hover{
background:#dff0ff;
transition:0.3s;
}

footer{
    background:#333;
    color:white;
    text-align:center;
    padding:15px;
    margin-top:30px;
}
