* {
    margin : 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: #FFF8E6;
    overflow-x: hidden;
}

a{
    font-family: "EB Garamond", serif;
    font-size: 20px;
    color: #e73a26;
    text-decoration: none;
}

a:hover{
    color: #8a2419;
}

h1{
    font-family: "EB Garamond", serif;
    font-style: italic;
    font-size: 100px;
    color: #e73a26;
    text-align: center;
    padding-top: 20rem;
}

h2{
    font-family: "EB Garamond", serif;
    font-size: 400px;
    color: #e73a26;
    text-align: center;
}

h3{
    font-family: "EB Garamond", serif;
    font-style: bold;
    font-size: 140px;
    color: #e73a26;
    padding-left: 2.2rem;

}

h4{
    font-family: "EB Garamond", serif;
    font-style: bold;
    font-size: 30px;
    color: #e73a26;

}

p{
    font-family: "EB Garamond", serif;
    font-size: 20px;
    color: #e73a26;
}

.explain{
    display: grid;
    grid-template-rows: 1fr  ;
    grid-template-columns: 2fr 1fr  ;
    margin-left: 2.2rem;
    padding-top: 6rem;
    padding-bottom: 6rem;

}

#regions {
    max-width: 250px;
    place-items: center;
    justify-self: center;
    align-self: center;
    display: block;
    
}

.header{
    font-family: "EB Garamond", serif;
    font-weight: bold;
    font-size: 18px;
    color: #e73a26;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    padding-bottom: 400px
}

.hero-container {
    position: relative;
    width: 100%;
    height: 1400px;
    overflow: hidden;
}

#top {
    position: absolute;
    top: 0; 
    z-index: -2;
    width: 1400px;
    height: 1400px;
    object-fit: contain;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.marquee {
    display: flex;
    gap: 70px;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    font-family: "EB Garamond", serif;
    font-weight: bold;
    font-size: 20px;
    color: #FFF8E6;
}

.marquee span {
    display: inline-block;
}

.banner{
    background-color: #e73a26;
    padding: 5px;
    overflow: hidden;
}

@keyframes marquee {
    from {
        transform: translateX(5%);
    }

    to {
        transform: translateX(-90%);
    }
}



nav{
    font-family: "EB Garamond", serif;
    color: #e73a26;
    font-size:18px;
    font-weight: bold;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    text-align: center;
    z-index: 1;
    margin-top: 1rem;

    left: 0;
    right: 0;
    
}

.italypics{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;            
    align-items: end;
}

#one{
    opacity: 1;
    transition: opacity 700ms;
}

#one:hover{
    opacity: .6;
}

#two {
    opacity: 1;
    transition: opacity 700ms;
}

#two:hover {
    opacity: .6;
}

#three {
    opacity: 1;
    transition: opacity 700ms;
}

#three:hover {
    opacity: .6;
}

#cities {
    display: grid;
    grid-template-columns: 1fr;  
}

#cities img {
    max-width: 45vw;
    padding-left: 2.2rem;
}

#each{
    display: grid;
    grid-template-columns: 1fr;
    text-align: right;
    padding-right: 2.2rem;
    align-items: end;
}

#each p{
    font-size: 25px;
}

.ville{
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-bottom: 15rem;
}

#bike{
    padding-bottom: 3rem;
    animation-name: floatingAround;
    animation-duration: 6s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes floatingAround {
from {
        transform: translateX(-10%);
    }

    to {
        transform: translateX(110%);
    }
}

#cultures{
    padding-left: 2.5rem;
}

.hero-containers {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background-color: #fcf8ee;
    display: flex;
    justify-content: center;
}

#tops {
    display: block;
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

.headers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.headers h1 {
    color: #e73a26;
    font-family: "EB Garamond", serif; font-style: italic;
    font-size: clamp(3rem, 8vw, 6rem);
    margin: 0 0 10px 0;
    font-weight: 700;
    letter-spacing: -1px;
}

.sub-badges {
    display: flex;
    justify-content: space-between;
    width: 70%;
    max-width: 500px;

    color: #e73a26;
    font-family: "EB Garamond", serif; 
    font-weight: bold;
    font-size: clamp(0.75rem, 1.8vw, 1.2rem);
    margin: 0;
}

.para {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
    max-width: 100%;
    
}


@media (max-width: 768px) {
    .para {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}


.carousel-wrapper {
    max-width: 700px;
    margin: 40px auto;
    position: relative;
    font-family: system-ui, sans-serif;
    align-self: center;
    padding-right: 2.5rem;
}

.carousel-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    border-radius: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    width: 90%;
}

.carousel-slide img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.nav-dot:hover {
    background-color: #888;
    transform: scale(1.2);
}

.site-footer {
    background-color: #e73a26;
    color: #fcf8ee;
    padding: 30px 20px;
font-family: "EB Garamond", serif;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand p {
    margin: 0;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    color: #fcf8ee;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.footer-links a {
    color: #fcf8ee;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fcf8ee;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: #fcf8ee;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.footer-socials a:hover {
    color: #fcf8ee;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}



#travel-blog {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

#travel-blog h4 {
font-family: "EB Garamond", serif;
    color: #8c3626;
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: start;
}

.blog-form {
    background-color: #fcf8ee;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    font-family: "EB Garamond", serif;
    font-size: 0.95rem;
    color: #8c3626;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Georgia', serif;
    font-size: 1rem;
    background-color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff4529;
}

.image-dropzone {
    border: 2px dashed #8c3626;
    border-radius: 6px;
    padding: 30px;
    text-align: center;
    background-color: rgba(252, 248, 238, 0.5);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.image-dropzone:hover {
    background-color: rgba(255, 69, 41, 0.05);
}

.dropzone-text {
    font-family: "EB Garamond", serif;
    font-size: 0.9rem;
    color: #666;
}

.submit-btn {
    background-color: #ff4529;
    color: white;
    border: none;
    padding: 14px 28px;
    font-family: "EB Garamond", serif;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s ease;
    width: 100%;
}

.submit-btn:hover {
    opacity: 0.9;
}


/* --- Mobile Responsiveness Adjustments --- */
@media (max-width: 850px) {
    .blog-grid {
        grid-template-columns: 1fr;
        /* Stacks form above preview layout cleanly */
        gap: 40px;
    }
}