/* ==============================================
   BRAVO2TRAVELS STYLESHEET 
   ============================================== */

/* CSS Variables - Define colors once, use everywhere */
:root {
    --brand-red: #8B0000;
    --brand-red-light: #b00000;
    --brand-blue-med: #5683de;
    --dark-gray: #1a1a1a;
    --black: #000000;
    --white: #ffffff;
    --about-gap: 24px;
}

/* ----- GLOBAL STYLES ----- */
* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* ----- NAVIGATION BAR ----- */
header {
    background: linear-gradient(to right, var(--brand-blue-med), var(--dark-gray));
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

nav {
    display: flex;
    gap: 10px;
}

/* Navigation Links */
nav a {
    color: var(--white);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 20px;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

nav a.active {
    background: rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

/* Logo */
.logo {
    position: relative;
    z-index: 10;
    margin-top: 5px;
    margin-bottom: -30px;
}

.logo a {
    display: block;
    cursor: pointer;
    background: white;
    border-radius: 50%;
}

.logo img {
    max-width: 120px;
    transition: transform 0.3s ease;
    display: block;
}

.logo a:hover img {
    transform: scale(1.05);
}

/* Friends & Gear Image */
.friends-gear-container {
    position: absolute;
    top: 75%;
    left: 80px;
    z-index: 100;
}

/* Hide mobile version on desktop */
.friends-gear-mobile {
    display: none;
}

/* Position mobile F&G inside hero (absolute within hero section) */
.friends-gear-container.friends-gear-mobile {
    position: absolute;
    bottom: 20px;
    left: 10px;
    z-index: 10;
}

.friends-gear-img {
    max-width: 150px;
    height: auto;
    display: block;
    transform: rotate(-15deg);
    transition: transform 0.3s ease;
}

.friends-gear-container a:hover .friends-gear-img {
    transform: rotate(-15deg) scale(1.05);
}

/* Call-to-Action Button */
.cta {
    position: relative;
    z-index: 10;
}

.cta-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    text-decoration: none;
    margin-top: 5px;
    margin-bottom: -30px;
    transition: all 0.3s ease;
}

.cta-button::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: #E4E4E4;
    border-radius: 50%;
    z-index: 1;
}

.cta-button .compass-img {
    position: absolute;
    width: 150px;
    height: 150px;
    transition: transform 0.3s ease;
    z-index: 1;
}

.cta-button .cta-text {
    position: relative;
    z-index: 2;
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
    max-width: 80px;
    letter-spacing: 0.5px;
    font-variant: small-caps;
}

.cta-button:hover .compass-img {
    transform: scale(1.05) rotate(5deg);
}

.cta-button:hover .cta-text {
    text-shadow: 0 2px 6px rgba(255, 255, 255, 1);
}

/* ----- MAIN CONTENT ----- */
main {
    min-height: 50vh;
}

/* ----- PAGE WRAPPER (for edge-to-edge borders) ----- */
.page-wrapper {
    border-right: 20px solid var(--dark-gray);
    border-left: 20px solid var(--brand-blue-med);
    min-height: calc(100vh - 120px); /* Full height minus approx navbar/footer */
}

.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--about-gap);
}


/* ----- INSTAGRAM FEED ----- */
.instagram-feed {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
}

/* ----- PRIVACY POLICY PAGE ----- */
.policy-container {
    font-size: 16px;
}

.policy-container h2 {
    margin-bottom: 5px;
    margin-top: 20px;
}

.policy-container h2:first-child {
    margin-top: 0;
}

.policy-container p {
    margin-top: 0;
    margin-left: 25px;
    line-height: 1.6;
}

/* ----- HERO SECTION ----- */
.hero {
    position: relative;
    min-height: 600px;
    background: url('../images/reno_walk.jpg') center center / cover no-repeat;
    display: flex;
    align-items: flex-start;
    padding-top: 50px;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    background: rgba(216, 211, 211, 0.3);
    padding: 15px 30px;
    border-radius: 10px;
    display: inline-block;
    -webkit-text-stroke: 1px var(--brand-blue-med);
    color: var(--white);
}

.hero-subtitle {
    font-size: 24px;
    font-style: italic;
    margin: 0 0 30px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 5px 5px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hero-btn-primary {
    background: var(--brand-blue-med);
    color: var(--white);
}

.hero-btn-primary:hover {
    background: var(--brand-blue-med);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(86, 131, 222, 0.4);
    filter: brightness(1.1);
}

.hero-btn-secondary {
    background: var(--brand-red);
    color: var(--white);
}

.hero-btn-secondary:hover {
    background: var(--brand-red-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.4);
}

/* ----- FOOTER ----- */
footer {
    background: linear-gradient(to right, var(--brand-blue-med), var(--dark-gray));
    color: var(--white);
    padding: 10px 30px;
    margin-top: 0px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
}

.footer-section {
    text-align: center;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
    font-size: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--brand-blue-med);
}

/* Social Media Icons */
.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-links a {
    font-size: 36px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.fa-youtube {
    color: #FF0000;
}

.fa-instagram {
    color: #E1306C;
}

.fa-facebook {
    color: #1877F2;
}

.footer-bottom {
    text-align: center;
    padding: 15px 0 10px 0;
}

.footer-bottom .mini {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 600;
}

/* ----- TYPOGRAPHY ----- */
h1 {
    font-size: 30px;
}

h2 {
    color: var(--black);
    font-size: 20px;
    padding: 0;
}

h3 {
    color: var(--black);
    font-style: italic;
}

/* Text Utility Classes */
.mini {
    font-size: 12px;
}

.norm {
    font-size: 16px;
    font-weight: normal;
}

/* ----- CONTACT PAGE ----- */
.contact-content h1 {
    text-align: center;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.contact-intro {
    text-align: center;
    font-size: 20px;
    font-style: italic;
    color: var(--brand-blue-med);
    margin-bottom: 40px;
}

/* Simple Contact Layout (No Form) */
.contact-simple-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-email-section {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.email-icon {
    font-size: 64px;
    color: var(--brand-blue-med);
    margin-bottom: 20px;
}

.contact-email-section h2 {
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.email-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.email-link {
    display: inline-block;
    font-size: 20px;
    font-weight: 600;
    color: var(--brand-blue-med);
    text-decoration: none;
    padding: 15px 30px;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.email-link:hover {
    background: var(--brand-blue-med);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(86, 131, 222, 0.3);
}

/* Contact Form Layout (Legacy - if form is re-enabled) */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

/* ---- Contact Form Section---- */
.contact-form-section h2 {
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.response-time {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.response-time i {
    color: var(--brand-blue-med);
    margin-right: 5px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-gray);
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-blue-med);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background-color: var(--brand-red);
    color: var(--white);
    padding: 14px 30px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: var(--brand-red-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 0, 0, 0.4);
}

/* Social Media Section */
.contact-social-section {
    display: flex;
    flex-direction: column;
}

.contact-social-section h2 {
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.contact-social-section p {
    color: #666;
    margin-bottom: 30px;
}

.contact-social-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark-gray);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #e8e8e8;
    transform: translateX(5px);
}

.social-link i {
    font-size: 32px;
}

.social-link span {
    font-size: 18px;
    font-weight: 600;
}

/* Error Alert */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 14px;
}

.alert-error {
    background-color: #fee;
    border: 1px solid #fcc;
    color: #c33;
}

/* Success Page */
.success-message-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.success-icon {
    font-size: 80px;
    color: #28a745;
    margin-bottom: 20px;
}

.success-message-container h1 {
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.success-text {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.6;
}

.success-subtext {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    font-style: italic;
}

.success-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: var(--brand-blue-med);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--brand-blue-med);
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(86, 131, 222, 0.4);
}

.btn-secondary {
    background-color: var(--brand-red);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--brand-red-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 0, 0, 0.4);
}

.success-social-links {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.success-social-links a {
    font-size: 48px;
    transition: all 0.3s ease;
}

.success-social-links a:hover {
    transform: scale(1.2);
}

/* ----- ABOUT PAGE ---- */

.about-title {
  text-align: center;
  margin: 0 0 var(--about-gap) 0;
}


.about-picture {
  display: block;        /* allows margin auto centering */
  margin: 0 auto;        /* centers the image horizontally */
  max-width: 600px;      /* caps size */
  width: 100%;           /* makes it responsive under 400px */
  height: auto;          /* preserves aspect ratio */
}

/* About Page: narrow content to match image width */
.about-narrow {
    max-width: 600px;   /* same as .about-picture */
    margin: 0 auto;     /* center horizontally */
}


.about-outro {
    font-size: 18px;                 /* 18px text */
    font-weight: 700;                 /* bold */
    color: var(--brand-red-light);    /* uses your existing CSS variable */
}

.about-highlight {
    font-weight: 700;                /* bold */
    color: var(--brand-red-light);   /* uses your existing variable */
}


/* ----- RESPONSIVE DESIGN ----- */

/* Tablets and smaller */
@media (max-width: 1024px) {
    /* Mobile Navbar - Logo top-left, CTA top-right, nav links below */
    .header-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        padding: 10px 15px;
        gap: 10px;
        align-items: center;
    }

    .logo {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        margin-bottom: 0;
        margin-top: 0;
    }

    .logo img {
        max-width: 70px;
    }

    .cta {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    /* Make CTA button same size as logo */
    .cta-button {
        width: 70px;
        height: 70px;
        margin-top: 0;
        margin-bottom: 0;
    }

    .cta-button::before {
        width: 40px;
        height: 40px;
    }

    .cta-button .compass-img {
        width: 70px;
        height: 70px;
    }

    .cta-button .cta-text {
        font-size: 9px;
        max-width: 45px;
    }

    nav {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: center;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    nav a {
        font-size: 16px;
        padding: 6px 12px;
    }

    .hero {
        min-height: calc(100vh - 180px); /* Fill viewport minus navbar and footer */
        padding-top: 30px;
    }

    .hero-title {
        font-size: 32px;
        padding: 10px 20px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    /* Friends & Gear - absolute position inside hero */
    .friends-gear-desktop {
        display: none !important;
    }

    .friends-gear-container.friends-gear-mobile {
        display: block !important;
        position: absolute !important;
        bottom: 20px !important;
        left: 10px !important;
        z-index: 10 !important;
    }

    .friends-gear-img {
        max-width: 125px;
        transform: rotate(-15deg);
    }

    .friends-gear-container a:hover .friends-gear-img {
        transform: rotate(-15deg) scale(1.05);
    }

    /* Fixed footer on mobile */
    footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 99;
    }

    .privacy-content,
    .instagram-feed,
    .contact-content {
        border-right: 10px solid var(--dark-gray);
        border-left: 10px solid var(--brand-blue-med);
        padding: 15px;
    }

    .contact-container,
    .contact-simple-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Mobile Footer - hide links, show only copyright */
    .footer-content {
        display: none;
    }

    .footer-bottom {
        border-top: none;
        padding: 10px 0;
    }

    .social-links a {
        font-size: 45px;
    }

    .hero-btn {
        font-size: 18px;
        padding: 8px 10px;
    }
}

/* ---- Recommendations ---- */

.rec-box {
    border: 2px solid #4a90e2;
    border-radius: 12px;
    padding: 20px;
    max-width: 420px;
    background: #f9fbff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin: 25px auto;
    text-align: center;
    font-family: Arial, sans-serif;
}

.rec-box h2 {
    margin-top: 0;
    color: #2a5faa;
    font-size: 22px;
    font-weight: bold;
}

.rec-image img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.rec-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.social-icon img {
    width: 32px;
    height: 32px;
    transition: transform 0.2s ease;
}

.social-icon img:hover {
    transform: scale(1.15);
}

.social-icon svg {
  transition: transform 0.2s ease, filter 0.2s ease;
}
.social-icon:hover svg {
  transform: scale(1.12);
  filter: saturate(1.2);
}


.rec-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.rec-icons img {
  width: 28px;    /* fit naturally within a 400px card */
  height: 28px;
  transition: transform 0.2s ease;
}

.rec-icons img:hover {
  transform: scale(1.12);
}


/* Simple test frame (400px wide) */
.rec-frame {
  width: 400px;                 /* target width you asked for */
  border: 2px dashed #4a90e2;   /* visible border while we size things */
  border-radius: 8px;
  padding: 12px;
  margin: 24px auto;            /* center on the page */
  background: #fff;
  color: #1a1a1a;
  font-family: Arial, sans-serif;
}

.rec-title {
  font-size: 18px;
  margin: 0 0 10px 0;
  text-align: center;
}

.rec-image img {
  display: block;
  width: 100%;                  /* scales with the 400px container */
  height: auto;
  border-radius: 6px;
  margin: 0 auto 10px;
}

/* Icon row inside the test frame */
.rec-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.rec-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rec-icons img {
  width: 28px;                  /* predictable size at 400px */
  height: 28px;
  transition: transform 0.2s ease;
}

.rec-icons img:hover {
  transform: scale(1.12);
}


/* Mobile phones */
@media (max-width: 480px) {
    .header-container {
        padding: 8px 10px;
        gap: 8px;
    }

    .logo img {
        max-width: 60px;
    }

    /* Smaller CTA for small phones */
    .cta-button {
        width: 60px;
        height: 60px;
    }

    .cta-button::before {
        width: 35px;
        height: 35px;
    }

    .cta-button .compass-img {
        width: 60px;
        height: 60px;
    }

    .cta-button .cta-text {
        font-size: 8px;
        max-width: 40px;
    }

    nav a {
        font-size: 14px;
        padding: 5px 10px;
    }

    .hero {
        min-height: calc(100vh - 160px); /* Smaller navbar/footer on phones */
    }

    .hero-title {
        font-size: 24px;
        padding: 8px 15px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-btn {
        font-size: 16px;
        padding: 6px 8px;
    }

    /* Smaller friends-gear for small phones */
    .friends-gear-container.friends-gear-mobile {
        bottom: 15px !important;
    }

    .friends-gear-img {
        max-width: 100px;
    }

    .privacy-content,
    .instagram-feed,
    .contact-content {
        border-right: 5px solid var(--dark-gray);
        border-left: 5px solid var(--brand-blue-med);
        padding: 10px;
    }

    .contact-content {
        padding: 20px 10px;
    }

    .contact-intro {
        font-size: 18px;
    }

    .contact-container,
    .contact-simple-container {
        gap: 30px;
    }

    .social-link {
        padding: 12px 15px;
    }

    .social-link i {
        font-size: 28px;
    }

    .social-link span {
        font-size: 16px;
    }

    .policy-container p {
        margin-left: 15px;
    }

    /* Footer remains hidden except copyright (inherited from 768px) */

    .social-links a {
        font-size: 38px;
    }

    footer {
        padding: 10px 15px;
    }
}
