/* Modern Blue & Peach Design - Responsive */
:root {
    --primary-blue: #1E88E5;
    --dark-blue: #1565C0;
    --light-blue: #64B5F6;
    --peach: #FFB74D;
    --light-peach: #FFE0B2;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --dark-gray: #424242;
    --text-dark: #212121;
    --shadow: rgba(30, 136, 229, 0.2);
}

* {
    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: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    font-size: 16px;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 4px 6px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--white);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.language-switcher a {
    color: var(--white);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
}

.language-switcher a:hover,
.language-switcher a.active {
    background: var(--peach);
    color: var(--white);
    border-color: var(--peach);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Navigation */
nav {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-menu {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
}

.nav-menu a:hover {
    background: var(--peach);
    color: var(--white);
    border-color: var(--peach);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-menu a.active {
    background: var(--peach);
    color: var(--white);
    border-color: var(--peach);
    font-weight: 600;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    padding: 60px 20px;
    border-radius: 20px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* Content Sections */
.content-section {
    background: var(--white);
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 5px solid var(--primary-blue);
}

.content-section h2 {
    color: var(--dark-blue);
    font-size: 2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--peach);
}

.content-section h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-section p {
    margin-bottom: 15px;
    text-align: justify;
}

.content-section ul,
.content-section ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.content-section li {
    margin-bottom: 10px;
}

/* Images */
.content-section img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: block;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

table th {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--light-gray);
}

table tr:nth-child(even) {
    background: var(--light-gray);
}

table tr:hover {
    background: var(--light-peach);
    transition: background 0.3s ease;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, var(--light-peach) 0%, var(--white) 100%);
    padding: 40px;
    border-radius: 15px;
    margin-top: 40px;
}

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    border-left: 4px solid var(--primary-blue);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark-blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--light-peach);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-answer.active {
    max-height: 500px;
    padding: 20px;
    background: var(--light-gray);
}

/* Internal Links */
.internal-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid var(--peach);
    transition: all 0.3s ease;
}

.internal-link:hover {
    color: var(--dark-blue);
    border-bottom-color: var(--primary-blue);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 50%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 60px 20px 30px;
    margin-top: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--peach) 0%, var(--light-peach) 50%, var(--peach) 100%);
    box-shadow: 0 2px 10px rgba(255, 183, 77, 0.5);
}

footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-container p {
    margin: 15px 0;
    font-size: 1rem;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.footer-container p:first-child {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--light-peach);
    letter-spacing: 0.5px;
}

.footer-container a {
    color: var(--light-peach);
    text-decoration: none;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-container a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 8px;
    right: 8px;
    height: 2px;
    background: var(--peach);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.footer-container a:hover {
    color: var(--white);
    background: rgba(255, 183, 77, 0.2);
    transform: translateY(-2px);
}

.footer-container a:hover::after {
    transform: scaleX(1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .content-section {
        padding: 20px;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .content-section h3 {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    table th,
    table td {
        padding: 8px;
    }
    
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    footer {
        padding: 40px 20px 20px;
    }
    
    .footer-container p {
        font-size: 0.95rem;
    }
    
    .footer-container p:first-child {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .content-section {
        padding: 15px;
    }
    
    table {
        display: block;
        overflow-x: auto;
    }
    
    footer {
        padding: 30px 15px 15px;
    }
    
    .footer-container p {
        font-size: 0.9rem;
        margin: 10px 0;
    }
    
    .footer-container p:first-child {
        font-size: 0.95rem;
    }
}

/* Hero Section for Index Page */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    padding: 60px 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
}

.hero-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    color: var(--white);
    border: none;
    padding: 0;
}

.hero-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Guide Cards */
.guide-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.guide-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-blue);
    display: flex;
    flex-direction: column;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow);
}

.guide-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--dark-blue);
    font-size: 1.5rem;
}

.guide-card h3 a {
    color: var(--dark-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.guide-card h3 a:hover {
    color: var(--primary-blue);
}

.guide-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin: 15px 0;
}

.guide-card p {
    flex-grow: 1;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.read-more {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
    text-align: center;
}

.read-more:hover {
    background: linear-gradient(135deg, var(--peach) 0%, #FF9800 100%);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(255, 183, 77, 0.4);
}

/* Header adjustments for index page */
header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0;
    margin: 0;
}

header nav ul li a {
    color: var(--white);
    text-decoration: none;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

header nav ul li a:hover {
    background: var(--peach);
    transform: translateY(-2px);
}

/* Responsive adjustments for index page */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 20px;
    }
    
    .hero-section h2 {
        font-size: 1.8rem;
    }
    
    .guide-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .guide-card {
        padding: 20px;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    header nav ul {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-section h2 {
        font-size: 1.5rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .guide-card h3 {
        font-size: 1.2rem;
    }
}

/* Print Styles */
@media print {
    header,
    nav,
    footer,
    .language-switcher {
        display: none;
    }
    
    .content-section {
        box-shadow: none;
        page-break-inside: avoid;
    }
}

