:root {
    --yellow: rgb(255, 237, 0);
    --text: rgb(84, 142, 69);
    --boxColor: rgb(223, 229, 145);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    height: 100%;
}
body {
    font-family: 'Century Old Style', serif;
    background-image: url("../media/alap_hatter.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    overflow-x: hidden;
    color: var(--text);
    height: 100%;;
}

.headerContainer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.logo {
    position: absolute;
    top: 12px;
    left: 74px;
    height: 120px;
    max-width: 200px;
    object-fit: contain;
    z-index: 1;
}

.header {
    width: 80%;
    min-height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 12px 12px 12px 220px;
    font-size: 20px;
    flex-wrap: wrap;
    margin-right: 20px;
}

@media screen and (max-width: 768px) {
    .header {
        width: 100%;
        padding-left: 12px;
        padding-top: 140px;
    }

    .logo {
        left: 50%;
        transform: translateX(-50%);
    }
}

.header div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 10px;
}

.header img {
    height: 120px;
    object-fit: contain;
}

.header ul {
    list-style: none;
    text-align: center;
}

.header li {
    margin: 5px 0;
}

.header p {
    margin: 0;
    font-size: 0.9em;
}

.header a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.header a:hover {
    color: var(--boxColor);
}

.extraInfo {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 12px;
    margin: 16px auto;
    width: 90%;
    padding: 8px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.extraInfo p {
    width: 28%;
}

.extraInfo p,
aside p {
    padding: 8px 12px;
    background-color: var(--boxColor);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: default;
}

.extraInfo i {
    font-size: 1.1em;
    color: var(--text);
}

@media screen and (max-width: 600px) {
  .extraInfo {
    flex-direction: column;
    align-items: stretch;
  }

  .extraInfo p {
    width: 100%;
  }
}

aside p:hover {
    background-color: var(--yellow);
    transform: scale(1.03);
    cursor: pointer;
}

aside.pages {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    height: 100%;
    width: 100%;
    padding: 12px;
    margin-top: 12px;;
}

aside.pages p {
    height: 28px; /* Set a fixed height for each p element */
    width: 160px;
    margin: 12px 0; /* Add vertical margin between elements */
    display: flex;
    align-items: center;
    justify-content: center;
}

.mainContainer {
    display: flex;
    margin: 20px auto;
    margin-top:0px;
    width: 90%;
    min-height: calc(100vh - 250px);
}

.mainContainer .content {
    flex: 1;
    margin: 16px;
    background-color: var(--boxColor);
    opacity: 0.9; /* Increase opacity slightly */
    padding: 24px; /* More padding for better spacing */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}


.content .row1,
.content .row2 {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 20px;
    gap: 30px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    min-height: 480px; /* Changed from height to min-height */
}

.content .row1 img,
.content .row2 img {
    max-height: 360px; /* Increased from 240px */
    width: auto;
    max-width: 300px;
    object-fit: contain;
}
.content .row2 {
    margin-top: 30px;
}

.content .row1 p,
.content .row2 p {
    flex: 1;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}
.storeData {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.delivery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.content .row2 .delivery img {
    max-height: 200px !important;
    width: auto !important;
}

.delivery p {
    margin: 0;
    font-size: 16px;
    text-align: center;
}

.recent {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;  /* Increased gap */
    padding: 24px;  /* Increased padding */
    background-color: rgba(255, 255, 255, 0.5);  /* More visible background */
    border: 2px solid rgba(255, 0, 0, 0.3);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);  /* Added shadow */
    transition: transform 0.3s ease;  /* Added transition */
    width: 100%;  /* Take full width */
}

.recent:hover {
    transform: scale(1.02);
    background-color: rgba(255, 255, 255, 0.6);
}

.recent p {
    font-size: 28px;  /* Increased font size */
    font-weight: bold;
    color: var(--text);
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

.recent img {
    max-width: 100%;  /* Make images responsive */
    height: auto;
    border-radius: 8px;
}

.content img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.content img:hover {
    transform: scale(1.05);
}

.storeData p {
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 0, 0, 0.3);
    border-radius: 12px;
    transition: transform 0.2s ease;
}

.storeData p:hover {
    transform: scale(1.02);
    background-color: var(--yellow);
}


@media screen and (max-width: 768px) {
  .mainContainer {
    flex-direction: column;
  }

  aside.pages {
    justify-content: center;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px; /* Slightly larger gap for mobile view */
    padding: 16px;
  }

  aside.pages p {
    width: calc(50% - 8px); /* Account for the gap */
    margin: 0;
  }

  /* Make rows stack vertically on mobile */
  .content .row1,
  .content .row2 {
    flex-direction: column;
    text-align: center;
  }

  .content .row1 img,
  .content .row2 img {
    max-width: 100%;
    max-height: 200px;
    margin: 10px 0;
  }

  .content .row1 p,
  .content .row2 p {
    margin: 10px 0;
  }
}



/* Nyitvatartás */
.content .openingHoursContainer { 
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-radius: 12px;
}

.content .openingHours {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 400px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content .openingHours:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

@media screen and (max-width: 768px) {
    .content .openingHoursContainer {
        padding: 10px;
    }
    
    .content .openingHours {
        max-height: 300px;
    }
}


/* Termékek */
.products-container {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    min-height: 400px;
    background-image: url('../media/termekek/iroszerek.png');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: local;
    border-radius: 12px;
}

.left-column, .right-column {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 2;
}

.left-column:hover, .right-column:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.left-column h3, .right-column h3 {
    color: var(--text);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    border-bottom: 2px solid var(--yellow);
    padding-bottom: 0.5rem;
}

.left-column ul, .right-column ul {
    list-style: none;
    padding: 0;
}

.left-column li, .right-column li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    padding: 0.5rem;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    transition: background-color 0.3s ease;
    line-height: 1.4;
}

.left-column li:hover, .right-column li:hover {
    background-color: rgba(255, 237, 0, 0.5);
}

.left-column strong, .right-column strong {
    color: var(--text);
    font-weight: bold;
}

.products-container .iroszerek {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 500px;
    width: 80%;
    height: auto;
    border-radius: 12px;
    opacity: 0.3;
    z-index: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.products-container .iroszerek:hover {
    transform: translate(-50%, -50%);
    opacity: 0.3;
}

.products-container:hover .iroszerek {
    opacity: 0.5;
}

@media screen and (max-width: 768px) {
    .products-container {
        flex-direction: column;
        gap: 1rem;
        background-size: 80%;
    }
    
    .left-column, .right-column {
        padding: 1rem;
        background-color: rgba(255, 255, 255, 0.9);
    }
}

/* Rólunk */
.aboutUsContainer {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.aboutUsContainer img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.aboutUsContainer img:hover {
    transform: scale(1.00);
}

.aboutUsText {
    flex: 1;
    padding: 1rem;
    text-align: center;
}

.aboutUsText h2 {
    color: var(--text);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    border-bottom: 3px solid var(--yellow);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.aboutUsText p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--text);
    font-weight: 500;
    padding: 0.5rem;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.aboutUsText p:hover {
    background-color: rgba(255, 237, 0, 0.3);
}

@media screen and (max-width: 768px) {
    .aboutUsContainer {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .aboutUsContainer img {
        max-width: 250px;
    }
    
    .aboutUsText h2 {
        font-size: 1.5rem;
    }
    
    .aboutUsText p {
        font-size: 1rem;
    }
}


/* Szolgáltatások */
.servicesContainer {
    display: flex;
    align-items: stretch;
    gap: 2rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    min-height: 400px;
}

.servicesImages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 280px;
    flex-shrink: 0;
    justify-content: space-between;
}

.servicesContainer img {
    width: 100%;
    height: calc(50% - 0.5rem);
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    background-color: rgba(255, 255, 255, 0.8);
}

.servicesContainer img:hover {
    transform: scale(1.02);
}

.servicesText {
    flex: 1;
    padding: 0.6rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.servicesText h2 {
    color: var(--text);
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    border-bottom: 3px solid var(--yellow);
    padding-bottom: 0.3rem;
    text-align: center;
}

.servicesText h3 {
    color: var(--text);
    font-size: 1.2rem;
    margin: 0.6rem 0 0.4rem 0;
    text-transform: uppercase;
    border-bottom: 2px solid var(--yellow);
    padding-bottom: 0.2rem;
    display: inline-block;
}

.servicesText ul {
    list-style: none;
    padding: 0;
    margin-bottom: 0.6rem;
}

.servicesText li {
    margin-bottom: 0.4rem;
    padding: 0.3rem;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    line-height: 1.2;
    border-left: 3px solid var(--yellow);
    font-size: 1rem;
}

.servicesText li:hover {
    background-color: rgba(255, 237, 0, 0.4);
    transform: translateX(3px);
}

.servicesText strong {
    color: var(--text);
    font-weight: bold;
    font-size: 1.2em;
}

@media screen and (max-width: 768px) {
    .servicesContainer {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        min-height: auto;
    }
    
    .servicesImages {
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }
    
    .servicesContainer img {
        width: calc(50% - 0.5rem);
        height: 120px;
        object-fit: contain;
    }
    
    .servicesText {
        max-width: 100%;
        flex: 1;
    }
    
    .servicesText h2 {
        font-size: 1.3rem;
    }
    
    .servicesText h3 {
        font-size: 1.1rem;
    }
    
    .servicesText li {
        padding: 0.4rem;
        font-size: 0.85rem;
    }
}



/* Kisokos */
.selectors {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.selectors > div {
    flex: 1;
    padding: 0.8rem 1rem;
    background-color: var(--boxColor);
    border-radius: 10px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.selectors > div:hover {
    background-color: var(--yellow);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.selectors > div.active {
    background-color: var(--yellow);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.selected_content {
    min-height: 300px;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

@media screen and (max-width: 768px) {
    .selectors {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .selectors > div {
        width: 100%;
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    .selected_content {
        padding: 1rem;
        min-height: 200px;
    }
}

/* Kisokos specific styling */
.kisokos-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.kisokos-image {
    width: auto;
    height: auto;
    max-height: 600px;
    max-width: 100%; /* Added max-width constraint */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.kisokos-image.a-paper {
    width: 300px;
    height: auto;
}

.kisokos-image.b-paper {
    width: 423px; /* 35% * 1.41 = 49.35% */
    height: auto;
}

.kisokos-image:hover {
    transform: scale(1.02);
}

.notebook-content {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.notebook-section {
    flex: 1;
}

.notebook-section h4 {
    color: var(--text);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
    border-bottom: 2px solid var(--yellow);
    padding-bottom: 0.5rem;
}

.notebook-item {
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    border-left: 4px solid var(--yellow);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.notebook-item:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 237, 0, 0.3);
}

.notebook-item h5 {
    color: var(--text);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.notebook-item p {
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    line-height: 1.4;
}

.notebook-item p:last-child {
    margin-bottom: 0;
}

.selected_content h3 {
    color: var(--text);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    border-bottom: 3px solid var(--yellow);
    padding-bottom: 0.5rem;
}

@media screen and (max-width: 768px) {
    .kisokos-image-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .kisokos-image {
        max-width: 95%; /* Ensure images don't overflow on mobile */
        max-height: 400px; /* Reduce height on mobile */
    }
    
    .kisokos-image.a-paper {
        max-width: 70%;
    }
    
    .kisokos-image.b-paper {
        max-width: 95%; /* Prevent B paper from overflowing */
    }

    .notebook-content {
        flex-direction: column;
        gap: 1rem;
    }

    .notebook-item {
        padding: 0.8rem;
    }

    .notebook-item h5 {
        font-size: 1rem;
    }
}





/* Stamp table styling */
.stamp-table-container {
    margin-top: 1rem;
}

.stamp-table-container h4 {
    color: var(--text);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
    border-bottom: 3px solid var(--yellow);
    padding-bottom: 0.5rem;
}

.stamp-table {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stamp-category {
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stamp-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stamp-category h5 {
    color: var(--text);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
    border-bottom: 2px solid var(--yellow);
    padding-bottom: 0.5rem;
    background-color: rgba(255, 237, 0, 0.2);
    border-radius: 8px;
    padding: 0.8rem;
}

.stamp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    justify-items: center; /* Center items horizontally */
    align-items: center;   /* Center items vertically */
}

.stamp-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    border-left: 4px solid var(--yellow);
    transition: all 0.3s ease;
    min-height: 80px;
    position: relative;
}

.stamp-item:hover {
    background-color: rgba(255, 237, 0, 0.4);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.stamp-item.oval {
    border-radius: 50px;
    border-left: none;
    border: 4px solid var(--yellow);
}

.stamp-item.round {
    border-radius: 50%;
    border-left: none;
    border: 4px solid var(--yellow);
    width: 100px;
    height: 100px;
    /* Remove justify-self: center; and let the grid handle it */
}

.stamp-item.dater {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 237, 0, 0.2));
    border-left-color: #ff6b35;
}

.stamp-item.classic {
    background: linear-gradient(135deg, rgba(200, 200, 200, 0.3), rgba(255, 255, 255, 0.7));
    border-left-color: #666;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.stamp-code {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.stamp-size {
    font-size: 0.9rem;
    color: var(--text);
    text-align: center;
    font-weight: 500;
}

.stamp-size small {
    font-size: 0.75rem;
    opacity: 0.8;
}

@media screen and (max-width: 768px) {
    .stamp-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.8rem;
        justify-items: center;
        align-items: center;
    }
    
    .stamp-item {
        padding: 0.8rem;
        min-height: 70px;
    }
    
    .stamp-item.round {
        width: 80px;
        height: 80px;
        /* Ensure round items are also centered on mobile */
    }
    
    .stamp-code {
        font-size: 1rem;
    }
    
    .stamp-size {
        font-size: 0.8rem;
    }
    
    .stamp-category h5 {
        font-size: 1.1rem;
    }
    
    .stamp-table-container h4 {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 480px) {
    .stamp-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        justify-items: center;
        align-items: center;
    }
    
    .stamp-item.round {
        width: 70px;
        height: 70px;
    }
}


/* Footer */
footer {
    margin-top: 64px;
    background-color: rgba(255, 255, 255, 0.3);
    padding: 2rem;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 2rem;
    color: var(--text);
}

footer section {
    height: 240px;
    flex: 1;
    background-color: rgba(255, 255, 255, 0.4);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

footer section:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 237, 0, 0.2);
}

footer h3 {
    color: var(--text);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    border-bottom: 2px solid var(--yellow);
    padding-bottom: 0.5rem;
    text-align: center;
}

footer p {
    color: var(--text);
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer li {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    border-left: 3px solid var(--yellow);
}

footer li:hover {
    background-color: rgba(255, 237, 0, 0.4);
    transform: translateX(3px);
}

footer a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

footer a:hover {
    color: var(--yellow);
}

footer i {
    font-size: 1em;
    color: var(--text);
    margin-left: 0.4rem;
    transition: color 0.3s ease;
}

footer a:hover i {
    color: var(--yellow);
}

footer img {
    max-width: 180px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    align-self: center;
}

footer img:hover {
    transform: scale(1.05);
}

@media screen and (max-width: 768px) {
    footer {
        
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    footer section {
        padding: 1rem;
        width: 100%;
    }
    
    footer h3 {
        font-size: 1.2rem;
    }
    
    footer p {
        font-size: 0.9rem;
    }
    footer a {
        font-size: 0.9rem;
    }
    
    footer img {
        max-width: 120px;
        margin: 0 auto;
    }
}

