/* ===================================
   Modern PRoW Website - Clean Design
   =================================== */

/* CSS Variables for easy customization */
:root {
    --primary-color: #5fb976;
    --primary-dark: #4a9760;
    --secondary-color: #8B4513;
    --accent-color: #A52A2A;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 16px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

a:hover {
    color: var(--primary-dark);
}

/* Navigation */
.nav {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-color);
}

.nav-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    background: var(--primary-color);
    color: white;
}

.nav-search {
    display: flex;
    gap: 0.5rem;
}

.nav-search input {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    outline: none;
    transition: var(--transition);
}

.nav-search input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(95, 185, 118, 0.1);
}

.nav-search button {
    padding: 0.5rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.nav-search button:hover {
    background: var(--primary-dark);
}

/* Hero Section */
.hero {
    position: relative;
    background: url('../images/gnosall.png');
    background-size: 85%;
    background-position: center 35%;
    background-repeat: no-repeat;
    color: #333;
    padding: 6rem 2rem;
    text-align: center;
    overflow: hidden;
}

/* Blurred background layer */
.hero::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: url('../images/gnosall.png');
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    transform: translateX(15%);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.hero-logo {
    display: none;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    flex: 1;
    width: 100%;
    box-sizing: border-box;
}

.content-section {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.section-title {
    color: var(--accent-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
}

/* Drop Cap */
.drop-cap::first-letter {
    font-size: 4rem;
    font-weight: bold;
    line-height: 1;
    float: left;
    margin: 0.1em 0.15em 0 0;
    color: var(--primary-color);
}

/* Navigation Menu Boxes (Homepage) */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.menu-item {
    background: var(--bg-light);
    padding: 1.5rem;
    text-align: center;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    font-weight: 500;
    color: var(--text-dark);
}

.menu-item:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: white;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

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

/* Maps Grid */
.maps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.map-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.map-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.map-card-content {
    padding: 1.5rem;
}

.map-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.map-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Contact Section */
.contact-box {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    margin: 2rem 0;
}

.contact-box a {
    color: var(--primary-color);
    font-weight: 500;
    word-break: break-all;
}

.contact-box a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--primary-color);
    color: white;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-back {
    margin-top: 2rem;
}

/* Footer */
.footer {
    background: #666;
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    display: block;
    padding: 0.25rem 0;
}

.footer-section a:hover {
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section img {
    width: 25px;
    height: 25px;
    vertical-align: middle;
    margin-right: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: white;
    margin: 0 0.5rem;
}

/* GDPR Popup */
.gdpr-popup {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-hover);
    max-width: 400px;
    z-index: 9999;
    display: none;
}

.gdpr-popup.show {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.gdpr-popup h3 {
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.gdpr-popup p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.gdpr-popup button {
    padding: 0.5rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.gdpr-popup button:hover {
    background: var(--primary-dark);
}

/* Skip to Content Link (Accessibility) */
.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    left: 50%;
    transform: translateX(-50%);
    top: 1rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

/* Responsive Design */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .hero {
        padding: 4rem 1rem;
        background-size: 90%;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-logo {
        width: 150px;
        height: 150px;
    }
    
    .container {
        padding: 1.5rem 1rem;
        width: 100%;
    }
    
    .content-section {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
        border-radius: 8px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .maps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.15rem; }
    
    p, li, a {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

@media (max-width: 480px) {
    .nav-search {
        width: 100%;
    }
    
    .nav-search input {
        flex: 1;
    }
    
    .hero {
        padding: 4rem 1rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    .nav, .footer, .btn, .gdpr-popup {
        display: none;
    }
    
    .container {
        max-width: 100%;
    }
    
    body {
        background: white;
    }
}

