/* Footer Styles */

/* Copyright Footer - Main Footer */
.footer-copyright {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.9);
    padding: 1.5rem 0;
    margin-top: auto; /* Push to bottom in flexbox layout */
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-copyright .copyright-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright .copyright-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.footer-copyright .copyright-content p strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.footer-copyright .copyright-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-copyright .copyright-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-copyright .copyright-links a:hover {
    color: var(--secondary-color);
}

.footer-copyright .copyright-links span {
    color: rgba(255, 255, 255, 0.4);
}

/* Prefooter Section */
.prefooter-section {
    background: var(--primary-dark);
    color: #ffffff;
    padding: 4rem 0;
    margin-top: 4rem;
}

.prefooter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.prefooter-column h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.prefooter-column p {
    color: #d1d5db;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #d1d5db;
}

.footer-contact li svg {
    flex-shrink: 0;
    color: var(--secondary-color);
}

.footer-contact li span {
    color: #d1d5db;
}

/* Copyright Footer */
.copyright-footer {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.9);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.copyright-content p strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.copyright-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.copyright-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.copyright-links a:hover {
    color: var(--secondary-color);
}

.copyright-links span {
    color: rgba(255, 255, 255, 0.4);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .prefooter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .prefooter-section {
        padding: 3rem 0;
    }
    
    .prefooter-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .copyright-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Destinations Masonry Grid */
.destinations-masonry {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.destinations-masonry--single {
    grid-template-columns: 1fr;
    justify-items: center;
}

.destinations-masonry--single .destination-big {
    max-width: 800px;
    width: 100%;
    grid-row: span 1;
}

.destination-big {
    grid-row: span 2;
}

.destinations-small {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.destination-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.destination-card {
    position: relative;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.destination-card.big-card {
    min-height: 600px;
}

.destinations-masonry--single .destination-card.big-card {
    width: 100%;
    aspect-ratio: 1;
    min-height: 0;
}

.destination-card.small-card {
    min-height: 290px;
}

.destination-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.destination-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.8) 100%);
    transition: background 0.3s ease;
}

.destination-card:hover .destination-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.9) 100%);
}

.destination-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 2;
}

.destination-card.small-card .destination-content {
    padding: 1.5rem;
}

.destination-name {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.destination-card.small-card .destination-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.destination-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.destination-card.small-card .destination-description {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.destination-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.destination-card:hover .destination-link {
    transform: translateX(5px);
}

/* Responsive Destinations Masonry */
@media (max-width: 768px) {
    .destinations-masonry {
        grid-template-columns: 1fr;
    }
    
    .destination-big {
        grid-row: span 1;
    }
    
    .destination-card.big-card {
        min-height: 400px;
    }
    
    .destination-card.small-card {
        min-height: 300px;
    }
}
