* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}


h1 {
    font-size: var(--fs-h1);
    line-height: 1.2;
}

h2 {
    font-size: var(--fs-h2);
    line-height: 1.25;
}

h3 {
    font-size: var(--fs-h3);
    line-height: 1.3;
}

h4 {
    font-size: var(--fs-h4);
    line-height: 1.35;
}

h5 {
    font-size: var(--fs-h5);
    line-height: 1.4;
}

h6 {
    font-size: var(--fs-h6);
    line-height: 1.4;
}

p {
    font-size: var(--fs-body);
    line-height: 1.6;
}

.small {
    font-size: var(--fs-small);
}


h3,
h4 {
    color: #2c3e50;
    margin: 15px 0px;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Top Header - Logo and Menu */
.header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px 40px;
    background-color: #2c3e50;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Left side - Logo */
.header-logo {}

.header-logo-img {
    width: 85px;
    height: auto;
}

/* Right side - Menu */
.header-menu {
    display: flex;
    gap: 10px;
}

.menu-item {
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    color: white;
    border-radius: 5px;
}

.menu-item:hover {
    background-color: #3d566e;
}

/* Burger Menu */
.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.burger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px auto;
    transition: all 0.3s ease;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.content__after {
    margin-top: 20px;
    margin: 0 auto;
    display: block;
}

.content-block-small {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
}

.content-block-small-text {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 20px;
    background-color: #fff;
}

.content-block-small-text h2 {
    color: #3498db;
    margin-bottom: 15px;
    text-align: center;
    background-color: #b9c3ce4f;
    padding: 15px;
    font-size: 22px;
}

.content-block-small-text img {
    display: block;
    margin: 20px auto;
}

.content-block-small-text p {
    font-size: 1rem;
    padding: 15px 0px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
}
.content-block-big {
    max-width: 1920px;
}

/* Desktop Responsive */
@media (max-width: 1920px) {
    .main-content {
        margin-top: 40px;
    }
}

/* Mobile Responsive */
@media (max-width: 1000px) {
    .header {
        padding: 15px 20px;
        justify-content: space-between;
    }

    .header-logo {
        font-size: 22px;
    }

    .header-logo-img {
        width: 65px;
        height: auto;
    }


    .burger-menu {
        display: block;
    }

    .header-menu {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 60px);
        background-color: #2c3e50;
        flex-direction: column;
        padding: 20px;
        transition: right 0.3s ease;
        overflow-y: auto;
    }

    .header-menu.active {
        right: 0;
    }

    .menu-item {
        padding: 15px 20px;
        border-bottom: 1px solid #34495e;
    }

    .main-content {
        margin-top: 60px;
    }

    .content-block-small {
        padding: 10px 10px;
    }
}

@media(max-width:765px) {
    .header-logo-img {
        width: 35px;
        height: auto;
    }

    .cart-item {
        flex-grow: 3;
    }
}

/* Hero Section - Full Screen */
.hero {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
gap: 50px;
    align-items: center;
    background-image: linear-gradient(rgba(14, 18, 37, 0.8), rgba(14, 14, 37, 0.8)), url(https://megicatreat.com/wp-content/uploads/2021/03/bg-2.png);
    color: white;
    text-align: center;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.hero p {
    font-size: 1.2rem;
    color: #bdc3c7;
}

/* Footer Styles */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 0 0;
    text-align: center;
    width: 100%;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-block {
    flex: 1;
    min-width: 250px;
    margin: 20px;
    padding: 20px;
    background-color: #34495e;
    border-radius: 8px;
    text-align: left;
}

.footer-block h3 {
    color: #3498db;
    margin-bottom: 15px;
}

.footer-block p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-block-line {
    background-color: #222d39;
    /* Darker shade */
    padding: 15px 20px;
    margin-top: 20px;
    font-size: 0.85rem;
    color: #cccccc;
}


/* START - Cart item block */
.cart-block {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.cart-item {
    border: #ff6b6b 1px solid;
    border-radius: 15px;
    max-width: 250px;
    padding: 15px;
    margin: 15px;
    text-align: center;
    flex-grow: 3;
}

.cart-item-image {
    width: 100px;
    height: auto;
}

/* END -  Cart item block */

/*Start Button Styles*/
.button {
    box-shadow: 0px 1px 0px 0px #fff6af;
    background: linear-gradient(to bottom, #ffec64 5%, #ffab23 100%);
    background-color: #ffec64;
    border-radius: 6px;
    border: 1px solid #ffaa22;
    cursor: pointer;
    color: #333333;
    font-family: Arial;
    font-size: 25px;
    font-weight: bold;
    padding: 13px 35px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #ffee66;
    display: block;
    margin: 20px auto;
}

.button:hover {
    background: linear-gradient(to bottom, #ffab23 5%, #ffec64 100%);
    background-color: rgba(0, 0, 0, 0);
    background-color: #ffab23;
}

/*End Button Styles*/

/*START Table Styles*/
table {
  width: 100%;
  max-width: 800px;
  margin: 20px auto; /* центрування */
  border-collapse: collapse;
  font-size: 16px;
}

th, td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
}

th {
  background-color: #f5f5f5;
  font-weight: 600;
}

tr:nth-child(even) {
  background-color: #fafafa;
}

/* Адаптивність */
@media (max-width: 600px) {
  table {
    font-size: 14px;
  }

  th, td {
    padding: 8px;
  }
}
/*END Table Styles*/

/* START List Styles*/
ul {
  list-style: none;
  max-width: 800px;
  margin: 20px auto;
  padding: 0;
}

li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}

li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #333;
}
/*End List Styles*/