/*
Theme Name: Salerno Marina Bay
Theme URI: https://www.salernomarinabay.it/
Author: Salerno Marina Bay
Author URI: https://www.salernomarinabay.it/
Description: Tema WordPress per Salerno Marina Bay House - Comfort a due passi dal mare
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: salerno-marina-bay
Tags: responsive, bootstrap, hotel, vacation-rental

*/

/* Stili generali */
body {
    margin: 0;
    padding: 0;
    font-family: 'Neue Haas Grotesk', sans-serif;
    background: url('images/splash_nologo.png') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Didot', serif;
    color: #000;
    text-align: center;
    text-transform: uppercase;
}

.overlay {
    background: rgba(0, 51, 102, 0.4);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.content {
    position: relative;
    z-index: 2;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero img {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.hero .arrow-down {
    position: absolute;
    bottom: 30px;
    font-size: 3rem;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero .arrow-down:hover {
    color: #ccc;
}

.description-section {
    padding: 50px 20px;
    background-color: #f4f4f4;
    color: #333;
}

.description-section h2 {
    font-family: 'Didot', serif;
    font-size: 2rem;
    margin-bottom: 20px;
}

.description-section p, .description-section ul {
    font-family: 'Neue Haas Grotesk', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
}

.description-section ul {
    padding-left: 20px;
}

.description-section ul li {
    margin-bottom: 10px;
}

/* Servizi */
.services-section {
    padding: 50px 20px;
    background-color: #f8f9fa;
}

.services-section h2 {
    font-family: 'Didot', serif;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #000;
}

.service-box {
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service-box i {
    color: #000000;
}

.service-box p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

/* Galleria a mosaico */
.gallery-section {
    padding: 50px 20px;
    background-color: #fff;
}

.gallery-section h2 {
    font-family: 'Didot', serif;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    gap: 10px;
}

.gallery-grid .grid-item {
    position: relative;
    overflow: hidden;
}

.gallery-grid .grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-grid .grid-item img:hover {
    transform: scale(1.1);
}

/* Elementi di dimensioni diverse */
.gallery-grid .grid-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-grid .grid-item:nth-child(3) {
    grid-column: span 1;
    grid-row: span 2;
}

.gallery-grid .grid-item:nth-child(6) {
    grid-column: span 2;
}

/* Footer */
.footer {
    background-color: #f8f9fa;
    color: #333;
}

.footer h5 {
    font-family: 'Didot', serif;
    font-size: 1.5rem;
    margin-bottom: 0;
}

.footer address {
    font-style: normal;
    line-height: 1.5;
    font-family: 'Neue Haas Grotesk', sans-serif;
    font-size: 0.9rem;
}

.footer a {
    color: #FEBC5A;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #FEBC5A;
}

.footer i {
    color: #333;
    transition: color 0.3s ease;
}

.footer i:hover {
    color: #FEBC5A;
}

.btn-dark {
    background-color: #000;
    color: #fff;
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-family: 'Didot', serif;
    font-size: 2rem;
    margin-bottom: 20px;
}

.btn-dark h2 {
    color: #fff;
}

.btn-dark:hover {
    background-color: #333;
    transform: scale(1.05);
}

.btn-dark:focus {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid .grid-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .gallery-grid .grid-item:nth-child(3) {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .gallery-grid .grid-item:nth-child(6) {
        grid-column: span 2;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .description-section h2 {
        font-size: 1.5rem;
    }
    
    .services-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid .grid-item:nth-child(1),
    .gallery-grid .grid-item:nth-child(3),
    .gallery-grid .grid-item:nth-child(6) {
        grid-column: span 1;
    }
}
