
/* Fix per l'allineamento del footer */
.main-footer .upper-section .row {
    display: flex;
    align-items: center;
    justify-content: center; /* Centra tutto il contenuto */
    flex-wrap: wrap;
    text-align: center;
}

.main-footer .footer-col {
    position: relative;
    text-align: center;
    flex: 1; /* Distribuisce equamente lo spazio */
}

.main-footer .info-col {
    order: 2; /* Mette il contenuto info al centro */
    flex: 0 0 auto; /* Non si espande, mantiene la sua dimensione naturale */
    max-width: 460px;
    margin: 0 auto;
}

.main-footer .footer-image-col {
    order: 1; /* Prima immagine a sinistra */
}

.main-footer .footer-image-col.last {
    order: 3; /* Seconda immagine a destra */
}

/* Assicura che le immagini siano centrate */
.main-footer .footer-image-col .footer-image {
    margin: 0 auto;
    display: block;
}

/* Responsive fix */
@media (max-width: 1024px) {
    .main-footer .upper-section .row {
        flex-direction: column;
        text-align: center;
    }
    
    .main-footer .footer-image-col,
    .main-footer .info-col {
        order: unset;
        margin-bottom: 30px;
        width: 100%;
    }
    
    .main-footer .info-col {
        margin-bottom: 30px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



:root {
    --primary-gold: #d4af37;
    --rich-gold: #b8941f;
    --dark-bg: #1a1a1a;
    --card-bg: rgba(42, 42, 42, 0.95);
    --accent-light: rgba(212, 175, 55, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --border-subtle: rgba(212, 175, 55, 0.2);
}

body {
    font-family: 'Urbanist', 'Arial', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2520 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), 
                url('../images/p3.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Fix per il parallax - aggiungi overlay graduale */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(transparent, var(--dark-bg));
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: 'Playfair Display', serif; /* Cambia questo per testare le altre opzioni */
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 600;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary-gold), #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: var(--text-secondary);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-gold);
    animation: bounce 2s infinite;
}

/* Main Container */
.rooms-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 20px;
    position: relative;
    z-index: 10;
}

.section-intro {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-gold), #ffd700);
    margin: 20px auto;
}

.section-description {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Room Grid */
.rooms-grid {
    display: grid;
    gap: 60px;
}

/* Individual Room Card */
.room-card {
    background: var(--card-bg);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    border: 1px solid var(--border-subtle);
    position: relative;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
    border-color: var(--primary-gold);
}

.room-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent-light), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.room-card:hover::before {
    opacity: 1;
}

/* Room Layout Alternating */
.room-card:nth-child(even) .room-content {
    flex-direction: row-reverse;
}

.room-content {
    display: flex;
    min-height: 500px;
    position: relative;
    z-index: 2;
}

.room-visual {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.room-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.room-card:hover .room-hero-image {
    transform: scale(1.1);
}

.room-gallery-preview {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    z-index: 3;
}

.preview-thumb {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--primary-gold);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.preview-thumb:hover {
    transform: scale(1.1);
    opacity: 1;
}

.preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.room-header {
    margin-bottom: 30px;
}

.room-name {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.room-tagline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 20px;
}

.room-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Room Features */
.room-features {
    margin: 30px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 25px;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: translateX(8px);
}

.feature-icon {
    color: var(--primary-gold);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.feature-text {
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* Room Footer */
.room-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-subtle);
}

.room-price {
    text-align: right;
}

.price-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: block;
}

.price-amount {
    font-size: 2.2rem;
    color: var(--primary-gold);
    font-weight: 700;
    line-height: 1;
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.book-btn {
    background: linear-gradient(45deg, var(--primary-gold), #ffd700);
    color: #000;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.book-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    background: linear-gradient(45deg, #ffd700, var(--primary-gold));
}

/* Premium Badge */
.premium-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, var(--rich-gold), var(--primary-gold));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 4;
    animation: pulse 2s infinite;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, rgb(0 0 0 / 10%), rgb(251 192 1 / 5%));
    border-radius: 30px;
    margin-top: 60px;
    border: 1px solid var(--border-subtle);
}

.cta-title {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    background: linear-gradient(45deg, var(--primary-gold), #ffd700);
    color: #000;
    padding: 20px 40px;
    border: none;
    border-radius: 30px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
}

/* Main Footer */
.main-footer {
    position: relative;
            background-color: #060606;
    z-index: 1;
}

.main-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgb(43 43 41) 10%, #000000 100%);
    z-index: -1;
}

.main-footer .upper-section {
    position: relative;
    text-align: center;
}

.main-footer .upper-section .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.main-footer .footer-col {
    position: relative;
    text-align: center;
}

.main-footer .footer-image-col {
    position: relative;
}

.main-footer .footer-image-col .footer-image {
    position: relative;
    display: inline-block;
    border-radius: 200px;
    overflow: hidden;
}

.main-footer .footer-image-col .footer-image img {
    display: block;
    border-radius: 200px;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
}

.main-footer .footer-image-col .footer-image::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid var(--primary-gold);
    border-radius: calc(200px - 20px);
    pointer-events: none;
    z-index: 2;
    box-sizing: border-box;
}

.main-footer .footer-image-col.last {
    order: 12;
}

.main-footer .info-col {
    position: relative;
    color: var(--text-primary);
    order: 4;
}

.main-footer .footer-image-col .inner {
    position: relative;
    text-align: center;
    padding-top: 150px;
    padding-bottom: 150px;
    min-height: 100%;
}

.main-footer .info-col .inner {
    position: relative;
    max-width: 1440px;
    padding-left: 30px;
    padding-right: 30px;
    margin: 0 auto;
}

.main-footer .info-col .content {
    position: relative;
    max-width: 460px;
    margin: 0 auto;
}

.main-footer .info-col .logo {
    position: relative;
    margin-bottom: 40px;
}

.main-footer .info-col .info h6 {
    gap: 8px;
    display: inline-flex;
    align-items: center;
    position: relative;
    color: var(--primary-gold);
    text-transform: uppercase;
    padding-bottom: 15px;
}

.main-footer .info-col .info h6::before,
.main-footer .info-col .info h6::after {
    content: "";
    width: 12px;
    height: 12px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23d4af37"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
}

.main-footer .info-col .info li {
    position: relative;
    line-height: 1.5em;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.main-footer .info-col .info li:last-child {
    margin-bottom: 0;
}

.main-footer .info-col .info li a {
    color: var(--text-primary);
}

.main-footer .info-col .info li a:hover {
    color: var(--primary-gold);
}

.main-footer .info-col .separator {
    position: relative;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.main-footer .info-col .separator span {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 1px;
    height: 14px;
    width: 14px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23d4af37"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>') no-repeat;
}

.main-footer .info-col .separator span:before {
    content: '';
    position: absolute;
    left: auto;
    right: auto;
    top: -25px;
    width: 1px;
    height: 18px;
    background-color: var(--primary-gold);
}

.main-footer .info-col .separator span:after {
    content: '';
    position: absolute;
    left: auto;
    right: auto;
    bottom: -25px;
    width: 1px;
    height: 18px;
    background-color: var(--primary-gold);
}

.main-footer .footer-bottom {
    position: relative;
    text-align: center;
}

/* footer last */
footer .bottom_footer {
    position: relative;
}

footer .bottom_footer .auto-container {
    border-top: solid 1px rgba(212, 175, 55, 0.2);
    padding: 30px 0;
}

footer .bottom_footer p {
    padding-top: 5px;
    margin-bottom: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: normal;
}

footer .bottom_footer .developer_text {
    text-align: right;
}

footer .bottom_footer .developer_text a {
    text-decoration: underline;
}

footer .bottom_footer .developer_text a:hover {
    color: var(--text-primary);
}

/* footer social media icon */
footer .bottom_footer .social_media {
    justify-content: center;
}

footer .bottom_footer .social_media {
    display: flex;
    justify-content: center;
}

/* footer link list */
footer .bottom_footer .social_media li a {
    display: block;
    width: 37px;
    height: 37px;
    text-align: center;
    line-height: 34px;
    font-size: 15px;
    color: var(--text-primary);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50px;
    margin-right: 10px;
    transition: .4s all;
}

footer .bottom_footer .social_media li a:hover {
    background-color: var(--primary-gold);
    color: #000;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .main-footer .upper-section .row {
        flex-direction: column;
        text-align: center;
    }
    
    .main-footer .footer-image-col {
        order: unset;
        margin-bottom: 30px;
    }
    
    .main-footer .info-col {
        order: unset;
    }
}

@media (max-width: 768px) {
    .main-footer .footer-image-col .inner {
        padding: 50px 0;
    }
    
    .main-footer .footer-image-col .footer-image img {
        height: 250px;
    }
    
    .main-footer .info-col .inner {
        padding: 0 20px;
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .room-content {
        flex-direction: column !important;
    }
    
    .room-visual {
        height: 400px;
    }
    
    .room-info {
        padding: 30px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .room-footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .rooms-container {
        padding: 40px 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .room-name {
        font-size: 2rem;
    }
    
    .room-info {
        padding: 25px 20px;
    }
    
    .room-gallery-preview {
        display: none;
    }
    
    .cta-section {
        padding: 60px 20px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .room-card {
        border-radius: 20px;
    }
    
    .feature-item {
        padding: 10px 12px;
    }
    
    .price-amount {
        font-size: 1.8rem;
    }
}

/* Scroll reveal animation */
.room-card {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.room-card:nth-child(1) { animation-delay: 0.1s; }
.room-card:nth-child(2) { animation-delay: 0.2s; }
.room-card:nth-child(3) { animation-delay: 0.3s; }

/* Background particles effect */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-gold);
    border-radius: 50%;
    animation: float 8s linear infinite;
    opacity: 0.3;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}