/* =======================================================
OLVI LIGHTS LTD — STYLE.CSS
Clean, Horizontal Header + Glow + Soft Rainbow
======================================================= */
/* RESET */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
height: 100%;
font-family: "Poppins", "Segoe UI", Arial, sans-serif;
color: #f0f8ff;
background: linear-gradient(270deg, red, orange, yellow, green, blue, indigo, violet);
background-size: 1600% 1600%;
animation: rainbowFlow 50s linear infinite;
overflow-x: hidden;
scroll-behavior: smooth;
position: relative;
}
/* Dim overlay for readability */
body::before {
content: "";
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.55);
z-index: -1;
}
/* Rainbow background flow */
@keyframes rainbowFlow {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
/* COLOR VARIABLES */
:root {
--accent1: #00c9ff;
--accent2: #0078ff;
--light: #fff;
--dark: #011627;
}
/* HEADER */
header {
position: sticky;
top: 0;
width: 100%;
background: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(10px);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
padding: 18px 6%;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 1000;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
flex-wrap: wrap;
}
/* LOGO */
.logo {
font-weight: 800;
font-size: 26px;
color: var(--light);
text-transform: uppercase;
letter-spacing: 1.5px;
text-shadow: 0 0 10px #00eaff, 0 0 25px #0078ff;
animation: logoGlow 3s ease-in-out infinite alternate;
}
@keyframes logoGlow {
0% { text-shadow: 0 0 10px #00eaff; }
100% { text-shadow: 0 0 30px #00c9ff, 0 0 50px #0078ff; }
}
/* NAVIGATION — FIXED HORIZONTAL LAYOUT */
nav {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
}
nav ul {
list-style: none;
display: flex;
justify-content: center;
align-items: center;
gap: 16px;
flex-wrap: nowrap; /* ensures they stay in one line */
margin: 0;
padding: 0;
}
/* NAV LINKS — GLOWING BUTTONS */
nav ul li a {
text-decoration: none;
color: var(--light);
background: linear-gradient(90deg, var(--accent1), var(--accent2));
padding: 10px 22px;
border-radius: 8px;
font-weight: 600;
box-shadow: 0 0 15px rgba(0,200,255,0.3);
transition: all 0.3s ease;
display: inline-flex;
align-items: center;
justify-content: center;
position: relative;
white-space: nowrap;
animation: buttonGlow 4s ease-in-out infinite;
}
/* Sequential glow delays */
nav ul li:nth-child(1) a { animation-delay: 0s; }
nav ul li:nth-child(2) a { animation-delay: 0.4s; }
nav ul li:nth-child(3) a { animation-delay: 0.8s; }
nav ul li:nth-child(4) a { animation-delay: 1.2s; }
nav ul li:nth-child(5) a { animation-delay: 1.6s; }
nav ul li:nth-child(6) a { animation-delay: 2s; }
/* Hover & active */
nav ul li a:hover,
nav ul li a.active {
transform: translateY(-3px);
background: linear-gradient(90deg, var(--accent2), var(--accent1));
box-shadow: 0 0 25px rgba(0,200,255,0.7);
}
/* Button glow animation */
@keyframes buttonGlow {
0% { box-shadow: 0 0 10px rgba(0,200,255,0.4); }
50% { box-shadow: 0 0 25px rgba(0,200,255,0.9); }
100% { box-shadow: 0 0 10px rgba(0,200,255,0.4); }
}
/* HERO */
.hero {
min-height: 80vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
color: var(--light);
padding: 40px 8%;
}
.hero h1 {
font-size: 54px;
text-shadow: 0 0 20px rgba(0,150,255,0.6);
animation: fadeIn 2s ease forwards;
}
.hero p {
max-width: 700px;
font-size: 18px;
opacity: 0.9;
animation: fadeIn 3s ease forwards;
}
/* BUTTON STYLE (used for order etc.) */
button,
input[type='submit'],
input [type='reset],{color:#ffffff;
font-size:16px;
font-weight:bold;
}
input,
select,
textarea{
 width:100%
 main-height:44px
 padding:10px
 box-sizing:border-box
}
.btn:hover{transform: translateY(-3);box-shadow:  0 6px 18px rgba(0, 0, 0, 0.3);}
/* FORM*/
form{
    font-display: inline;
    padding: 80px 300px;
    border-radius:200px ;
    background: linear-gradient(90deg, white,rgb231, 157, 157)
    color(srgb red green blue)
   

}
/* General styling for all inputs and seectdropdowns*/
input,
select{
    /*box model & sizing*/
    width:80% ;
    padding: 10px 12px;
    margin-bottom: 15px;
    box-sizing: border-box;

    /*appearence*/
    border: 1px #ccc;
    border-radius: 5px;
    background-color: #d7d9de;
    color: #333;
    font-family: inherit;
    font-size: 1em;
    line-height: 1.5;
    transition: border-color 0.3s ease,box-shadow 0.3 ease;

    /*message appearence*/
     width:80% ;
    padding: 10px 12px;
    margin-bottom: 15px;
    box-sizing: border-box;
}
/*styling for main table container*/
.open-hours-table{
    width: 100%;
    max-width: 700px;
    border-collapse: collapse;
    margin: 30px auto;
    background-color: #ffffff;
    box-shadow: 06px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}
/*Table caption styling*/
.opening-hours-table caption{
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 25px;
    color: #2c3e50;
    text-align: center;
    padding: 10px 0;
}
/*styling for table header cells*/
.opening-hours-table th
.opening-hours-table td{
    border: 1px solid #e0e6eD;
    padding: 15px 20px;
    text-align: left;
}
@media (max-width: 768px) {
  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  nav a {
    font-size: 14px;
    padding: 10px 14px;
    white-space: nowrap;
  }
}
/*styling for table header cells*/
.opening-hours-table th{
    background-color: #3498db;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
/*styling for even rows*/
.opening-hours-table tr:nth-child(even){background-color: #f2f7fc;
}
/*hover effects for raws*/
.opening-hours-table.highlight-raw{background-color: #ffecb3;
font-weight: 700;
color: #a07a00;
box-shadow: inset0 0 0 2px #ffd700;
}
@media(max-width:768px){form{
    width:100%;
}
}

/* FOOTER */
footer {
background: rgba(0, 0, 0, 0.6);
padding: 20px;
text-align: center;
font-size: 15px;
color: #eee;
box-shadow: 0 -2px 12px rgba(0,0,0,0.3);
}
/* ANIMATIONS */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(25px); }
to { opacity: 1; transform: translateY(0); }
}
/* RESPONSIVE */
@media (max-width: 768px) {
header {
flex-direction: column;
text-align: center;
}
nav ul {
flex-wrap: wrap;
gap: 10px;
}
/* ===== FORM CONTROLS FIX ===== */

input,
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  margin: 8px 0 16px 0;

  background: rgba(255, 255, 255, 0.95);
  color: #000;

  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 10px;

  font-size: 16px;
  box-sizing: border-box;
}

/* Textarea height */
textarea {
  min-height: 120px;
  resize: vertical;
}

/* Focus effect */
input:focus,
textarea:focus,
select:focus {
  border-color: #00c6ff;
  box-shadow: 0 0 0 3px rgba(0, 198, 255, 0.3);
  outline: none;
}

/* Buttons (Submit / Clear / Order) */
button,
input[type="submit"],
input[type="reset"] {
  padding: 12px 18px;
  border-radius: 12px;

  background: linear-gradient(45deg, #00c6ff, #0072ff);
  color: #fff;

  border: none;
  font-size: 16px;
  cursor: pointer;
}

/* Button hover */
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
  opacity: 0.9;
}
}


