/*
Theme Name: I Love Sicily
Theme URI: https://www.ilovesicily.info/
Author: BySimon
Author URI: https://www.ilovesicily.info/
Description: Custom theme based on static HTML for I Love Sicily jewelry site.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ilovesicily
Tags: custom, jewelry, sicily, responsive
*/

 body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 0;
            background: #fff8f0;
            color: #4B2E05;
        }

        header {
            background: url('immagini/banner-sicilia-gioielli.webp') center/cover no-repeat;
            height: 520px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: white;
            text-align: center;
            text-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
            padding: 20px;
        }

        header img {
            max-height: 90px;
			margin-top:160px;
            /*margin-bottom: 25px;*/
            filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
        }

        header h1 {
            font-size: 3rem;
            font-weight: 700;
            letter-spacing: 3px;
            margin: 0;
        }

        main {
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 20px;
        }

        h2 {
            font-size: 2.5rem;
            margin-bottom: 40px;
            color: #b36b00;
            text-transform: uppercase;
            letter-spacing: 3px;
            font-weight: 700;
            text-align: center;
        }

        .intro {
            text-align: center;
            margin-bottom: 50px;
            max-width: 900px;
            margin-left: auto;
            margin-right: auto;
            color: #563e18;
            font-size: 1.1rem;
            line-height: 1.6;
        }

        .collezioni {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-bottom: 60px;
        }

        .collezione {
            background: #fff;
            border-radius: 14px;
            overflow: hidden;
            box-shadow: 0 3px 15px rgb(179 107 0 / 0.35);
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            text-align: center;
            color: #b36b00;
            font-weight: 600;
            font-size: 1.2rem;
            padding-bottom: 15px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .collezione:hover {
            transform: scale(1.07);
            box-shadow: 0 8px 30px rgb(179 107 0 / 0.7);
        }

        .collezione img {
            width: 100%;
            height: 350px;
            object-fit: cover;
            display: block;
            margin-bottom: 10px;
        }

        section.catalogo {
            max-width: 1200px;
            margin: 60px auto;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
            padding: 0 20px;
        }

        article.catalogo {
            background: #f4e9d3;
            border-radius: 16px;
            box-shadow: 0 3px 20px rgb(179 107 0 / 0.35);
            padding: 25px;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        article.catalogo:hover {
            transform: translateY(-8px);
            box-shadow: 0 10px 30px rgb(179 107 0 / 0.6);
        }

        article.catalogo img {
            width: 200px;
            height: auto;
            margin-bottom: 20px;
            border-radius: 12px;
            object-fit: contain;
        }

        article.catalogo h3 {
            color: #b36b00;
            font-size: 1.9rem;
            margin-bottom: 15px;
            font-weight: 700;
            text-transform: uppercase;
        }

        article.catalogo p {
            color: #563e18;
            font-size: 1.1rem;
            line-height: 1.5;
            margin-bottom: 30px;
            flex-grow: 1;
        }

        article.catalogo a.button-download {
            background-color: #b36b00;
            color: white;
            padding: 15px 28px;
            border-radius: 30px;
            font-weight: 700;
            font-size: 1.1rem;
            text-decoration: none;
            transition: background-color 0.3s ease;
        }

        article.catalogo a.button-download:hover {
            background-color: #845000;
        }

        @media (max-width: 960px) {
            section.catalogo {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 600px) {
            section.catalogo {
                grid-template-columns: 1fr;
            }
        }

        footer {
            background: #b36b00;
            padding: 25px 0;
            text-align: center;
        }

        footer a {
            color: white;
            margin: 0 15px;
            font-size: 1.8rem;
            text-decoration: none;
            display: inline-block;
            transition: color 0.3s ease;
        }

        footer a:hover {
            color: #ffdb8a;
        }

        /* Icon style with SVG */
        .icon {
            width: 28px;
            height: 28px;
            vertical-align: middle;
            fill: currentColor;
        }

        .collezione-link {
            text-decoration: none;
            color: inherit;
            display: block;
        }

        .collezione-link:hover {
            text-decoration: none;
            color: inherit;
        }


        @media (max-width: 900px) {
            .collezioni {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 600px) {
            .collezioni {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 600px) {
            header h1 {
                font-size: 2rem;
            }

            .catalogo {
                grid-template-columns: 1fr !important;
            }
        }

        .descrizione-collezioni {
            max-width: 900px;
            margin: 50px auto 70px auto;
            color: #5a3e0d;
            font-size: 1.15rem;
            line-height: 1.7;
            text-align: center;
            font-style: italic;
            font-weight: 500;
            padding: 0 20px;
        }

        .ilovesicily {
            display: flex;
            align-items: center;
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 20px;
            gap: 30px;
            color: #2a3c4a;
            background: transparent;
            border-radius: 14px;
            box-shadow: 0 3px 15px rgba(42, 60, 74, 0.2);
            font-style: italic;
            font-size: 1.1rem;
            line-height: 1.6;
        }

        .ilovesicily img {
            width: 300px;
            height: auto;
            border-radius: 14px;
            object-fit: cover;
            flex-shrink: 0;
            border: 1px solid white;
            margin: 10px;
        }

        .ilovesicily div {
            flex: 1;
        }

        @media (max-width: 600px) {
            .ilovesicily {
                flex-direction: column;
                padding: 20px 10px;
            }

            .ilovesicily img {
                width: 100%;
                max-width: 400px;
                margin-bottom: 20px;
            }
        }
		/*banner cookie consent*/
#cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #b36b00;
    color: #fff;
    padding: 15px 20px;
    font-family: Arial, sans-serif;
    text-align: center;
    z-index: 9999;
  }
  #cookie-banner p {
    margin: 0 10px 10px 0;
    display: inline-block;
  }
  #cookie-banner button {
    background: #563e18;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 18px;
    margin: 0 5px;
    cursor: pointer;
    font-weight: bold;
  }
  #cookie-banner button:hover {
    background: #845000;
  }
  #cookie-modal {
    display: none;
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 16px;
    box-shadow: 0 3px 30px rgba(179, 107, 0, 0.7);
    padding: 30px 40px;
    max-width: 400px;
    z-index: 10000;
    font-family: Arial, sans-serif;
    color: #4b2e05;
  }
  #cookie-modal[aria-hidden="false"] {
    display: block;
  }
  #cookie-modal h2 {
    color: #b36b00;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
  }
  #cookie-modal label {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 12px;
  }
  .cookie-modal-buttons {
    margin-top: 20px;
    text-align: right;
  }
  .cookie-modal-buttons button {
    margin-left: 10px;
    background: #b36b00;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
  }
  .cookie-modal-buttons button:hover {
    background: #845000;
  }

