/* ================== RESET ================== */
* { box-sizing:border-box; margin:0; padding:0; }
body { font-family: 'Roboto', sans-serif; background:#0a0a0a; color:white; line-height:1.6; }
h1,h2,h3,h4 { margin-bottom:10px; }
a { text-decoration:none; }

/* ================== HEADER ================== */
header {
    background: linear-gradient(90deg,#7a0000,#400000);
    padding:30px;
    text-align:center;
    border-bottom:3px solid red;
    box-shadow:0 0 25px red;
    
.info-box {
  background-color: #1a1a1a;
  color: white;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

}
header h1 {
    font-size:40px;
    letter-spacing:2px;
    text-shadow:0 0 15px red;
}

.logo {
  height: 50px;
  width: auto;
}

/* ================== NAVBAR ================== */
nav {
    background:#111;
    padding:15px;
    display:flex;
    justify-content:center;
    gap:20px;
    border-bottom:2px solid #4d0000;
    box-shadow:0 0 15px #4d0000;
    flex-wrap: wrap;
}
nav a {
    color:#ffb3b3;
    font-size:18px;
    font-weight:bold;
    transition:0.3s;
}
nav a:hover { color:white; text-shadow:0 0 10px red; }

/* ================== SECTIONS & BOXES ================== */
section, .box {
    display:block;
    padding:40px;
    max-width:1300px;
    margin:auto;
    background:#1a1a1a;
    border-radius:15px;
    box-shadow:0 0 25px #400000;
    transition:0.3s;
}
section h2 { font-size:32px; margin-bottom:20px; text-shadow:0 0 10px red; }

/* ================== BUTTONS & INPUTS ================== */
input, select, button {
    padding:12px;
    margin-top:10px;
    border-radius:8px;
    border:none;
    font-size:16px;
}
input, select { width:100%; background:#222; color:white; }
input::placeholder { color:#aaa; }
button { background:red; color:white; cursor:pointer; font-weight:bold; transition:0.3s; }
button:hover { background:#ff4d4d; box-shadow:0 0 15px red; }

/* ================== LOGIN BOX ================== */
.login-box {
    background:#111;
    width:400px;
    margin:30px auto;
    padding:30px;
    border-radius:15px;
    border:2px solid red;
    box-shadow:0 0 25px red;
    text-align:center;
}

/* ================== PRODUCTS ================== */
.products { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:25px; margin-top:25px; }
.product {
    background:#141414;
    border:2px solid #7a0000;
    border-radius:12px;
    padding:20px;
    text-align:center;
    box-shadow:0 0 15px #3a0000;
    cursor:pointer;
    transition:0.3s;
}
.product:hover { transform:scale(1.05); border-color:red; box-shadow:0 0 25px red; }
.product img { width:120px; height:120px; object-fit:contain; margin:auto; border-radius:10px; }

/* ================== TABLES (LADDER) ================== */
.table { width:100%; border-collapse:collapse; margin-top:20px; background:#111; box-shadow:0 0 20px #400000; }
.table th, .table td { border:1px solid #660000; padding:12px; text-align:center; }
.table th { background:#5a0000; text-shadow:0 0 8px black; }

/* ================== ADMIN TEAM ================== */
.team-container { display:flex; flex-direction:column; gap:25px; max-width:600px; margin:40px auto; }
.team-card { background:#111; border-radius:15px; border:2px solid red; box-shadow:0 0 25px #400000; padding:25px; transition:0.3s; }
.team-card:hover { transform: translateY(-5px); box-shadow:0 0 40px red; }
.team-card h3 { font-size:24px; margin-bottom:15px; text-shadow:0 0 10px red; text-align:center; }
.members { display:flex; flex-direction:column; gap:10px; }
.member {
    display:flex; align-items:center; gap:15px; background:#1a1a1a; padding:10px 15px; border-radius:10px; border:1px solid #7a0000; transition:0.3s;
}
.member:hover { background:#250000; border-color:red; box-shadow:0 0 15px red; }
.member img { width:40px; height:40px; border-radius:50%; object-fit:cover; border:1px solid red; }
.member span { font-size:18px; font-weight:500; }

/* ================== MODALS ================== */
.modal-overlay {
    position:fixed;
    top:0; left:0;
    width:100%; height:100%;
    background:rgba(0,0,0,0.7);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:999;
}
.modal {
    background:#111;
    border:2px solid red;
    width:90%;
    max-width:500px;
    padding:30px;
    border-radius:12px;
    box-shadow:0 0 25px red;
    position:relative;
    text-align:center;
}
.close-btn {
    position:absolute; top:10px; right:15px; font-size:25px;
    color:white; cursor:pointer;
}
.close-btn:hover { color:red; }

/* ================== CHRISTMAS ================== */
#christmasTree { position:fixed; bottom:20px; right:20px; font-size:40px; cursor:pointer; transition:0.3s; z-index:100; }
#christmasTree:hover { transform:scale(1.2); }

/* ================== ADVENT CALENDAR ================== */
.advent-calendar{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap:12px;
  margin-top:20px;
}

.day {
  background: #666; /* šedá pro zavřená políčka */
  color: #fff;
  font-weight: bold;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: 0.3s;
}

.day.locked {
  background: #999; /* světlejší šedá, pokud chceš odlišit zamčená */
  cursor: not-allowed;
  opacity: 0.5;
}

.day.opened {
  background: #0a0; /* zelená pro otevřená */
  cursor: default;
}

/* ================== FOTTER ================== */
.site-footer {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 20px 0;
}

.site-footer p {
  margin: 0 0 10px 0;
  font-size: 14px;
}

.social-icons a {
  display: inline-block;
  margin: 0 8px;
}

.social-icons img {
  width: 40px;
  height: 40px;
  transition: transform 0.2s;
}

.social-icons img:hover {
  transform: scale(1.2);
}

/* ================== RESPONSIVE ================== */
@media(max-width:768px) {
    nav { flex-direction:column; gap:15px; }
    .products { grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:15px; }
    header h1 { font-size:28px; }
    .login-box { width:90%; }
}
