/* ==========================================
   NOSEY TATTLETAILS CANINE MOLD DETECTION
   Main Stylesheet
   Version 1.0
========================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

/* ===========================
   ROOT VARIABLES
=========================== */

:root{

    --primary:#476A4A;
    --primary-light:#6D8B70;
    --primary-dark:#2F4732;

    --secondary:#d8e2d9;
    --secondary-light:#c3cfc4;
    --secondary-dark:#55b662;

    --accent:#E78DB4;

    --gold:#D4AF37;

    --background:#F8F9F7;
    --white:#ffffff;

    --text:#2F3437;
    --text-light:#666;

    --border:#E6E6E6;

    --shadow:0 10px 30px rgba(0,0,0,.08);

    --radius:16px;

    --transition:.35s ease;

    --max-width:1200px;

}

/* ===========================
   RESET
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Inter',sans-serif;

    background:var(--background);

    color:var(--text);

    line-height:1.7;

    font-size:18px;

}

/* ===========================
   TYPOGRAPHY
=========================== */

h1,h2,h3,h4{

    font-family:'Playfair Display',serif;

    color:var(--primary-dark);

    line-height:1.2;

    margin-bottom:20px;

}

h1{

    font-size:3.8rem;

}

h2{

    font-size:2.8rem;

}

h3{

    font-size:1.7rem;

}

p{

    margin-bottom:20px;

    color:var(--text-light);

}

a{

    color:inherit;

    text-decoration:none;

}

/* ===========================
   LAYOUT
=========================== */

.container{

    width:90%;

    max-width:var(--max-width);

    margin:auto;

}

section{

    padding:100px 0;

}


/* ===========================
   TABBED VIEW v1 - SHOWING MONICA DIFFERENT VERSIONS
=========================== */

  /* Base wrapper container clear of the fixed header */
  .tabs-container {
    display: block;
    width: 100%;
    box-sizing: border-box;
    font-family: sans-serif;
    margin-top: 150px !important; /* Pushes tabs beneath your fixed navigation bar */
    position: relative;
  }

  /* Hide the system radio check nodes */
  .tab-input {
    display: none !important;
  }

  /* Style the labels to stack side-by-side horizontally */
  .tab-label {
    display: inline-block;
    padding: 10px 20px;
    background: #e0e0e0;
    cursor: pointer;
    border: 1px solid #ccc;
    border-bottom: none;
    margin-right: 4px;
    border-radius: 4px 4px 0 0;
    user-select: none;
  }

  /* Structural Panel Container Reset */
  .tabs-panels-wrapper {
    width: 100%;
    display: block;
    margin-top: -1px; /* Blends nicely against the active tab bottom border */
  }

  /* Hide all panels strictly by default */
  .tab-panel {
    display: none;
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    border: 1px solid #ccc;
    background: #fff;
  }

  /* Core Logic Engine: Looks forward through the code structure to show active panel */
  #tab1:checked ~ .tabs-panels-wrapper #panel1,
  #tab2:checked ~ .tabs-panels-wrapper #panel2,
  #tab3:checked ~ .tabs-panels-wrapper #panel3 {
    display: block !important;
  }

  /* Active Horizontal Tab Indicator Rule */
  #tab1:checked + .tab-label,
  #tab2:checked + .tab-label,
  #tab3:checked + .tab-label {
    background: #fff;
    font-weight: bold;
    border-bottom: 1px solid #fff;
    position: relative;
    z-index: 2;
  }

/* ===========================
   POSITIONING
=========================== */



/* ===========================
   NAVIGATION
=========================== */

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:999;

    background:rgba(255,255,255,.92);

    backdrop-filter:blur(12px);

    border-bottom:1px solid rgba(0,0,0,.06);

}

nav{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:115px;

}

.logo{

    font-family:'Playfair Display',serif;

    color:var(--primary);

    font-size:1.7rem;

    font-weight:bold;

}

.logo span{

    color:var(--accent);

}

.menu{

    display:flex;

    gap:35px;

    list-style:none;

}

.menu a{

    font-weight:600;

    transition:var(--transition);

}

.menu a:hover{

    color:var(--primary);

}

/* ===========================
   BUTTONS
=========================== */

.btn{

    display:inline-block;

    padding:15px 34px;

    border-radius:40px;

    font-weight:600;

    transition:var(--transition);

    cursor:pointer;

}

.btn-primary{

    background:var(--primary);

    color:white;

}

.btn-primary:hover{

    background:var(--primary-dark);

    transform:translateY(-3px);

}

/* Secondary Button */

.btn-secondary{

    display:inline-block;

    padding:15px 34px;

    border:2px solid var(--primary);

    border-radius:40px;

    background:transparent;

    color:var(--primary);

    font-weight:600;

    transition:all .35s ease;

}

.btn-secondary:hover{

    background:var(--primary);

    color:white;

    transform:translateY(-3px);

    box-shadow:0 10px 25px rgba(0,0,0,.15);

}

/* ===========================
   HERO
=========================== */

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    background:#EEF3EE;

    padding-top:90px;

}

.hero-versioned{

    min-height:80vh;

    display:flex;

    align-items:center;

    background:#EEF3EE;

    padding-top:90px;

}

.hero-grid{

    display:grid;

    grid-template-columns:1.1fr .9fr;

    gap:80px;

    align-items:center;

}

.hero h1{

    margin-bottom:25px;

}

.hero p{

    font-size:1.2rem;

    margin-bottom:35px;

}

.hero img{

    width:100%;

    border-radius:30px;

    box-shadow:var(--shadow);

}

/* ==========================================
   FULL SCREEN HERO
========================================== */

.hero-image{

    height:100vh;

	padding-top: 150px;   /* Adjust to match navbar height */

    background-image:
        linear-gradient(
            rgba(0,0,0,.45),
            rgba(0,0,0,.45)
        ),
        url("../assets/mac-gaither-4jWvGIi8ZDg-unsplash.jpg");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    display:flex;

    align-items:center;

}

.hero-overlay{

    width:100%;

}

.hero-content{

    max-width:700px;

    color:white;

}

.hero-content h1{

    color:white;

    font-size:clamp(2.4rem, 6vw, 4.5rem);

    line-height:1.1;

    margin-bottom:20px;

}

.hero-content h2{

    color:white;

    font-size:2rem;

    font-weight:500;

    margin-bottom:30px;

}

.hero-content p{

    color:rgba(255,255,255,.95);

    font-size:1.2rem;

    line-height:1.8;

    margin-bottom:40px;

    max-width:650px;

}

.hero-buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}

/* ===========================
   CARDS
=========================== */

.card{

    background:white;

    border-radius:var(--radius);

    padding:40px;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.card:hover{

    transform:translateY(-8px);

}

/* ===========================
   GRID
=========================== */

.grid-2{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:40px;

}

.grid-3{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

/* ===========================
   ICON BOX
=========================== */

.icon{

    width:70px;

    height:70px;

    border-radius:50%;

    background:#EDF5EE;

    display:flex;

    align-items:center;

    justify-content:center;

    color:var(--primary);

    font-size:1.6rem;

    margin-bottom:20px;

}

/* ===========================
   RIVER SAYS
=========================== */

.river{

    background:#FFF8FB;

    border-left:6px solid var(--accent);

    padding:30px;

    border-radius:15px;

    margin:60px 0;

    box-shadow:var(--shadow);

}

.river h4{

    color:var(--accent);

    margin-bottom:12px;

}

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

.cta{

    background:var(--primary);

    color:white;

    text-align:center;

    border-radius:25px;

    padding:80px 60px;

}

.cta h2{

    color:white;

}

.cta p{

    color:rgba(255,255,255,.85);

}

.cta a{
	
    color:rgba(255,255,255,.85);

}

/* White Outline Button (for dark backgrounds) */

.cta .btn-secondary{

    border:2px solid white;

    color:white;

    background:transparent;

}

.cta .btn-secondary:hover{

    background:white;

    color:var(--primary);

    transform:translateY(-3px);

    box-shadow:0 12px 30px rgba(0,0,0,.20);

}

/* ==========================================
   CONTACT FORM
========================================== */

form{

display:flex;

flex-direction:column;

gap:18px;

margin-top:25px;

}

label{

font-weight:600;

color:var(--primary-dark);

}

input,
select,
textarea{

padding:14px 16px;

font-size:16px;

font-family:inherit;

border:1px solid #D9D9D9;

border-radius:10px;

background:white;

transition:all .3s ease;

}

input:focus,
select:focus,
textarea:focus{

outline:none;

border-color:var(--primary);

box-shadow:0 0 0 3px rgba(71,106,74,.15);

}

textarea{

resize:vertical;

min-height:160px;

}

/* ===========================
   FOOTER
=========================== */

footer{

    background:#233326;

    color:white;

    padding:70px 0;

}

footer p{

    color:rgba(255,255,255,.7);

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:50px;

}

.footer-links{

    list-style:none;

}

.footer-links li{

    margin-bottom:12px;

}

.footer-links a{

    color:white;

}

.footer-links a:hover{

    color:#BFE0C3;

}

/* ===========================
   ANIMATIONS
=========================== */

.fade{

    opacity:0;

    transform:translateY(40px);

    transition:1s;

}

.fade.show{

    opacity:1;

    transform:translateY(0);

}

/* ===========================
   UTILITIES
=========================== */

.center{

    text-align:center;

}

.mt-1{

    margin-top:20px;

}

.mt-2{

    margin-top:40px;

}

.mt-3{

    margin-top:60px;

}

.mb-1{

    margin-bottom:20px;

}

.mb-2{

    margin-bottom:40px;

}

.mb-3{

    margin-bottom:60px;

}

/* ===========================
   MOBILE
=========================== */

@media(max-width:900px){

.hero-grid,
.grid-2,
.grid-3,
.footer-grid{

grid-template-columns:1fr;

}

.menu{

display:none;

}

h1{

font-size:2.5rem;

}

h2{

font-size:2rem;

}

section{

padding:70px 0;

}

.hero{

text-align:center;

}

.hero-image{
	
    align-items:start;

}

}