/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --border-color: #ddd;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #edf1f5;
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border: 2px solid #edf1f5;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #1f2d3a;
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #edf1f5;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Header Styles
   ============================================ */

.site-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-top {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 0;
    font-size: 14px;
}

.header-contact {
    display: flex;
    gap: 30px;
    justify-content: flex-end;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
}

.contact-item:hover {
    text-decoration: underline;
}

.header-main {
    padding: 30px 0;
    border-bottom: 3px solid var(--secondary-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.logo h1 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.logo h1 a:hover {
    color: var(--secondary-color);
}

.logo .tagline {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* ============================================
   Navigation
   ============================================ */

.main-nav {
    flex: 1;
    margin-left: 50px;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-list a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
}

.nav-list a:hover {
    background-color: var(--light-bg);
    color: var(--secondary-color);
}

.nav-list a.active {
    color: var(--secondary-color);
    font-weight: 700;
}

.nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* ============================================
   Main Content
   ============================================ */

.main-content {
    min-height: calc(100vh - 200px);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
                url('/images/Backuground.jpg') center center / cover no-repeat;
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 60px;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    opacity: 0.9;
}

/* ============================================
   Content Sections
   ============================================ */

.section {
    margin-bottom: 60px;
}

.section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #555;
}

.error-page {
    max-width: 700px;
    margin: 80px auto;
    text-align: center;
}

.error-page .error-code {
    margin-bottom: 0;
    color: var(--secondary-color);
    font-size: clamp(72px, 15vw, 140px);
    font-weight: 700;
    line-height: 1;
}

.error-page h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.error-page .btn {
    margin-top: 15px;
}

/* ============================================
   Gallery
   ============================================ */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    background-color: #fff;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 12px;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    display: block;
}

/* ============================================
   Forms
   ============================================ */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
}

.btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-primary {
    background-color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: #2980b9;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 8px;
    opacity: 0.9;
}

.footer-section address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-section a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    opacity: 0.8;
}

.footer-legal-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 8px;
}

.footer-legal-links a {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer-legal-links a:hover {
    text-decoration: underline;
}

/* ============================================
   Contact Info Box
   ============================================ */

.contact-info {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    margin-bottom: 40px;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 10px;
}

.form-privacy-note {
    margin-top: 15px;
    color: #666;
    font-size: 12px;
    line-height: 1.5;
}

.form-privacy-note a {
    color: var(--secondary-color);
}

.contact-form {
    position: relative;
    padding: 30px;
    background-color: var(--light-bg);
    border-radius: 8px;
}

.contact-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-notice {
    margin-bottom: 25px;
    padding: 15px 18px;
    border: 1px solid transparent;
    border-radius: 6px;
}

.form-notice p {
    margin-bottom: 8px;
    font-weight: 600;
}

.form-notice ul {
    margin-left: 20px;
}

.form-notice-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.form-notice-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* ============================================
   Legal Pages
   ============================================ */

.legal-page {
    max-width: 800px;
    margin: 60px auto;
}

.legal-section {
    margin-bottom: 45px;
}

.legal-section address {
    color: #555;
    font-style: normal;
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-section a {
    color: var(--secondary-color);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .main-nav {
        margin-left: 0;
        width: 100%;
    }

    .nav-list {
        flex-direction: column;
        gap: 10px;
    }

    .logo h1 {
        font-size: 24px;
    }

    .header-contact {
        flex-direction: column;
        gap: 10px;
        justify-content: center;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .section h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 0;
    }

    .logo h1 {
        font-size: 20px;
    }

    .logo .tagline {
        font-size: 12px;
    }

    .hero {
        padding: 50px 0;
    }

    .hero h2 {
        font-size: 24px;
    }

    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .section h2 {
        font-size: 20px;
    }
}
