/* ==========================================================================
   Visit Australia - Landing Page Styles
   Google Ads Compliant Design
   ========================================================================== */

/* CSS Variables */
:root {
    --primary-blue: #005696;
    --primary-dark: #003d66;
    --accent-gold: #FFCD00;
    --accent-gold-hover: #e6b800;
    --accent-green: #00843D;
    --text-dark: #333333;
    --text-medium: #555555;
    --text-light: #666666;
    --background-light: #F9FAFB;
    --background-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

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

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

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

ul {
    list-style: none;
}

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

/* ==========================================================================
   Navigation
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--background-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: box-shadow var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-blue);
}

.logo:hover {
    color: var(--primary-dark);
}

.logo-icon {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-medium);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-cta {
    background-color: var(--primary-blue);
    color: var(--background-white) !important;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    transition: background-color var(--transition-fast), transform var(--transition-fast) !important;
}

.nav-cta:hover {
    background-color: var(--primary-dark);
    color: var(--background-white) !important;
    transform: translateY(-2px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.back-link {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.95rem;
}

.back-link:hover {
    color: var(--primary-dark);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 60px;
    overflow: hidden;
}

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

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 86, 150, 0.85) 0%,
        rgba(0, 61, 102, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: var(--background-white);
}

.hero h1 {
    color: var(--background-white);
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--background-white);
    box-shadow: 0 4px 14px rgba(0, 86, 150, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--background-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 86, 150, 0.4);
}

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

.btn-secondary:hover {
    background-color: var(--background-white);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 16px;
    color: var(--primary-blue);
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Destinations Section
   ========================================================================== */

.destinations {
    padding: 100px 0;
    background-color: var(--background-light);
}

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

.destination-card {
    background-color: var(--background-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.destination-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

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

.card-content {
    padding: 24px;
}

.card-content h3 {
    margin-bottom: 12px;
    color: var(--primary-blue);
}

.card-content p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.card-tag {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--background-light);
    color: var(--accent-green);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
}

/* ==========================================================================
   Food Section
   ========================================================================== */

.food-section {
    padding: 100px 0;
    background-color: var(--background-white);
}

.food-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.food-item {
    text-align: center;
    padding: 30px;
    border-radius: var(--radius-lg);
    background-color: var(--background-white);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.food-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 24px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--background-light);
}

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

.food-item h3 {
    margin-bottom: 12px;
    color: var(--primary-blue);
}

.food-item p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================================================
   Beaches Section
   ========================================================================== */

.beaches-section {
    padding: 100px 0;
    background-color: var(--background-light);
}

.beaches-showcase {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.featured-beach {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    background-color: var(--background-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.featured-beach .beach-image {
    height: 400px;
}

.beach-card {
    background-color: var(--background-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.beach-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.beach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

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

.beach-info {
    padding: 24px;
}

.beach-badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--accent-gold);
    color: var(--text-dark);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 12px;
}

.beach-info h3 {
    margin-bottom: 12px;
    color: var(--primary-blue);
}

.beach-info p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
}

.beach-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
    padding: 100px 0;
    background: linear-gradient(
        135deg,
        var(--primary-blue) 0%,
        var(--primary-dark) 100%
    );
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    color: var(--background-white);
}

.cta-content h2 {
    color: var(--background-white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.15rem;
    margin-bottom: 32px;
    opacity: 0.95;
}

.cta-section .btn-primary {
    background-color: var(--accent-gold);
    color: var(--text-dark);
    box-shadow: 0 4px 14px rgba(255, 205, 0, 0.3);
}

.cta-section .btn-primary:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background-color: var(--text-dark);
    color: var(--background-white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--background-white);
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-legal h4 {
    color: var(--background-white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links ul,
.footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--accent-gold);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.disclaimer {
    margin-top: 8px;
    font-size: 0.85rem;
}

/* ==========================================================================
   Legal Pages (Terms & Privacy)
   ========================================================================== */

.legal-content {
    padding: 120px 0 60px;
    max-width: 800px;
    margin: 0 auto;
}

.legal-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.legal-header h1 {
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.last-updated {
    color: var(--text-medium);
    font-size: 0.95rem;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.legal-section h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 24px 0 12px;
}

.legal-section p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-section ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-section li {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 8px;
    list-style: disc;
}

.legal-section a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.contact-info {
    background-color: var(--background-light);
    padding: 24px;
    border-radius: var(--radius-md);
    margin-top: 20px;
}

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

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .food-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-beach {
        grid-template-columns: 1fr;
    }
    
    .featured-beach .beach-image {
        height: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--background-white);
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform var(--transition-normal), opacity var(--transition-normal), visibility var(--transition-normal);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links a {
        font-size: 1.1rem;
    }
    
    .nav-cta {
        width: 100%;
        text-align: center;
    }
    
    .hero {
        padding: 120px 20px 60px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .destinations {
        padding: 60px 0;
    }
    
    .destinations-grid {
        grid-template-columns: 1fr;
    }
    
    .food-section {
        padding: 60px 0;
    }
    
    .food-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .beaches-section {
        padding: 60px 0;
    }
    
    .beach-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .legal-content {
        padding: 100px 0 40px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .card-image {
        height: 180px;
    }
    
    .food-image {
        width: 120px;
        height: 120px;
    }
    
    .beach-image {
        height: 180px;
    }
    
    .featured-beach .beach-image {
        height: 220px;
    }
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-blue: #003d7a;
        --text-dark: #000000;
        --text-medium: #1a1a1a;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .navbar,
    .hero-cta,
    .cta-section {
        display: none;
    }
    
    .hero {
        padding: 20px;
        min-height: auto;
    }
    
    .hero h1 {
        color: #000;
    }
}
