* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ======================================================
   ROOT / VARIABLES
====================================================== */

:root{
    --space-sm:20px;
    --space-md:30px;
    --space-lg:40px;

    --radius:16px;

    --shadow:0 3px 10px rgba(0,0,0,0.08);

    --plate-green:#446C34;
}

/* ======================================================
   BASE / GLOBAL
====================================================== */

*{
    box-sizing:border-box;
}

body{
    margin:0;
    font-family:'Open Sans', sans-serif;
    font-size:18px;
    line-height:1.5;
    background:#f4f7fb url('https://q4ulistings.co.za/images/background.png') repeat;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
    padding:0 0 var(--space-lg) 0;
}

.responsive{
    max-width:100%;
    height:auto;
    display:block;
}

/* ======================================================
   TYPOGRAPHY
====================================================== */

h1,
h2,
h3{
    margin:0 0 var(--space-sm);
    text-align:center;
    color:#111;
}

h1{
    font-family:'Open Sans', sans-serif;
    font-size:32px;
    font-weight:bold;
    color:#000000;
    letter-spacing:0.5px;
}

h2{
    font-family:'Open Sans', sans-serif;
    font-size:32px;
    font-weight:bold;
    color:#000000;
    letter-spacing:0.5px;
}

.form-box,
.form-box input,
.form-box textarea,
.form-box select,
.form-box button {
    font-family: 'Open Sans', sans-serif !important;
	font-size:16px !important;
}

.edit-card,
.edit-form,
.edit-form input,
.edit-form select,
.edit-form textarea,
.edit-form button {
    font-family: 'Open Sans', sans-serif !important;
	font-size:16px !important;
}

/* ======================================================
   BLOCK QUOTE ON PROVINCE PAGE
====================================================== */

blockquote {
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  line-height: 1.75;
  color: #0070C0;
  max-width: 750px;
  margin: 28px auto;
  padding: 18px 22px 18px 24px;
  background: #FFFFFF;
  border-radius: 6px;
  position: relative;
}

/* TOP LEFT QUOTE */
blockquote::before {
  content: "\201C";
  position: absolute;
  left: 10px;
  top: 6px;
  font-size: 2.2rem;
  color: #0070C0;
  font-family: serif;
  line-height: 1;
}

/* BOTTOM RIGHT QUOTE */
blockquote::after {
  content: "\201D";
  position: absolute;
  right: 10px;
  bottom: 0px;
  font-size: 2.2rem;
  color: #0070C0;
  font-family: serif;
  line-height: 1;
}

/* optional highlight line inside */
blockquote span {
  display: block;
  margin-top: 10px;
  font-weight: 600;
  color: #1f3d1a;
}

/* MOBILE */
@media (max-width: 768px) {
  blockquote {
    font-size: 18px;
    padding: 16px 16px 16px 20px;
    margin: 18px 12px;
  }

  blockquote::before {
    font-size: 1.8rem;
    left: 6px;
    top: 4px;
  }
}

blockquote.quote-tip {
  position: relative;

  font-family: 'Open Sans', sans-serif;
  font-size: 20px;
  line-height: 1.75;

  color: #2f5a24;
  background: #E3EFE3;

  max-width: 750px;
  margin: 28px auto;

  padding: 18px 22px 18px 55px;

  border-radius: 6px;
}

/* quote mark */
blockquote.quote-tip::before {
  content: "\201C";
  position: absolute;
  left: 10px;
  top: 6px;

  font-size: 2.2rem;
  color: rgba(68, 108, 52, 0.25);
}

/* ======================================================
   LAYOUT COMPONENTS
====================================================== */

.info-box1,
.info-box2,
.form-box,
.listing-card,
table{
    margin-bottom:var(--space-sm);
}

.info-box1{
    padding:20px;
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
}

.info-box2 {
    padding: 20px;
    /* Die nuwe, effens donkerder ligblou kleure is nou ingemeng */
    background: linear-gradient(-45deg, #3c96dc, #6eb5ec, #2b7fc4, #5caae8, #236fae, #4fa3e3);
    
    /* Maak die gradiënt baie groter sodat daar spasie is om te beweeg */
    background-size: 400% 400%; 
    
    color: #fff;
    text-align: center;
    border-radius: var(--radius);
    
    /* 'n Subtiele, skoon skaduwee wat die wit teks duidelik laat uitstaan */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    
    /* Koppel die animasie: 10 sekondes lank, vloeiend, herhaal vir altyd */
    animation: gradientMove 10s ease infinite;
}

/* Die animasie wat die agtergrond se posisie rondskuif */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Houer wat die uitroepteken en teks langs mekaar dwing */
.quote-wrapper {
    display: flex;
    align-items: center; /* Belyn alles vertikaal in die middel */
    justify-content: center; /* Hou die inhoud gesentreer in die boks */
    gap: 15px; /* Spasie tussen die uitroepteken en die teks */
}

/* Styl vir die groot uitroepteken */
.quote-icon {
    font-size: 4.5rem; /* Grootte wat oor ongeveer twee reëls strek */
    font-weight: bold;
    line-height: 1; /* Voorkom dat die ekstra spasie bo/onder die skrif die boks vergroot */
    flex-shrink: 0; /* Voorkom dat die uitroepteken platgedruk word op klein skerms */
	opacity: 0.4; /* maak dit deurskynend */
}

/* Styl vir die teks regoor die uitroepteken */
.quote-text {
    text-align: left; /* Maak die teks linksbelyn vir maklike leesbaarheid */
    line-height: 1.4; /* Netjiese spasiëring vir twee reëls teks */
}


.photo {
    margin-bottom: 0;
    overflow: visible;
}

.photo picture,
.photo img{
    display:block;
    width:100%;
    height:auto;
    border-radius:var(--radius);
}

.photo img{
    object-fit:cover;
}

.photo a,
a .photo{
    display:block;
    text-decoration:none;
}

.section.footer {
    border-top: 1px solid rgba(0,0,0,0.15);
    margin-top: 30px;
    padding: 10px 10px 5px 10px; /* kleiner bottom padding */
}

.section.footer.footer-compact {
    margin-top: 10px;
}


.footer {
    text-align: center;
    padding: 10px 10px 0 10px; /* ?? bottom = 0 */
}

.footer-img {
    width: 124px;
    height: auto;
    display: block;
    margin: 5px auto 0 auto; /* bottom = 0 */
}

@media (max-width: 600px) {
    .footer-img {
        width: 120px;
    }
}

/* ======================================================
   NUMBER PLATES (IMPROVED ALUMINIUM STYLE)
====================================================== */

.province-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:var(--space-sm);
    margin-bottom:var(--space-sm);
}

.province-box,
.province-plate{
    position:relative;

    display:flex;
    align-items:center;
    justify-content:center;

    overflow:hidden;

    height:85px;

    /* ALUMINIUM BASE */
    background:
        linear-gradient(135deg, #ffffff 0%, #f2f2f2 35%, #e6e6e6 60%, #f9f9f9 100%);

    border:4px solid #111;
    border-radius:18px;

    font-family:'Rajdhani', sans-serif !important;

    font-size:30px;
    font-weight:700;
    letter-spacing:1px;
    text-transform:uppercase;

    /* DEPTH */
    box-shadow:
        inset 0 2px 3px rgba(255,255,255,0.9),
        inset 0 -3px 6px rgba(0,0,0,0.15),
        0 5px 12px rgba(0,0,0,0.18);
}

/* LINK STYLE */
.province-box{
    text-decoration:none;
    transition: transform 0.25s ease;
}

.province-box,
.province-box:visited,
.province-box:hover,
.province-box:active{
    color:#000;
}

.province-box:hover{
    transform:translateY(-3px);
}

/* HEADER WRAPPER */
.province-header{
    display:flex;
    justify-content:center;
    align-items:center;
    margin:var(--space-sm) 0;
}

.province-plate{
    width:100%;
    max-width:400px;
}

/* LEFT GREEN ZA BAR */
.province-box::before,
.province-plate::before{
    content:"ZA";
    position:absolute;
    left:0;
    top:0;
    bottom:0;

    width:68px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:var(--plate-green);
    color:#fff;

    font-size:25px;
    font-weight:600;

    box-shadow: inset -2px 0 4px rgba(0,0,0,0.2);
}

/* METAL SHINE EFFECT */
.province-box::after,
.province-plate::after{
    content:"";
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            120deg,
            rgba(255,255,255,0) 0%,
            rgba(255,255,255,0.35) 25%,
            rgba(255,255,255,0) 50%
        ),
        radial-gradient(circle at 25% 20%, rgba(255,255,255,0.7), transparent 40%),
        radial-gradient(circle at 75% 80%, rgba(0,0,0,0.08), transparent 45%);

    pointer-events:none;
    z-index:2;
}

/* TEXT (EMBOSSED LOOK) */
.province-box span,
.province-plate span{
    position:relative;
    z-index:3;

    color:#111;

    margin-left:50px;
    display:inline-block;
    transform:translateX(-4px);

    text-shadow:
        0 1px 0 rgba(255,255,255,0.95),
        0 -1px 0 rgba(0,0,0,0.25),
        1px 1px 0 rgba(255,255,255,0.3);

    letter-spacing:1px;
}

.province-box::before,
.province-plate::before{
    box-shadow:
        inset -2px 0 4px rgba(0,0,0,0.2),
        /* bolt holes overlay feel */
        inset 0 0 0 0 transparent;
}

@media (max-width:1024px){

    .province-box span,
    .province-plate span{
        margin-left:40px;
        transform:none;
		font-size: 1.10em;
    }

}

/* 4 SKROEWE */
.province-box,
.province-plate{
    position:relative;
}

.province-box::after,
.province-plate::after{
    background-image:
        radial-gradient(circle at 12px 12px, #222 2px, #bbb 3px, transparent 4px),
        radial-gradient(circle at calc(100% - 12px) 12px, #222 2px, #bbb 3px, transparent 4px),
        radial-gradient(circle at 12px calc(100% - 12px), #222 2px, #bbb 3px, transparent 4px),
        radial-gradient(circle at calc(100% - 12px) calc(100% - 12px), #222 2px, #bbb 3px, transparent 4px),
        radial-gradient(circle at 25% 20%, rgba(255,255,255,0.7), transparent 40%),
        radial-gradient(circle at 75% 80%, rgba(0,0,0,0.08), transparent 45%);
    background-repeat:no-repeat;
}

/* ======================================================
   FORMS
====================================================== */

.form-box{
    padding:30px;
    background:#fff;
    border:1px solid #ddd;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
}

.form-box,
.form-box input,
.form-box textarea,
.form-box select,
.form-box button {
    font-family: 'Open Sans', sans-serif;
}

form{
    display:flex;
    flex-direction:column;
    gap:15px; /* Hanteer nou ALLE spasiëring netjies sentraal */
}

.input-group {
    position: relative;
    display: block; 
    margin-bottom: 0; /* Verwyder die ekstra spasie wat die bokse uitmekaar gedruk het */
}

/* BASE ICON STYLE */
.input-group i {
    position: absolute;
    left: 16px;
    color: #888;
    pointer-events: none; 
    z-index: 2; /* Sien om te sien dat die icon altyd bo-op die select-pyltjie sit */
    
    /* Sentreer elke gewone input se icon perfek vertikaal */
    top: 50%;
    transform: translateY(-50%);
}

/* TEXTAREA ICON ALIGNMENT */
.input-group .icon-textarea {
    top: 22px;                
    transform: none;          
}

/* INPUT + TEXTAREA + SELECT BASE STYLE */
.input-group input,
.input-group textarea,
.input-group select {         
    width: 100%;
    padding-left: 45px; 
    font-family: inherit;
    font-size: 18px;
    border: 1px solid #ccc;
    border-radius: var(--radius);
    box-sizing: border-box; 
    background-color: #fff; /* Dwing die select om wit te wees soos die res */
}

/* Maak seker die web-blaaiers se eie select-style meng nie in nie */
.input-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://w3.org' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center; /* Plaas die dropdown pyltjie netjies regs */
    padding-right: 40px;
}

/* INPUT + SELECT spacing */
.input-group input,
.input-group select {
    padding-top: 14px;
    padding-bottom: 14px;
}

/* TEXTAREA spacing */
.input-group textarea {
    min-height: 150px;
    resize: vertical;
    padding-top: 16px;
    line-height: 1.4;
}

/* SAFETY ONLY */
.contact-form textarea {
    min-height: 150px;
}

input,
select{
    width:100%;
    padding:14px;
    border:1px solid #ccc;
    border-radius:8px;
    font-size:18px;
}

select{
    appearance:none;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right 18px center;
    background-size:14px;
    padding-right:45px;
}

button{
    padding:14px;
    background: linear-gradient(to bottom, #3c96dc, #2b7fc4);
    color:#fff;
    border:none;
    border-radius:8px;
    cursor:pointer;
    font-size:18px;
    font-weight:normal;
}

.btn-send{
    display:inline-flex;
    align-items:center;
	justify-content:center;
    gap:8px;
    font-size:16px;
    padding:12px 20px;
    border-radius:8px;
    border:none;
    cursor:pointer;
    transition: all 0.2s ease;
}

.btn-submit-listing{
    display:inline-flex;
    align-items:center;
	justify-content:center;
    gap:8px;
    font-size:16px;
    padding:12px 20px;
    border-radius:8px;
    border:none;
    cursor:pointer;
    transition: all 0.2s ease;
}

.btn-send{
    background: linear-gradient(to bottom, #3c96dc, #2b7fc4) !important;
}

.btn-send:hover i{
    transform: translateX(6px) rotate(10deg);
}

button:hover{
    opacity:0.9;
    transform:translateY(-1px);
}

.btn-submit-listing i{
    transition: transform 0.3s ease;
}

.btn-submit-listing:hover i{
    transform: translateX(6px);
}

input[type="password"]{
    background:#fff;
    color:#000;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active{
    -webkit-box-shadow:0 0 0 30px #fff inset !important;
    -webkit-text-fill-color:#000 !important;
}

html {
    scroll-behavior: smooth;
}

.logout-link i {
    display: inline-block;
    transition: transform 0.4s ease;
    transform-origin: left center;
}

.logout-link:hover i {
    transform: rotateY(40deg);
}

/* ======================================================
   PROVINCE PAGE
====================================================== */

.listing-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

.listing-card{
    background: #fff;
    border: 1px solid #e4e9f2;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);

    position: relative;
    overflow: hidden; /* BELANGRIK vir ribbon */

    transition: 0.25s ease;
}

/* RIBBON */

.verified-ribbon{
    position: absolute;
    top: 18px;
    right: -45px;

    background: #749068; /* Soliede groen sonder deursigtigheid */
    color: #fff;

    font-size: 11px;
    font-weight: 800; /* Maak die letters effens dikker (extra-bold) */
	letter-spacing: 1.5px; /* Meer spasie tussen letters laat dit skoner en duurder lyk */

	/* NUUT: 'n Sterker, gelaagde skaduwee wat die wit teks letterlik van die groen agtergrond af lig */
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);

    padding: 6px 55px;

    transform: rotate(45deg);

    box-shadow: 0 4px 10px rgba(0,0,0,0.15);

    z-index: 10;

    pointer-events: none;

    /* Sny die shine netjies binne die boks se rande af */
    overflow: hidden;

    /* animation */
    opacity: 0;
    animation: ribbonSlideIn 0.6s ease-out forwards;
}

/* OPGEDATEER: Skep die lig-glans wat NET EEN KEER hardloop */
.verified-ribbon::before{
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    
    background: linear-gradient(
        90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    
    transform: skewX(-25deg);
    
    /* LET WEL: Die vertraging (delay) is 0.6s sodat die flits eers begin NA die lint ingegly het */
    animation: ribbonShine 1s ease-in-out 0.6s 1 forwards;
}

@keyframes ribbonSlideIn{
    0%{
        opacity: 0;
        transform: translateY(-20px) rotate(45deg);
    }
    100%{
        opacity: 1;
        transform: translateY(0) rotate(45deg);
    }
}

/* OPGEDATEER: Die glans beweeg eenmalig van links na regs */
@keyframes ribbonShine {
    0% {
        left: -150%;
    }
    100% {
        left: 150%;
    }
}

.listing-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}

.listing-card h3{
    text-align: left;
    font-size: 24px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 3px solid #0070C0;
}

.listing-card p{
    margin: 0 0 14px;
    color: #333;
}

.listing-info p{
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.listing-info i{
    margin-top: 3px;
    color: #666;
}

.listing-card a{
    color: #446C34;
    text-decoration: none;
    font-weight: 600;
    word-break: break-word;
}

.email-line,
.phone-line{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.email-text,
.phone-text{
    flex: 1;
    word-break: break-word;
}

/* COPY BUTTON */

.copy-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-left: 10px;

    background: none !important;
    border: none !important;
    box-shadow: none !important;

    color: #446C34 !important;

    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
}

.copy-btn:hover{
    background: rgba(68,108,52,0.08);
}

.copy-btn{
    position:relative;
}

.copy-btn.copied i{
    color:#2ecc71 !important;
}

.copy-btn .copy-label{
    position:absolute;
    right:100%;
    top:50%;
    transform:translateY(-50%);
    margin-right:8px;

    background:#111;
    color:#fff;
    font-size:12px;
    padding:5px 8px;
    border-radius:6px;

    white-space:nowrap;

    opacity:0;
    visibility:hidden;
    transition:0.2s ease;
}

.copy-btn:hover .copy-label{
    opacity:1;
    visibility:visible;
}

.listing-info p{
    display:flex;
    align-items:center;
    gap:10px;
}

.listing-info i{
    width:20px;
    text-align:center;
    color:#666;
    flex-shrink:0;
}

.city-text{
    flex:1;
    display:block;
}

/* ======================================================
   PLACEHOLDER / COMING SOON FIX
====================================================== */

.placeholder-card{
    border:2px dashed #ddd;
    background:#fafafa;
    box-shadow:none;
}

.coming-soon{
    opacity:0.7;
    filter:grayscale(1);
    cursor:not-allowed;
    position:relative;
}

.coming-soon h3{
    color:#777;
}

.coming-soon p{
    color:#888;
    font-style:italic;
}

.listing-card.coming-soon:hover{
    transform:none;
    box-shadow:none;
}

.coming-soon::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(255,255,255,0.4);
    pointer-events:none;
}

/* ======================================================
   TABLES
====================================================== */

table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
    border-radius:var(--radius);
    overflow:hidden;
}

table th,
table td{
    padding:15px;
    border:1px solid #e6eaf0;
}

table th{
    background:#0070C0;
    color:#fff;
    text-align:left;
}

table tr:nth-child(even){
    background:#fafafa;
}

table tr:hover{
    background:#f1f5fb;
}

/* ======================================================
   UTILITY
====================================================== */

.back-btn{
    color:#446C34;
    text-decoration:none;
    font-weight:normal;
    display:inline-flex;
    align-items:center;
    gap:5px;
}

.admin-link{
    color:rgba(68,108,52,0.55);
    text-decoration:none;
    font-size:0.9rem;
}

.admin-link:hover{
    color:#446C34;
}

/* ======================================================
   ADMIN / PROVINCES
====================================================== */

.province-card{
    background:#fff;
    border-radius:16px;
    padding:16px 18px;
    margin-bottom:12px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

/* ======================================================
   RESPONSIVE
====================================================== */

@media(max-width:900px){
    .province-grid{
        grid-template-columns:1fr;
    }
}

.listing-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* TABLET */
@media (max-width: 1024px){
    .listing-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE */
@media (max-width: 600px){
    .listing-grid{
        grid-template-columns: 1fr;
    }
}
.province-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* TABLET */
@media (max-width: 1024px){
    .province-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE */
@media (max-width: 600px){
    .province-grid{
        grid-template-columns: 1fr;
    }
}

/* MOBILE FIX VIR ADMIN CARDS */
@media (max-width: 600px){

    .province-card{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .province-name{
        margin-bottom: 10px;
        font-size: 18px;
    }

    .province-actions{
        display: flex;
        gap: 10px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .province-actions .btn{
        font-size: 14px;
        padding: 6px 10px;
    }

    .verified-form{
        margin-top: 8px;
    }
}

/* REAPONSIVE / MOBIELE ENSTELLINGS */
@media (max-width: 768px) {
    .menu-search-form {
        width: 100%;
        padding: 12px 16px;
        box-sizing: border-box;
    }
    .search-group {
        max-width: 100%;
    }
}

/* TABLET LANDSCAPE: Verklein teks en spasiëring vir die menu */
@media (min-width: 769px) and (max-width: 1024px) {
  .menu a, .dropbtn {
    font-size: 15px !important;    /* Verlaag vanaf 18px */
    padding: 10px 8px !important;  /* Maak die links/regs padding nouer (was 14px) */
  }
  
  .menu-inner {
    gap: 5px !important;           /* Bring die knoppies nader aan mekaar (was 10px) */
  }

  .search-group {
    max-width: 240px !important;   /* Maak die soekbalk effens smaller om spasie te wen */
  }
}

/* MOBILE LANDSCAPE: Maak die selfoon-menu meer kompak as die skerm plat is */
@media (max-width: 767px) and (orientation: landscape) {
  .menu-inner a {
    padding: 6px 16px !important;  /* Nouer vertikale spasiëring (was 10px) */
    font-size: 15px !important;    /* Effens kleiner teks */
  }
  
  .dropbtn {
    padding: 6px 16px !important;  /* Pas ook die dropdown-knoppie aan */
    font-size: 15px !important;
  }
  
  .dropdown-content a {
    padding: 8px 30px !important;  /* Maak die sub-skakels ook minder hoog */
  }
  
  .menu-search-form {
    padding: 6px 16px !important;  /* Minder padding rondom die soekbalk */
  }
}

/* ==========================================
   LANDSCAPE FIX: SKUIP MENU EFFENS AF
   ========================================== */

/* 1. TABLET LANDSCAPE FIX */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
  .menu {
    margin-top: -14px !important; /* Verwyder die -20px sodat dit netjies ONDER die prent sit */
    border-radius: 0px 0px 12px 12px;
  }
}

/* 2. MOBILE LANDSCAPE FIX */
@media (max-width: 768px) and (orientation: landscape) {
  .menu {
    margin-top: -26px !important; /* Skuif dit af vanaf -45px na slegs -10px */
  }
}

/* ======================================================
   ADMIN PAGE
====================================================== */

.admin-page .province-section{
    background:#fff;
    border-radius:16px;
    padding:20px;
    margin-bottom:25px;
    box-shadow:0 4px 14px rgba(0,0,0,0.06);
    border:1px solid #eee;
}

.admin-page .province-title{
    margin:0 0 15px;
	font-family: 'Open Sans', sans-serif;
    font-size:18px;
    font-weight:normal;
    color:#446C34;
    padding-bottom:10px;
    border-bottom:2px solid #f0f0f0;
}

.admin-page .province-card{
    background:#fafafa;
    border:1px solid #eee;
    border-radius:12px;
    padding:14px 16px;
    margin-bottom:10px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

/* last item spacing fix */
.admin-page .province-card:last-child{
    margin-bottom:0;
}

.admin-page .province-name{
    font-weight:normal;
    color:#333;
}

.admin-page .province-actions{
    display:flex;
    gap:10px;
}

.admin-page .btn{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:8px 12px;
    border-radius:8px;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
}

.admin-page .btn-edit{
    background: linear-gradient(135deg, #8faa80, #6e8d63);
    color:#fff;
}

.admin-page .btn-delete{
    background: linear-gradient(135deg, #5fb0ea, #3c8fd1);
    color:#fff;
}

.admin-page .btn-edit:hover{
    background: linear-gradient(135deg, #9fbb90, #7c9b70);
}
.admin-page .btn-delete:hover{
    background: linear-gradient(135deg, #6fc0f5, #4a9fe0);
}

.admin-page .btn:hover{
    opacity:0.95;
}

.admin-topbar{
    display:flex;
    justify-content:flex-end; /* druk alles regs */
    align-items:center;
    margin-bottom:20px;
}

.logout-link{
    color:#446C34;
    text-decoration:none;
    font-weight:normal;
    display:inline-flex;
    align-items:center;
    gap:5px;
}

.logout-link:hover{
    opacity:0.8;
}

/* ======================================================
   EDIT PAGE
====================================================== */

.edit-page .edit-form{
    background:#fff;
    padding:30px;
    border-radius:16px;
    border:1px solid #e5e5e5;
    box-shadow:0 4px 14px rgba(0,0,0,0.06);
	font-family: 'Open Sans', sans-serif;
    display:flex;
    flex-direction:column;
    gap:15px;
}

.edit-page .edit-form input,
.edit-page .edit-form select{
    width:100%;
}

.edit-page h1{
    margin-bottom:20px;
}

.edit-page .edit-form button{
    background:#446C34;
}

.edit-page .edit-form button:hover{
    opacity:0.9;
}

.edit-page .back-btn{
    margin-top:20px;
    display:inline-flex;
}

.contact-form .input-group {
    position: relative;
}

.contact-form .input-group i {
    position: absolute;
    left: 12px;
    top: 14px;
    transform: none;
    color: #888;
    pointer-events: none;
    font-size: 18px;
}

.contact-form .input-group input,
.contact-form .input-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 15px 12px 40px; 
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 18px;
    font-family: inherit;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.province-section{ 
	margin-bottom: 35px; 
	text-align: center; 
}

.province-title{
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: #446C34;
    margin-bottom: 20px;
}

.province-title::before,
.province-title::after{
    content: "";
    flex: 1;
    height: 2px;
    background: #d6e2cf;
    margin: 0 12px;
}

.listing-card h3{
    text-align:left;
    font-size:24px;
    margin-bottom:18px;
    padding-bottom:12px;
    border-bottom:3px solid #0070C0;
}

.admin-page .province-card,
.admin-page .province-name{
    text-align: left !important;
}

/* Die houer vir die insetveld en sy ikoon */ 
.edit-form .form-group { 
  position: relative; 
  
  width: 100%; 
} 

/* Posisioneer die ikoon binne-in die input/select boks */ 
.edit-form .form-group .form-icon { 
  position: absolute; 
  left: 16px; /* Skuif na 16px vir addlisting belyning */ 
  top: 50%; 
  transform: translateY(-50%); 
  color: #888888; 
  font-size: 16px; /* Groter gemaak om te pas by addlisting */ 
  pointer-events: none; 
  z-index: 2; 
} 

/* Pas inputs en select aan om die groot ronde hoeke te kry */ 
.edit-form .form-group input, 
.edit-form .form-group select { 
  width: 100%; 
  font-family: inherit; 
  font-size: 16px !important; /* Pas aan by addlisting skrifgrootte */ 
  padding: 14px 12px 14px 45px !important; /* Skuif teks regs om plek te maak vir ikoon */ 
  border: 1px solid #ccc; 
  border-radius: var(--radius) !important; /* Dwing die 16px ronde hoeke */ 
  box-sizing: border-box; 
} 

/* Spesifieke wit agtergrond en styl vir die provinsie dropdown */ 
.edit-form .form-group select { 
  background-color: #ffffff !important; 
  color: #333333; 
  cursor: pointer; 
  appearance: none; 
  -webkit-appearance: none; 
  -moz-appearance: none; 
  /* Gebruik dieselfde grys dropdown-pyltjie as addlisting */ 
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://w3.org' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>") !important; 
  background-repeat: no-repeat !important; 
  background-position: right 16px center !important; 
  padding-right: 40px !important; 
} 

/* Pas die stoor-knoppie aan om by die velde se nuwe grootte te pas */ 
.edit-page .edit-form button.btn-send { 
  border-radius: 8px !important; /* Knoppies op jou webtuiste het 'n 8px border-radius */ 
  padding: 14px !important; /* Selfde dikte as addlisting se knoppie */ 
  font-size: 16px !important; 
}

/* ================================
   SIMPLE CLEAN MENU
================================ */

.menu {
    background: linear-gradient(90deg, #77946B, #5f7655);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	position: relative;
    z-index: 10;

    /* ?? trek menu op oor image */
    margin-top: -20px;
	border-radius: 0 0 12px 12px; /* ?? net onder rond */
}

.header {
    position: relative;
    z-index: 1;
}

.header img {
    display: block;
    width: 100%;
}

.header .photo {
    display: block;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.menu-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
}

/* LINKS */
.menu a,
.dropbtn {
    color: #fff;
	font-weight: 400 !important;
    text-decoration: none;
    padding: 10px 14px;
    font-size: 18px;
    border-radius: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu a:hover,
.dropbtn:hover {
    background: rgba(255,255,255,0.15);
}

/* DROPDOWN */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;

    background: #fff;
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    overflow: hidden;
}

.dropdown-content a {
    display: block;
    color: #333;
    padding: 10px 14px;
}

.dropdown-content a:hover {
    background: #f2f2f2;
}

.info-box1 {
    margin-top: 20px;
}

.menu-toggle {
    display: none;
}

/* ================================
   MOBILE MENU
================================ */

@media (max-width: 768px) {

    /* MENU WRAPPER */
    .menu {
        position: relative;
        z-index: 9999;
        margin-top: -45px;
    }

    /* HAMBURGER BUTTON */
    .menu-toggle{
        display: block;
        width: 100%;
        padding: 12px 16px;
        background: none;
        border: none;
        color: #fff;
        font-size: 18px;
        text-align: left;
        cursor: pointer;
    }

    /* MENU DEFAULT = TOE */
    .menu-inner{
        display: none;
        flex-direction: column;
        width: 100%;
        align-items: stretch;
		gap: 0;
    }

    /* MENU OPEN */
    .menu.open .menu-inner{
        display: flex;
    }

    /* LINKS */
    .menu-inner a,
    .menu-inner .dropdown {
        width: 100%;
    }

    .menu-inner a {
        display: block;
        padding: 10px 16px;  /* was 12px+ ? now tighter */
        font-size: 16px;     /* slightly smaller for compact feel */
        line-height: 1.2;
    }

    /* DROPDOWN WRAPPER */
    .dropdown {
        width: 100%;
    }

    /* DROPDOWN BUTTON */
    .dropbtn {
        width: 100%;
        text-align: left;
        padding: 10px 16px;  /* was 12px+ ? now tighter */
        font-size: 16px;     /* slightly smaller for compact feel */
        line-height: 1.2;
        background: none;
        border: none;
        color: #fff;
        cursor: pointer;
    }
	
	/* BELANGRIKE FIX */
    .dropdown-content {
        display: none;
        position: relative !important; /* force override van desktop */
        top: auto;
        left: auto;
        width: 100%;
        margin: 0;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.18);
    }

    /* OPEN STATE */
    .dropdown.open .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        display: block;
        color: #fff;
        padding: 12px 30px;
    }

    /* DISABLE HOVER ON MOBILE */
    .dropdown:hover .dropdown-content {
        display: none !important;
    }
}

/* SHOW DROPDOWN */
@media (min-width: 769px) {
    .dropdown:hover .dropdown-content {
        display: block;
    }
}

/* ================================
   DEFAULT (DESKTOP)
================================ */
.mobile-provinces {
    display: none;
}

.desktop-only {
    display: block;
}

/* ================================
   MOBILE
================================ */
@media (max-width: 768px) {

    /* hide desktop dropdown */
    .desktop-only {
        display: none !important;
    }

    /* show mobile accordion */
    .mobile-provinces {
        display: block;
        width: 100%;
        color: #fff;
    }

    .mobile-provinces summary {
        padding: 10px 16px;
        font-size: 16px;
        cursor: pointer;
        list-style: none;
        color: #fff;
        user-select: none;
    }
	
	/* remove default arrow */
    .mobile-provinces summary::-webkit-details-marker {
        display: none;
    }

	.menu-inner a,
    .dropdown,
    .mobile-provinces {
        margin: 0;
    }
	
    .mobile-provinces a {
        display: block;
        padding: 10px 22px;
        color: #fff;
        text-decoration: none;

        background: linear-gradient(
            135deg,
            rgba(119, 148, 107, 0.95),
            rgba(95, 118, 85, 0.85)
        );

        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
	
	.mobile-provinces a {
        padding-left: 38px; /* was 22px ? now more right */
        position: relative;
    }
	
	/* optional: subtle indicator line for structure */
    .mobile-provinces a::before {
        content: "";
        position: absolute;
        left: 22px;
        top: 50%;
        transform: translateY(-50%);
        width: 6px;
        height: 6px;
        background: rgba(255,255,255,0.6);
        border-radius: 50%;
    }

    /* CLOSED STATE */
    .mobile-provinces > *:not(summary) {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-6px);
        transition: all 0.3s ease;
    }

    /* OPEN STATE */
    .mobile-provinces[open] > *:not(summary) {
        max-height: 500px;
        opacity: 1;
        transform: translateY(0);
    }
}

    .mobile-provinces a:hover {
    background: linear-gradient(
        135deg,
        rgba(140, 170, 125, 0.95),
        rgba(110, 135, 100, 0.9)
    );
}

.outro {
    display: none;
    margin-top: 0;
}

.outro.open {
    display: block;
    margin-top: 20px; /* ?? mooi “ruimte tussen paragrawe” */
}

/* Read more teks */
.read-more {
    display: block;
	text-align: right;
    margin-top: 15px;
    color: #446C34;
    cursor: pointer;
	font-size: 14px;
    font-weight: 500;
    user-select: none;
}

.read-more:hover {
    text-decoration: none;
}

.read-more .arrow {
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.outro {
    display: none;
    margin-top: 0;
}

.outro.open {
    display: block;
    margin-top: 20px; /* dit gee jou die “reël oop” gevoel */
}

.info-box1 > h1 {
    display: block;
    font-size: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid #0070C0;
    margin-bottom: 15px;
    text-align: left;
    color: #111;
    font-weight: 700;
}

/* ====================================================== 
   MENU SEARCH BAR
====================================================== */ 
/* Maak seker die menu belyn korrek en druk search regs op desktop */
@media (min-width: 769px) {
    .menu-inner {
        display: flex;
        align-items: center;
        width: 100%;
    }
    .menu-search-form {
        margin-left: auto; /* Druk die search bar na die regterkant toe */
        display: block !important;
    }
}

/* Stileer die soek-groep boksie */
.search-group {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    padding: 3px;
    width: 100%;
    max-width: 320px;
}

/* Die vergrootglas icon */
.search-group .search-icon {
    position: absolute;
    left: 12px;
    color: #888;
    pointer-events: none;
    font-size: 16px;
}

/* Die input veld self */
.search-group input {
    width: 100% !important;
    padding: 8px 10px 8px 35px !important;
    border: none !important;
    font-size: 15px !important;
    font-family: 'Open Sans', sans-serif !important;
    outline: none !important;
    background: transparent !important;
}

/* Die klein soek knoppie binne die balk */
.btn-search-submit {
    background: #446C34 !important; /* Pas by jou platform se groen */
    color: #fff !important;
    border: none !important;
    padding: 8px 14px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease;
}

.btn-search-submit:hover {
    background: #355428 !important;
}