:root {
    --primary: #2d5a27;
    --secondary: #f4f1ea;
    --accent: #d4a373;
    --background-main: #ffffff;
    --background-alt: #f9f8f3;
    --text-main: #1a1a1a;
    --text-muted: #4b5563;
    --text-on-accent: #ffffff;
    --font-headers: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --radius-standard: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--background-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headers);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1.25rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover,
a:focus {
    text-decoration: none;
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-standard);
}

button,
.btn {
    cursor: pointer;
    border-radius: var(--radius-standard);
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease;
    font-family: var(--font-body);
    font-weight: 600;
}

button:active,
.btn:active {
    transform: scale(0.98);
}

ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

input,
textarea,
select {
    border-radius: var(--radius-standard);
    font-family: var(--font-body);
}

@media (max-width: 767.98px) {
    h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    h3 {
        font-size: clamp(1.3rem, 5vw, 1.75rem);
    }

    body {
        font-size: 15px;
    }

    .long-text-break {
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-all;
    }
}

@media (min-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.75rem;
    }

    h3 {
        font-size: 2rem;
    }
}

/* ===== header ===== */
.site-name {
    font-size: 0.7rem;
    hyphens: auto;
    line-height: 1.2;
}

@media (min-width: 1024px) {
    .site-name {
        font-size: 1.1rem;
    }
}

.js-nav-link:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.js-mobile-overlay {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ===== hero_section ===== */
#hero {
    position: relative;
    color: var(--text-on-accent);
    hyphens: auto;
}

.hero-title {
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff !important;
}

.hero-tag {
    background-color: var(--primary);
    color: var(--text-on-accent);
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-tag:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

.hero-cta {
    background-color: var(--accent);
    color: var(--text-on-accent) !important;
    border: none;
    border-radius: 4px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-cta:hover {
    background-color: var(--primary);
    transform: scale(1.05);
}

.z-index-1 {
    z-index: 1;
}

@media (max-width: 767.98px) {
    #hero {
        min-height: auto !important;
        height: auto !important;
        padding-top: 0 !important;
        padding-bottom: 24px !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    #main-header nav {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }

    #main-header .row.align-items-center {
        margin-top: 0;
        margin-bottom: 0;
    }

    #main-header .row.align-items-center > div {
        min-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }

    #main-header .header-logo,
    #main-header .site-name {
        display: block;
    }

    #main-header .header-logo {
        width: auto !important;
        height: 40px !important;
        max-width: none !important;
    }

    #main-header .site-name {
        line-height: 1;
    }

    .hero-title {
        font-size: 1.125rem !important;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero-tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.75rem;
    }

    .hero-cta {
        font-size: 0.875rem;
        padding: 0.75rem 1.5rem;
    }
}

/* ===== intro_block ===== */
#intro {
    color: var(--text-main);
}

#intro h2 {
    font-size: 2rem;
}

#intro .intro-content p {
    font-size: 1.1rem;
}

@media (max-width: 767.98px) {
    #intro h2 {
        font-size: 1rem !important;
        line-height: 1.2 !important;
    }

    #intro .intro-content p {
        font-size: 0.875rem !important;
    }

    #intro .img-fluid {
        height: 250px !important;
    }

    #intro .p-3 {
        padding: 0 !important;
    }
}

#intro .intro-content {
    color: var(--text-main);
}

#intro .intro-content p {
    color: var(--text-main);
}

/* ===== france_content ===== */
.bg-light-section {
    background-color: var(--background-alt);
}

.text-dark-custom {
    color: var(--text-main);
}

.text-main-custom {
    color: var(--text-main);
    line-height: 1.6;
    hyphens: auto;
}

.text-secondary-custom {
    color: var(--accent);
    fw-bold;
}

.text-primary-custom {
    color: var(--primary);
    font-size: 1.25rem;
}

.image-container-custom {
    position: relative;
}

.overlay-custom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 90, 39, 0.1);
    pointer-events: none;
}

@media (max-width: 767px) {
    h2 {
        font-size: 1rem !important;
        line-height: 1.2 !important;
    }

    .text-main-custom {
        font-size: 0.875rem;
    }

    img {
        height: 300px !important;
    }
}

/* ===== italy_content ===== */
#region-italy {
    position: relative;
}

.region-italy__title {
    font-size: 2rem;
    line-height: 1.2;
}

.region-italy__text {
    font-size: 1rem;
}

@media (max-width: 767.98px) {
    .region-italy__title {
        font-size: 1rem;
        line-height: 1.3;
    }

    .region-italy__text {
        font-size: 0.9rem;
    }

    #region-italy .img-fluid {
        height: 250px !important;
    }

    .h6 {
        font-size: 0.875rem;
    }

    .small {
        font-size: 0.8rem;
    }
}

.region-italy__image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.region-italy__image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
    pointer-events: none;
}

/* ===== spain_content ===== */
#region-spain {
    overflow: hidden;
}

#region-spain .img-container img {
    transition: transform 0.6s ease;
}

#region-spain .img-container:hover img {
    transform: scale(1.05);
}

@media (max-width: 767.98px) {
    #region-spain {
        padding: 40px 0;
    }

    #region-spain h2 {
        font-size: 1rem !important;
        line-height: 1.1;
    }

    #region-spain h3 {
        font-size: 0.875rem !important;
        line-height: 1.2;
    }

    #region-spain p {
        font-size: 0.9rem !important;
    }

    #region-spain .img-container {
        height: 300px !important;
    }
}

/* ===== germany_content ===== */
#region-germany {
    overflow: hidden
}

#region-germany h2 {
    font-size: 1.75rem
}

@media(max-width:767px) {
    #region-germany h2 {
        font-size: 1rem;
        line-height: 1.1
    }

    #region-germany p {
        font-size: 0.875rem
    }

    #region-germany .germany-image-wrapper {
        height: 250px
    }
}

#region-germany .germany-text-content {
    hyphens: auto
}

.germany-image-wrapper img {
    transition: transform 0.5s ease
}

#region-germany:hover .germany-image-wrapper img {
    transform: scale(1.03)
}

/* ===== netherlands_content ===== */
#region-netherlands h2 {
    font-size: 2.5rem;
}

@media (max-width: 767px) {
    #region-netherlands h2 {
        font-size: 1rem !important;
        line-height: 1.2;
    }

    #region-netherlands p {
        font-size: 0.875rem;
        line-height: 1.4;
    }

    #region-netherlands .col-lg-6 {
        height: auto !important;
    }

    #region-netherlands .position-relative {
        height: 250px !important;
    }
}

.js-hover-effect {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

/* ===== switzerland_content ===== */
.switzerland-section {
    background-color: var(--background-alt);
    padding: 80px 0;
    overflow: hidden
}

.switzerland-heading {
    color: var(--text-main);
    font-weight: 800;
    line-height: 1.2;
    hyphens: auto
}

.switzerland-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    hyphens: auto
}

.feature-item {
    padding: 15px;
    background-color: var(--background-main);
    border-radius: 12px;
    transition: transform 0.3s ease
}

.feature-item i {
    color: var(--primary);
    font-size: 2rem;
    display: block
}

.feature-label {
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0
}

.image-container {
    position: relative
}

.js-switzerland-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: all 0.5s ease-in-out
}

@media(max-width:767px) {
    .switzerland-section {
        padding: 40px 0
    }

    .switzerland-heading {
        font-size: 1rem;
        line-height: 1.2
    }

    .switzerland-description {
        font-size: 0.875rem;
        line-height: 1.4
    }

    .feature-label {
        font-size: 0.875rem
    }

    .feature-item i {
        font-size: 1.5rem
    }

    .js-switzerland-img {
        height: 300px
    }
}

/* ===== austria_content ===== */
.js-austria-section h2 {
    font-size: calc(1.3rem + 1vw);
}

@media (max-width: 767.98px) {
    .js-austria-section h2 {
        font-size: 1rem !important;
        line-height: 1.2;
    }

    .js-austria-section p {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .js-austria-section .content-body {
        hyphens: auto;
    }
}

.js-austria-section img {
    transition: transform 0.5s ease;
}

.js-austria-section:hover img {
    transform: scale(1.05);
}

/* ===== poland_content ===== */
#region-poland {
    overflow: hidden;
}

.region-poland-h2 {
    line-height: 1.2;
    margin-top: 0;
}

.region-poland-main-img {
    transition: transform 0.3s ease;
}

.region-poland-main-img:hover {
    transform: scale(1.02);
}

@media (max-width: 767px) {
    .region-poland-h2 {
        font-size: 1rem !important;
        line-height: 1.1;
    }

    .region-poland-body p {
        font-size: 0.875rem;
        line-height: 1.4;
    }

    .region-poland-main-img {
        height: 300px !important;
    }
}

/* ===== guide_content ===== */
#guide .guide-tips-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (min-width: 768px) {
    #guide .guide-tips-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    #guide {
        padding: 40px 0;
    }

    #guide h2 {
        font-size: 1rem !important;
    }

    #guide h3 {
        font-size: 0.875rem !important;
    }

    #guide p {
        font-size: 0.8125rem !important;
    }

    #guide .guide-image-wrapper img {
        height: 300px !important;
    }
}

#guide .guide-image-wrapper {
    transition: transform 0.3s ease;
}

#guide .guide-image-wrapper:hover {
    transform: translateY(-5px);
}

/* ===== about_block ===== */
.about-section {
    position: relative;
}

.about-image-container::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background-image: radial-gradient(var(--accent) 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: 0.3;
    z-index: 1;
}

.ls-1 {
    letter-spacing: 1px;
}

@media (max-width: 767.98px) {
    #about h2 {
        font-size: 1rem !important;
    }

    #about p {
        font-size: 0.875rem !important;
    }

    .about-image-wrapper img {
        height: 300px !important;
    }
}

/* ===== faq_section ===== */
#faq h2 {
    font-size: 1.25rem;
}

@media (max-width: 767px) {
    #faq h2 {
        font-size: 1rem !important;
        line-height: 1.2;
    }

    #faq h3 {
        font-size: 0.875rem !important;
    }

    #faq .faq-image-wrapper {
        min-height: 200px !important;
    }
}

.accordion-header:hover {
    background-color: var(--secondary) !important;
    transition: background 0.3s ease;
}

/* ===== feedback_form ===== */
#contact {
    hyphens: auto;
}

.form-control::placeholder {
    color: #9ca3af;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: none;
    background-color: var(--background-main);
}

.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

@media (max-width: 767px) {
    #contact h2 {
        font-size: 1rem !important;
        line-height: 1.2 !important;
    }

    #contact p {
        font-size: 0.875rem !important;
    }

    .contact-content-card {
        padding: 1.5rem !important;
    }

    .form-label {
        font-size: 0.8rem !important;
    }

    .form-control {
        font-size: 0.9rem !important;
    }
}

/* ===== footer ===== */
.bg-primary-custom {
    background-color: var(--primary);
    color: var(--secondary);
}

#main-footer {
    hyphens: auto;
}

.footer-logo {
    max-width: 65px;
    height: auto;
}

.footer-heading {
    color: var(--accent);
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.footer-text {
    color: var(--secondary);
    font-size: 0.938rem;
    line-height: 1.6;
}

.footer-link {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.938rem;
}

.footer-link:hover {
    color: var(--accent);
}

.icon-accent {
    color: var(--accent);
    font-size: 1.25rem;
}

.footer-divider {
    height: 1px;
    background-color: rgba(244, 241, 234, 0.15);
    width: 100%;
}

.footer-nav-link,
.footer-legal-link {
    color: var(--secondary);
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.3s ease;
}

.footer-nav-link:hover,
.footer-legal-link:hover {
    color: var(--accent);
}

@media (max-width: 767px) {
    .footer-logo {
        max-width: 48px;
    }

    .footer-heading {
        font-size: 0.875rem;
        line-height: 1.2;
    }

    .footer-text,
    .footer-link {
        font-size: 0.875rem;
    }

    .footer-nav-link,
    .footer-legal-link {
        font-size: 0.7rem;
        display: inline-block;
        margin-bottom: 0.5rem;
    }
}
