/* ========== DASHBOARD RESPONSIVENESS ========== */
@media (max-width: 1024px) {
    .dashboard-container {
        flex-direction: column; /* Stack sections vertically on smaller screens */
    }

    .status-section {
        width: 100%; 
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    /* Sidebar collapses into a top menu */
    .sidebar {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        padding: 10px;
        background-color: #333333;
        color: white;
        position: fixed;
        top: 60px; /* Pushes it below header */
        left: 0;
        z-index: 1000;
    }

    .sidebar a {
        font-size: 14px;
        padding: 10px;
    }

    .content {
        margin-left: 0;  /* No extra margin on small screens */
        padding-top: 120px; /* Prevents content from being covered by sidebar */
    }
}


/* Basic Reset & Global Styles (Optional but recommended) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Inter', sans-serif; /* or your preferred font */
    color: #3e3e3e; /* default text color */
  }
  
  /* HEADER CONTAINER */
  .landing-header {
    position: sticky;             /* stick to the top on scroll */
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);  /* semi‑transparent black */
    backdrop-filter: blur(8px);            /* frosted blur */
    -webkit-backdrop-filter: blur(8px);    /* Safari support */
    padding-left: 6rem;
    padding-right: 6rem;
    border-bottom: 1px solid #070707;
    z-index: 1000;               /* above page content */
  }
  
  
  /* LOGO (LEFT) */
  .logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;               /* Logo text in white */
  }
  
  /* CENTER NAV: Pricing, Contact, Reviews */
  .center-nav ul {
    display: flex;
    gap: 1.5rem;               /* Spacing between links */
    margin: 0 auto;            /* Push these links to the center horizontally */
    list-style-type: none;
  }
  
  /* AUTH NAV: Log in, Sign up (RIGHT) */
  .auth-nav ul {
    display: flex;
    gap: 1rem;
    list-style-type: none;
  }
  
  /* LINKS: Make all links white */
  .landing-header a {
    text-decoration: none;
    color: #b3b3b3;               /* White text color */
    font-weight: 500;
  }
  
  .landing-header a:hover {
    color: #ccc;               /* Slightly lighter hover color */
  }
  
/* Styles for the white Sign Up button */
.signup-button {
    color: #000000;
    padding: 0.5rem 1rem;
    border: 1px solid #a7a6a6;
    border-radius: 9px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.landing-header a.signup-button {
    background-color: #e3e2e2;
    color: #010101;
}

/* Add a hover state to see the transition effect */
.landing-header a.signup-button:hover {
    background-color: #ffffff; /* change to a whiter color */
    color: #000000;           /* or any color you prefer */
}

/* Hero Section wrapper: dark background, full width */
.hero-section {
    background-color: #0c0c0c;  /* Adjust as needed for your design */
    color: #fff;
    padding: 3.5rem 1rem 4rem 2rem;
  }
  
  /* Centered container with two columns on larger screens */
  .hero-container {
    max-width: 1200px;         /* Constrain content width to avoid edge-to-edge stretching */
    margin: 0 auto;
    display: flex;             /* Flexbox for side-by-side layout */
    align-items: center;       /* Vertically center content */
    justify-content: space-between; /* Spread left & right columns apart */
  }
  
  /* LEFT COLUMN: Text and CTA */
  .hero-left {
    flex: 1;                   /* Let it take up half the space (or expand/contract as needed) */
    /* margin-right: 2rem;  */
  }
  
  .hero-left h1 {
    font-size: 2.5rem;         /* Adjust font size to match your mockup */
    margin-bottom: 1rem;
  }
  
  .hero-left p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: #f9f6f6;            /* Slightly different from pure white if you like */
  }
  
  .cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #e3e2e2; /* Example brand color; change to yours */
    color: #020202;
    text-decoration: none;
    border-radius: 9px;
    /* font-weight: 600; */
    transition: background-color 0.3s ease;
  }
  
  .cta-button:hover {
    background-color: white; /* Darken on hover */
  }
  
  /* RIGHT COLUMN: Screenshot image */
  .hero-right {
    flex: 1;                   /* Also takes half the space */
    display: flex;             /* For optional centering of the image */
    justify-content: center;   /* Center the image horizontally within the right column */
  }
  
  .hero-right img {
    width: 90%;
    height: 100%;
    object-fit: cover;
    border-radius: 9px;
    margin-top: 2rem; /* Optional: add some space above the image */
  }
  
  
  .features-intro {
    background-color: #0c0c0c;    /* Match your dark page background */
    color: #fff;                  /* White text for contrast */
    text-align: center;           /* Center the text */
  }
  
  .features-intro .intro-container {
    max-width: 800px;             /* Constrain width for readability */
    margin: 0 auto;
  }
  
  .features-intro h2 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .features-intro p {
    font-size: .75rem;
    color: #ccc;                  /* Slightly lighter secondary text */
    margin: 0;
  }  


/* Card Section */
.cards-section {
    background-color: #0c0c0c;   /* Match your site’s dark background */
    padding: .5rem 2rem;          /* Vertical and horizontal padding */
    color: #fff;                 /* Ensure text is white */
  }
  
 /* Container for the three cards */
.cards-container {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
  }
  
  /* Each card stays square */
  .card {
    position: relative;       /* for the absolutely‑positioned content if needed */
    flex: 1;                  /* cards share available space equally */
    aspect-ratio: 1 / 1;      /* width : height = 1 : 1 → always a square */
    min-width: 200px;         /* optional: prevents them from getting too small */
    overflow: hidden;         /* hides any image overflow */
    border-radius: 8px;
  }
  
  /* Fill the square with the image */
  .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;        /* scale & crop to cover the square */
    display: block;
  }
  
  .focus-left {
    /* 
      object-position: x% y%;
      x% = horizontal focus (0% = left, 100% = right)
      y% = vertical focus (0% = top, 100% = bottom)
    */
    object-position: 1% center;  /* Move focus 20% in from the left, vertically centered */
  }
  
  .card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .card p {
    font-size: 1rem;
    line-height: 1.4;
    color: #ccc;                 /* Slightly lighter description text */
  }
  
  /* Responsive: stack cards vertically on smaller screens */
  @media (max-width: 768px) {
    .cards-container {
      flex-direction: column;
      gap: 2.5rem;               /* More space between stacked cards */
    }
  }
  
/* ─── Overview Section ───────────────────────────────────────── */
/* Container */
.overview {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 2px;

  }
  
  /* Label & title */
  .overview__label {
    display: block;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.5rem;
  }
  .overview__title {
    margin: 0 0 1.5rem;
    font-size: 2rem;
    color: #222;
  }
  
  /* Flex row */
  .overview__row {
    display: flex;
    gap: 2rem;
    align-items: flex-start;  /* top‑align cards & image */
    flex-wrap: wrap;          /* stack on mobile */
  }

  /* 2. Cards take 40% */
.overview__cards-container {
    flex: 0 0 30%;
  }
  
  /* 3. Image takes 60% */
  .overview__image-wrap {
    flex: 0 0 70%;
    display: flex;
    justify-content: center;
  }
  
/* Outer “card” around the three cards */
.overview__cards-container {
    background-color: #f4f4f5;   /* light container bg */
    padding: 1rem;             /* spacing inside the container */
    border-radius: 12px;         /* rounded corners */
  }
  
  /* Inner cards area (no change) */
  .overview__cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;                   /* space between the inner cards */
  }
  
  /* Individual cards (no change) */
  .overview__card {
    display: flex;
    align-items: center;
    /* background: #060606;            white inner cards */
    border-radius: 8px;
    padding: 1rem;
  }
  
  /* Cards column */
  .overview__cards {
    flex: 1;                  /* takes remaining space */
    min-width: 280px;         /* won’t get too narrow */
  }
  .overview__card {
    display: flex;
    align-items: center;
    background: #eaeaea;
    border-radius: 8px;
    padding: 1rem;
    /* margin-bottom: 2.75rem; */
  }

  .overview__card p {
    /* font-size: 5rem; */
    line-height: 1.4;
    color: #222;               /* dark text */
  }
  /* .overview__icon {
    font-size: 1.5rem;
    margin-right: 1rem;
  } */
  
  /* Image column */
  .overview__image-wrap {
    flex: 1;                  /* equal share */
    display: flex;
    justify-content: center;
  }
  .overview__image {
    width: 100%;
    max-width: 800px;
    border-radius: 8px;
    object-fit: cover;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .overview__row {
      flex-direction: column;
      align-items: center;
    }
    .overview__image-wrap,
    .overview__cards {
      flex: 0 0 100%;
    }
  }
  
  









/* --- Global Styles --- */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* --- Header Fix: Stays at the Top --- */
header {
    background-color: black;
    color: white;
    padding: 15px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 98%;
    position: fixed; /* Keeps header fixed at top */
    top: 0;
    left: 0;
    z-index: 1100;
}

/* --- Ensures Content Starts Below Header --- */
.content {
    margin-top: 60px; /* Pushes content down to prevent overlap */
}

/* --- Sidebar Navigation --- */
.sidebar {
    width: 170px; /* Smaller sidebar */
    background-color: #333;
    color: white;
    padding: 15px;
    position: fixed;
    left: 0;
    top: 60px; /* Starts below the fixed header */
    height: calc(100vh - 60px); /* Adjusts height based on header */
}

.sidebar a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 5px;
}

.sidebar a:hover {
    background-color: #444;
}

/* --- Sidebar Becomes Top Bar on Mobile --- */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: fixed;
        top: 60px;
        left: 0;
        padding: 10px;
        text-align: center;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }

    .sidebar nav ul {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        padding: 0;
    }

    .sidebar li {
        display: inline;
        list-style: none;
    }

    .sidebar a {
        display: inline-block;
        padding: 10px 15px;
    }

    .content {
        margin-left: 0; /* No extra margin on small screens */
        padding-top: 120px; /* Prevents content from being covered by sidebar */
    }
}

/* --- Centering and Form Styling --- */
.auth-container, .form-container {
    width: 400px;
    margin: 50px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.auth-container h2, .form-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

.auth-container form, .form-container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-container label, .form-container label {
    font-weight: bold;
    margin-bottom: 5px;
}

.auth-container input, .form-container input,
.auth-container select, .form-container select,
.auth-container textarea, .form-container textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.auth-container button, .form-container button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.auth-container button:hover, .form-container button:hover {
    background-color: #0056b3;
}

/* --- Dashboard Layout --- */
.dashboard-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}

.job-sections {
    display: flex;
    gap: 20px;
    width: 80%;
}

.job-category {
    flex: 1;
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.job-category h3 {
    margin-top: 0;
}

/* --- Messages (Success/Error Alerts) --- */
.alert {
    width: 80%;
    margin: 10px auto;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* --- Sidebar Navigation --- */
.sidebar {
    width: 170px; /* Adjusted smaller sidebar */
    background-color: #007bff;
    color: white;
    padding: 15px;
    position: fixed;
    left: 0;
    top: 105px; /* Starts below the fixed header */
    height: calc(100vh - 60px); /* Adjusts height based on header */
}

/* --- Ensure Content is Visible & Not Behind Sidebar --- */
.content {
    margin-left: 180px;  /* Content starts after sidebar */
    padding: 60px;
}

/* --- Mobile View Fix (Sidebar Becomes Top Menu) --- */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: fixed;
        top: 60px;
        left: 0;
        padding: 10px;
        text-align: center;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }

    .sidebar nav ul {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        padding: 0;
    }

    .sidebar li {
        display: inline;
        list-style: none;
    }

    .sidebar a {
        display: inline-block;
        padding: 10px 15px;
    }

    /* Content Moves Down & Centers */
    .content {
        margin-left: 0; /* No extra margin on small screens */
        padding-top: 120px; /* Prevents content from being covered by sidebar */
    }
}

/* Job Status Columns */
.job-container {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 20px;
}

/* Individual columns */
.job-column {
    flex: 1;
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Prevent columns from becoming too small */
}

/* Job Cards */
.job-card {
    background: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Status Dropdown */
.job-card select {
    width: 100%;
    padding: 5px;
}

/* Edit & Delete Links */
.job-card a {
    margin-right: 10px;
    color: #007bff;
    text-decoration: none;
}

.job-card a:hover {
    text-decoration: underline;
}

/* RESPONSIVE: Stack Columns on Small Screens */
@media (max-width: 768px) {
    .job-container {
        flex-direction: column;
        gap: 10px;
    }

    .job-column {
        width: 100%;
    }
}
