/* General Styling */
body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(to bottom, #003a70, #fcb100);
    background-attachment: fixed;
    margin: 0;
    padding: 20px;
    text-align: center;
    overflow-x: hidden;
    color: #ffffff;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    margin-top: 0;
}

/* Header Section */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.9);
    color: #003a70;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.back-to-home {
    display: inline-block;
    padding: 10px 25px;
    background-color: #fcb100;
    color: #003a70;
    text-decoration: none;
    font-size: 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
    border: 2px solid transparent;
}

.back-to-home:hover {
    background-color: #003a70;
    color: #fcb100;
    border-color: #fcb100;
}

/* Typography */
h1 {
    color: #fcb100;
    font-size: 2.8rem;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

h2 {
    color: #fcb100;
    font-size: 2rem;
    margin-bottom: 20px;
}

p {
    font-size: 1.1rem;
    color: #f8f8f8;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 20px;
}

/* Gallery Section - Perfect Borders Solution */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 280px;
    overflow: hidden;
    background: #003a70;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 3px solid #fcb100;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    pointer-events: none;
    z-index: 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(252, 177, 0, 0.4);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Cookie Banner */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 58, 112, 0.95);
    color: white;
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-accept, .cookie-reject {
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-accept {
    background-color: #fcb100;
    color: #003a70;
    border: 2px solid #fcb100;
}

.cookie-reject {
    background-color: transparent;
    color: #fcb100;
    border: 2px solid #fcb100;
}

.cookie-accept:hover {
    background-color: #003a70;
    color: #fcb100;
}

.cookie-reject:hover {
    background-color: rgba(252, 177, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    .gallery-item {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .logo {
        margin: 0;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .gallery-container {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-accept, .cookie-reject {
        width: 100%;
    }
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}