/* ============================================
   BASIC PAGE SETUP
   ============================================ */

html, body {
  margin: 0;
  padding: 0;
}

/* ============================================
   TOP NAVIGATION BAR (HEADER)
   ============================================ */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    background-color: #1a2733;
    z-index: 1000;
    box-sizing: border-box;
    padding: 1.5vh 2rem;
}

.header-nav {
    width: 100%;
    max-width: 100vw;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

/* Navigation links on left and right sides */
.nav-left,
.nav-right {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Company logo in the header */
.front-page-logo {
    height: 7.5vh;
    width: auto;
    padding-top: 0.3vh;
}

/* All navigation menu items */
header nav ul {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Individual navigation items */
header nav ul li {
    margin: 0 1.5rem;
}

/* Navigation link text styling */
header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
    font-family: 'Segoe UI', 'Trebuchet MS', Arial, sans-serif;
    transition: color 0.2s;
}

/* Navigation link hover effect */
header nav ul li a:hover {
    color: #ffb347;
}

/* ============================================
   BANNER SECTION (BIG IMAGE AT TOP)
   ============================================ */

#banner-picture {
    width: 100vw;
    margin: 0;
    padding: 0;
}

/* Container for the main banner image */
.banner-pic {
    position: relative;
    width: 100vw;
    height: 60vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The actual banner image */
.banner-pic img {
    width: 100vw;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Main title text over the banner image */
.pic-title {
    position: absolute;
    width: 100%;
    left: 50%;
    top: 45%;
    transform: translateX(-50%);
    color: #fff;
    text-shadow: 0 8px 20px rgba(0,0,0,0.7);
    text-align: center;
    font-family: 'Segoe UI', 'Trebuchet MS', Arial, sans-serif;
    font-style: normal;
    text-align: center;
    font-variant: small-caps;
    font-weight: bold;
    font-family: 'Segoe UI', 'Trebuchet MS', Arial, sans-serif;
    font-size: clamp(2rem, 7vw, 4.5rem);
    letter-spacing: 2.5px;
    padding: 0 1rem;
}

/* Date text under the main title */
.pic-title-date {
    position: absolute;
    left: 50%;
    top: 55%;
    width: 100%;
    transform: translateX(-50%);
    margin-top: 2.25rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
    text-align: center;
    font-family: 'Trebuchet MS', 'Segoe UI', Arial, sans-serif;
    font-size: clamp(1.2rem, 4vw, 2rem);
    letter-spacing: 1px;
    padding: 0 1rem;
}

/* ============================================
   PHOTO GALLERY SECTION
   ============================================ */

/* Container for fishing example photos */
.top-fishing-examples {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8%;
    flex-wrap: wrap;
    padding-top: 2.7%;
    padding-bottom: 2.7%;
    background-color: #1a2733;
}

/* Individual fishing photos */
.top-fishing-examples img {
    width: min(320px, 90vw);
    height: 380px;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    object-fit: cover;
}

/* ============================================
   MAIN CONTENT SECTION (CAPTAIN INFO)
   ============================================ */

/* Background section for the captain info */
.fishing-charter-in-sunbury {
    background-color: #f8f9fa;
    padding: clamp(40px, 8vw, 60px) 20px;
}

/* White container box for captain content */
.fishing-charter-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: clamp(30px, 6vw, 60px) clamp(20px, 4vw, 40px);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Main heading text */
.main-heading {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3.3rem);
    color: #2c3e50;
    margin-bottom: clamp(20px, 4vw, 40px);
    font-weight: bold;
    letter-spacing: -1px;
    font-family: 'Georgia', serif;
}

/* Container that holds image and text side by side */
.content-wrapper {
    display: flex;
    align-items: center;
    gap: clamp(20px, 4vw, 40px);
    margin-top: 20px;
}

/* Container for captain's photo */
.image-container {
    flex-shrink: 0;
}

/* Captain's circular photo */
.captain-image {
    width: clamp(200px, 25vw, 280px);
    height: clamp(200px, 25vw, 280px);
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #e8e8e8;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Text content area */
.text-content {
    flex: 1;
}

/* Subheading text */
.subheading {
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: normal;
    font-family: 'Georgia', serif;
}

/* Description paragraph text */
.description {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
    font-family: 'Georgia', serif;
}

/* Get started today button */
.cta-button {
    background-color: #1e3a5f;  /* Dark blue background */
    color: white;               /* White text */
    padding: clamp(12px, 2.5vw, 15px) clamp(25px, 5vw, 35px);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Georgia', serif;
}

/* Button hover effect */
.cta-button:hover {
    background-color: #2c4f75;  /* Lighter blue on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}

/* ============================================
   FOOTER SECTION
   ============================================ */

/* Main footer container */
.footer {
    background-color: #1a2733;
    color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    flex-wrap: wrap;
    padding: 20px;
    gap: 20px;
    text-align: center;
}

/* Facebook section in footer */
.facebook  {
    padding-top: 18px;
}

/* Facebook button styling */
.facebook button {
    font-size: 1.2rem;
    background-color: #1a2733;
    color: white;
    border-color: #1a2733;
    box-shadow: 0 2px 2px black;
    border-radius: 50px;
}

/* Phone number text */
.call-us-text {
    font-size: 1.2rem;
    
}

.call-us-text:hover,
.facebook button:hover,
.email-text:hover {
    color: #ffb347;
}
   

/* Email text */
.email-text {
    font-size: 1.3rem;
}

/* Copyright text styling */
.copyright {
    width: 100%;
    text-align: left;
    font-size: 0.9rem;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #2a3744;
    color: #ccc;
    order: 999; /* This makes it appear last */
}

.credit-text {
    text-align: right;
    font-size: 0.7rem;
}


/* ============================================
   TABLET RESPONSIVE DESIGN
   (Screens smaller than 1024px)
   ============================================ */

@media (max-width: 1024px) {
    /* Make header navigation tighter */
    .header-nav {
        justify-content: space-between;
        padding: 0 1rem;
    }
    
    /* Reduce spacing between nav items */
    .nav-left,
    .nav-right {
        gap: 1rem;
    }
    
    /* Smaller margins for nav items */
    header nav ul li {
        margin: 0 0.8rem;
    }
    
    /* Smaller font size for nav links */
    header nav ul li a {
        font-size: 1.2rem;
    }
    
    /* Adjust photo gallery for tablets */
    .top-fishing-examples {
        gap: 1rem;
        padding: 3% 1rem;
    }
    
    /* Make fishing photos smaller on tablets */
    .top-fishing-examples img {
        width: min(280px, 45vw);
        height: 320px;
    }
}


/* ============================================
   MOBILE RESPONSIVE DESIGN
   (Screens smaller than 768px)
   ============================================ */

@media (max-width: 768px) {
    
    /* Keep navigation in one row */
    .header-nav {
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
        gap: 0.5rem;
    }

    
    /* Adjust banner for mobile header size */
    .banner-pic {
        height: 50vh;
    }
    
    /* Adjust banner title position */
    .pic-title {
        top: 40%;
        padding: 0 1.5rem;
        font-size: 2.5rem;
    }
    
    /* Adjust banner date position */
    .pic-title-date {
        top: 60%;
        padding: 0 1.5rem;
    }
    
    /* Horizontal scrolling photos on mobile */
    .top-fishing-examples {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        padding: 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        /* Hide scrollbar but keep functionality */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* Internet Explorer 10+ */
    }
    
    .top-fishing-examples::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    /* Fixed size photos for horizontal scrolling */
    .top-fishing-examples img {
        flex: 0 0 auto; /* Don't grow or shrink */
        width: 150px; /* Fixed width for consistency */
        height: 200px; /* Fixed height for consistency */
        object-fit: cover; /* Crop images to fit without distortion */
        border-radius: 8px;
        scroll-snap-align: start;
    }
    
    /* Adjust main content container for mobile */
    .fishing-charter-container {
        padding: 30px 15px;
        margin: 0 10px;
    }
    
    /* Stack captain image and text vertically */
    .content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    /* Smaller captain image on mobile */
    .captain-image {
        width: min(220px, 80vw);
        height: min(220px, 80vw);
    }
    
    /* Stack footer items vertically */
    .footer {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* ============================================
   SMALL MOBILE RESPONSIVE DESIGN
   (Screens smaller than 480px - very small phones)
   ============================================ */

@media (max-width: 480px) {
    /* Even tighter header spacing */
    header {
        padding: 0.8vh 0.3rem;
    }
    
    /* Minimal gaps for tiny screens */
    .nav-left,
    .nav-right {
        gap: 0.3rem;
    }
    
    /* Very small logo for tiny screens */
    .front-page-logo {
        height: 5vh;
    }
    
    /* Minimal margins for nav items */
    header nav ul li {
        margin: 0 0.3rem;
    }
    
    /* Small font for tiny screens */
    header nav ul li a {
        font-size: 0.9rem;
    }
    
    /* Shorter banner on small phones */
    .banner-pic {
        height: 40vh;
    }
    
    /* REMOVED THE CONFLICTING PHOTO RULES - they now inherit from the 768px media query */
    
    /* Tighter padding for small phones */
    .fishing-charter-container {
        padding: 25px 10px;
        margin: 0 5px;
        border-radius: 5px;
    }
    
    /* Even smaller captain image */
    .captain-image {
        width: min(180px, 75vw);
        height: min(180px, 75vw);
    }
}

/* ============================================
   LARGE SCREEN OPTIMIZATION
   (Screens bigger than 1200px - big desktops)
   ============================================ */

@media (min-width: 1200px) {
    /* More spacing for large screens */
    .top-fishing-examples {
        gap: 1.5%;
        padding: 2% 0;
    }
    
    /* Bigger photos for large screens */
    .top-fishing-examples img {
        width: 350px;
        height: 400px;
    }
}