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

:root {
    --primary-color: #333333;
    --secondary-color: #808080;
    --accent-color: #c9a227;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --font-primary: 'Albert Sans', 'Poppins', sans-serif;
    --font-secondary: 'Didact Gothic', sans-serif;
    --font-heading: 'Libre Franklin', 'Quicksand', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--white);
}

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

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: var(--white);
    padding: 15px 0;
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo img {
    max-height: 60px;
    width: auto;
}

.main-nav {
    margin-top: 15px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu > li > a {
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 500;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 0;
    display: inline-block;
    position: relative;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu > li > a:hover::after {
    width: 100%;
}

.nav-menu > li > a i {
    margin-left: 5px;
    font-size: 10px;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 180px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
}

.sub-menu li:last-child a {
    border-bottom: none;
}

.sub-menu li a:hover {
    background: var(--light-gray);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-family: var(--font-secondary);
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.scroll-down {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    transition: all 0.3s ease;
}

.scroll-down:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: scale(1.1);
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.divider {
    height: 1px;
    background: var(--border-color);
    margin: 60px 0;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.posts-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.post-card {
    text-align: center;
}

.post-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover img {
    transform: scale(1.05);
}

.post-card a {
    display: block;
    overflow: hidden;
}

.post-content {
    padding: 20px 10px;
}

.post-content h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.4;
}

.post-content h3 a:hover {
    color: var(--accent-color);
}

.post-content p {
    font-size: 15px;
    color: var(--secondary-color);
    line-height: 1.6;
}

.center-btn {
    text-align: center;
    margin-top: 40px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-arrow:hover {
    background: var(--accent-color);
    color: var(--white);
}

.btn-arrow i {
    margin-right: 10px;
}

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

.btn-white:hover {
    background: var(--accent-color);
    color: var(--white);
}

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

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

/* Feature Sections */
.feature-section {
    display: flex;
    align-items: center;
    background: var(--light-gray);
}

.feature-section.feature-left {
    flex-direction: row;
}

.feature-image {
    flex: 1;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-content-overlay {
    flex: 1;
    padding: 60px 80px;
    background: rgba(0,0,0,0.85);
    color: var(--white);
}

.feature-content-overlay h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.4;
}

.feature-content-overlay h2 a {
    color: var(--white);
}

.feature-content-overlay h2 a:hover {
    color: var(--accent-color);
}

.divider-white {
    height: 2px;
    width: 60px;
    background: var(--white);
    margin: 20px 0;
}

.feature-content-overlay p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Wave Section */
.wave-section {
    position: relative;
    background: var(--light-gray);
    padding: 100px 0 80px;
}

.wave-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: auto;
}

.wave-top path {
    fill: var(--white);
}

/* Australia Section */
.australia-feature {
    display: grid;
    gap: 40px;
}

.australia-main {
    display: flex;
    gap: 40px;
    align-items: center;
}

.australia-image {
    flex: 1;
}

.australia-image img {
    width: 100%;
    border-radius: 4px;
}

.australia-info {
    flex: 1;
    padding: 20px;
}

.destination-label {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.australia-info h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.4;
}

.australia-info h2 a:hover {
    color: var(--accent-color);
}

.australia-info p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.australia-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Japan Section */
.japan-section {
    display: grid;
    gap: 40px;
}

.japan-main {
    display: flex;
    gap: 40px;
    align-items: center;
}

.japan-info {
    flex: 1;
    padding: 20px;
}

.japan-info h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.4;
}

.japan-info h2 a:hover {
    color: var(--accent-color);
}

.japan-info p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.japan-image {
    flex: 1;
}

.japan-image img {
    width: 100%;
    border-radius: 4px;
}

.japan-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Newsletter Section */
.newsletter-section {
    background: var(--light-gray);
    padding: 60px 0;
}

.newsletter-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-box h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 15px;
}

.newsletter-box p {
    font-size: 16px;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    font-family: var(--font-primary);
    font-size: 14px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-form button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--accent-color);
}

.newsletter-form button i {
    margin-right: 8px;
}

/* Footer */
.site-footer {
    background: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    color: var(--primary-color);
}

.footer-col ul li a:hover {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: scale(1.1);
}

.footer-newsletter {
    text-align: center;
    margin-bottom: 40px;
}

.footer-newsletter h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-form {
    max-width: 500px;
}

.footer-divider {
    height: 1px;
    background: var(--border-color);
    margin: 30px 0;
}

.copyright {
    text-align: center;
    font-size: 14px;
    color: var(--secondary-color);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border-radius: 4px;
    z-index: 999;
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    background: var(--accent-color);
    color: var(--white);
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 10000;
    padding: 20px;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

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

.cookie-content p {
    font-size: 14px;
    color: var(--secondary-color);
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.btn-accept {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 25px;
    font-family: var(--font-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept:hover {
    background: var(--accent-color);
}

.btn-learn {
    padding: 10px 25px;
    font-size: 14px;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .australia-posts,
    .japan-posts {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-section {
        flex-direction: column;
    }

    .feature-section.feature-left {
        flex-direction: column-reverse;
    }

    .feature-image,
    .feature-content-overlay {
        width: 100%;
    }

    .feature-content-overlay {
        padding: 40px;
    }

    .australia-main,
    .japan-main {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        padding: 20px;
    }

    .main-nav.active {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
    }

    .nav-menu > li > a {
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
    }

    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .posts-grid,
    .posts-grid-3 {
        grid-template-columns: 1fr;
    }

    .australia-posts,
    .japan-posts {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 26px;
    }

    .feature-content-overlay h2 {
        font-size: 26px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-form {
        flex-direction: column;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 22px;
    }

    .feature-content-overlay {
        padding: 30px 20px;
    }

    .australia-info,
    .japan-info {
        padding: 20px 0;
    }

    .australia-info h2,
    .japan-info h2 {
        font-size: 26px;
    }
}

/* Additional Page Styles */
.page-content {
    min-height: 100vh;
}

.page-hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

.page-hero .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 300;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-hero p {
    font-size: 20px;
    margin-top: 15px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.page-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--secondary-color);
}

/* Destinations Grid */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.destination-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.destination-card:hover img {
    transform: scale(1.1);
}

.destination-card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    padding: 20px 15px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
}

/* Article Content */
.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.article-content p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444;
}

/* Contact Info */
.contact-info {
    font-size: 18px;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info i {
    width: 30px;
    margin-right: 10px;
    color: var(--accent-color);
}

/* Responsive for destinations grid */
@media (max-width: 1024px) {
    .destinations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .page-hero {
        height: 300px;
    }
    
    .page-hero h1 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .destinations-grid {
        grid-template-columns: 1fr;
    }
}
