/* CSS Variables */
:root {
    --primary-color: #9b69ff;
    --primary-dark: #7c45e8;
    --primary-light: #b89eff;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --text-color: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --background-color: #ffffff;
    --background-light: #f8f9fa;
    --background-gray: #f4f4f4;
    --border-color: #e0e0e0;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-heavy: 0 8px 30px rgba(0,0,0,0.2);
    --border-radius: 8px;
    --border-radius-large: 12px;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 16px;
    --font-size-small: 14px;
    --font-size-large: 18px;
    --line-height: 1.6;
    --container-max-width: 1200px;
    --transition: all 0.3s ease;
}

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

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: var(--line-height);
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

h1 {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

h2 {
    font-size: 2rem;
    color: var(--secondary-color);
}

h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

h4 {
    font-size: 1.25rem;
    color: var(--secondary-color);
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

ul, ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1.4;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--background-gray);
    color: var(--text-color);
    text-decoration: none;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}

.btn-white {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
}

.btn-white:hover {
    background-color: var(--background-light);
    color: var(--primary-dark);
    text-decoration: none;
}

.btn-large {
    padding: 16px 32px;
    font-size: var(--font-size-large);
}

.btn-full {
    width: 100%;
    display: block;
}

/* Header */
.header {
    background-color: white;
    box-shadow: var(--shadow-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 40px;
    width: auto;
}

.brand-name {
   display: none;
}

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

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    text-decoration: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-gray {
    background-color: var(--background-gray);
}

.section-purple {
    background-color: var(--primary-color);
    color: white;
}

.section-purple h2,
.section-purple h3,
.section-purple p {
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-icon {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Banner */
.banner {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.banner h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.banner p {
    font-size: var(--font-size-large);
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.page-header-content h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header-content p {
    color: white;
}

.page-icon {
    height: 80px;
    width: auto;
    margin-bottom: 1rem;
}

/* Grids */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
}

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

.places-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.place-card {
    background: white;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

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

.place-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.place-content {
    padding: 1.5rem;
}

.place-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.rating {
    color: #ffc107;
}

.rating-text {
    font-weight: 600;
    color: var(--primary-color);
}

/* Stats */
.stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: var(--font-size-small);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-light);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-base);
    font-weight: 500;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

/* Newsletter */
.newsletter-form {
    max-width: 600px;
    margin: 2rem auto 0;
}

.form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-row input {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: var(--border-radius);
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: var(--font-size-base);
}

.form-row input::placeholder {
    color: rgba(255,255,255,0.7);
}

.form-row input:focus {
    outline: none;
    border-color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.2);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 3rem 0 1rem;
}

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

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

.footer-section p,
.footer-section li {
    color: rgba(255,255,255,0.8);
}

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

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

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover,
.footer-section a.active {
    color: var(--primary-light);
    text-decoration: none;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
}

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

.social-links img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

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

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    margin: 0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--secondary-color);
    color: white;
    padding: 1rem 0;
    z-index: 1001;
    transform: translateY(100%);
    transition: var(--transition);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

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

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-buttons .btn {
    padding: 8px 16px;
    font-size: var(--font-size-small);
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cookie-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius-large);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-option {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.cookie-option label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    margin-top: 0.2rem;
}

.cookie-option span {
    font-size: var(--font-size-small);
    color: var(--text-light);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    white-space: nowrap;
}

.timeline-content {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    width: calc(50% - 2rem);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
}

/* Historical Periods */
.periods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.period-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

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

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

/* Figures Grid */
.figures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.figure-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
}

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

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

.figure-years {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1rem;
}

/* Places Ranking */
.places-ranking {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.place-ranking-item {
    display: grid;
    grid-template-columns: auto 300px 1fr;
    gap: 2rem;
    background: white;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    padding: 2rem;
    align-items: start;
    transition: var(--transition);
}

.place-ranking-item:hover {
    box-shadow: var(--shadow-medium);
}

.place-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    min-width: 60px;
}

.place-image-container {
    width: 100%;
    height: 200px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.place-image-container .place-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.place-ranking-item:hover .place-image {
    transform: scale(1.05);
}

.place-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.place-header h2 {
    margin: 0;
}

.place-rating {
    text-align: right;
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.rating-score {
    font-weight: 600;
    color: var(--primary-color);
    font-size: var(--font-size-large);
}

.rating-count {
    color: var(--text-muted);
    font-size: var(--font-size-small);
    display: block;
}

.place-highlights {
    margin: 1.5rem 0;
}

.place-highlights h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.place-highlights ul {
    margin-left: 1rem;
}

.place-info {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.place-info span {
    font-size: var(--font-size-small);
    color: var(--text-light);
}

/* Tips and Guides */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.tip-card.important {
    border-left-color: var(--accent-color);
}

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

.tip-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.guides-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.guide-section {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
}

.guide-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.weather-seasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.season {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.season h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.budget-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.budget-level {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-top: 4px solid var(--primary-color);
}

.budget-level h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.etiquette-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.etiquette-category {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.etiquette-category h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.practical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.practical-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
}

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

/* Phrases */
.phrases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.phrase-category {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
}

.phrase-category h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.phrase-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.phrase-item {
    padding: 1rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--primary-color);
}

.phrase-item .polish {
    font-weight: 600;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.25rem;
}

.phrase-item .pronunciation {
    font-style: italic;
    color: var(--text-muted);
    font-size: var(--font-size-small);
    display: block;
    margin-bottom: 0.25rem;
}

.phrase-item .english {
    color: var(--text-light);
    font-size: var(--font-size-small);
}

/* Legal Pages */
.legal-page {
    padding: 2rem 0 4rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
}

.legal-content h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.last-updated {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-section {
    margin-bottom: 2rem;
}

.legal-section h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-section h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.legal-section h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.legal-section ol {
    counter-reset: item;
    margin-left: 0;
}

.legal-section ol > li {
    display: block;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}

.legal-section ol > li::before {
    content: counter(item) ".";
    counter-increment: item;
    font-weight: 600;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: var(--font-size-small);
}

.cookies-table th,
.cookies-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.cookies-table th {
    background-color: var(--background-light);
    font-weight: 600;
    color: var(--secondary-color);
}

.cookies-table tr:nth-child(even) {
    background-color: var(--background-light);
}

/* Thanks Page */
.thanks-page {
    padding: 4rem 0;
    text-align: center;
}

.thanks-content {
    max-width: 800px;
    margin: 0 auto;
}

.thanks-icon {
    margin-bottom: 2rem;
}

.thanks-content h1 {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.thanks-message {
    font-size: var(--font-size-large);
    color: var(--text-light);
    margin-bottom: 3rem;
}

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

.thanks-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    text-align: left;
}

.thanks-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.thanks-actions {
    margin-bottom: 4rem;
}

.thanks-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.thanks-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.thanks-links a:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}

.social-proof {
    background: var(--background-light);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-large);
    margin-bottom: 3rem;
}

.social-proof h2 {
    margin-bottom: 2rem;
}

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

.testimonial-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: left;
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 1rem;
}

.testimonial-author {
    color: var(--text-muted);
    font-style: italic;
    margin-top: 1rem;
    display: block;
}

.newsletter-section {
    background: var(--primary-color);
    color: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius-large);
}

.newsletter-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter-section p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

/* CTA Section */
.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    font-size: var(--font-size-large);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 0;
        padding: 2rem 0;
        transition: var(--transition);
        box-shadow: var(--shadow-medium);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
        width: 100%;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    .banner h1 {
        font-size: 2rem;
    }
    
    .banner p {
        font-size: var(--font-size-base);
    }
    
    .section {
        padding: 60px 0;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-row input {
        min-width: 100%;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 50px;
    }
    
    .timeline-date {
        left: 20px;
        transform: translateX(-50%);
    }
    
    .timeline-content {
        width: 100%;
        margin: 0;
    }
    
    .place-ranking-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .place-number {
        font-size: 2rem;
    }
    
    .place-image-container {
        height: 250px;
    }
    
    .place-header {
        justify-content: center;
        text-align: center;
    }
    
    .place-rating {
        text-align: center;
    }
    
    .place-info {
        justify-content: center;
        text-align: center;
    }
    
    .thanks-content h1 {
        font-size: 2rem;
    }
    
    .thanks-links {
        flex-direction: column;
        align-items: center;
    }
    
    .phrases-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-content {
        padding: 2rem 1rem;
    }
    
    .cookies-table {
        font-size: 12px;
    }
    
    .cookies-table th,
    .cookies-table td {
        padding: 0.5rem 0.25rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: var(--font-size-base);
    }
    
    .banner h1 {
        font-size: 1.75rem;
    }
    
    .advantages-grid,
    .places-grid,
    .periods-grid,
    .figures-grid,
    .tips-grid,
    .practical-grid {
        grid-template-columns: 1fr;
    }
    
    .weather-seasons,
    .budget-categories,
    .etiquette-tips {
        grid-template-columns: 1fr;
    }
    
    .stats {
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .thanks-details,
    .testimonials {
        grid-template-columns: 1fr;
    }
    .cookies-table {
        display: none;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .btn,
    .social-links {
        display: none !important;
    }
    
    main {
        margin-top: 0;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .banner {
        background: none !important;
        color: var(--text-color) !important;
        min-height: auto;
    }
    
    .banner h1,
    .banner p {
        color: var(--text-color) !important;
    }
    
    .section-purple {
        background: none !important;
        color: var(--text-color) !important;
    }
    
    .section-purple h2,
    .section-purple h3,
    .section-purple p {
        color: var(--text-color) !important;
    }
    
    a {
        color: var(--text-color) !important;
        text-decoration: underline !important;
    }
    
    .place-card,
    .advantage-item,
    .tip-card,
    .figure-card,
    .period-card,
    .practical-card,
    .phrase-category,
    .guide-section,
    .faq-item,
    .contact-form,
    .thanks-item,
    .testimonial-item {
        box-shadow: none !important;
        border: 1px solid var(--border-color);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for better accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow-light: 0 2px 10px rgba(0,0,0,0.3);
        --shadow-medium: 0 4px 20px rgba(0,0,0,0.4);
        --shadow-heavy: 0 8px 30px rgba(0,0,0,0.5);
        --border-color: #000000;
    }
    
    .place-card,
    .advantage-item,
    .tip-card,
    .figure-card,
    .period-card,
    .practical-card,
    .phrase-category,
    .guide-section,
    .faq-item,
    .contact-form,
    .thanks-item,
    .testimonial-item {
        border: 2px solid var(--border-color);
    }
}
