/* ============================================
   GLOBAL RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.4;
    color: #373d36;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
/*    background-color: #687653; */
    background: none !important;
}

body {
    font-size: 1rem;
    line-height: 1.4;
    color: #373d36;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
/*    background-color: #687653; */
    background: none;
}

p {
    white-space: normal;
}

/* ============================================
   DIFFERENT BODY FOR THE HOME PAGE AND ALL INNER PAGES
   ============================================ */

body.home header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    background: transparent;
}

/* Home page */
body.home {
    background: none;
}

/* Inner pages */
body.inner {
    background: url("../images/MerciIsleBG.jpg") no-repeat center top fixed;
    background-size: cover;
}

footer {
    width: fit-content;
    border-radius: 8px;
    margin: 0 auto;
    text-align: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.4);
    font-size: .8rem;
    font-style: italic;
    color: #fff;
}

.social-icons {
    text-align: center;
    margin-top: 20px;
}

.icon-block {
    background: #ffffff;          /* white block */
    padding: 14px;                /* size of the block */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;           /* optional rounded corners */
    margin: 0 10px;               /* spacing between blocks */
    text-decoration: none;
}

.icon-block i {
    font-size: 2rem;              /* make icons bigger */
    color: #333;                  /* icon color */
    transition: color 0.3s ease;
}

.icon-block:hover i {
    color: #555;
}

/* Facebook icon color */
.icon-block.facebook i {
    color: #1877F2;
    font-size: 2rem;
}

/* Instagram icon color */
.icon-block.instagram i {
    color: #E4405F;
    font-size: 2rem;
}

/* No longer needed
body.inner #contentbg {
    background-image: url(../images/main-bg50-3.jpg);
}
*/

.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-slider .slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;      /* or "contain" if you want zero cropping */
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

/* Default: show landscape slides */
.hero-slider .portrait { display: none; }

/* Portrait mode: show portrait slides instead */
@media screen and (orientation: portrait) {
    .hero-slider .landscape { display: none; }
    .hero-slider .portrait { display: block; }
}

/* Old slider system. Now using hero
body.home #supersized {
    top: 0 !important;
}
*/

.right {
    margin: 10px !important;
    float: right;
}

.left {
    margin: 10px !important;
    float: left;
}

.center {
	text-align:center !important;
}

/* ============================================
   LINKS
   ============================================ */
a {
    color: #1E1E11;
    text-decoration: underline;
}

a:hover {
    color: #d11f22;
}

.dog-options {
	height: 86px;
 	border: 2px solid #d3cec5;
	max-width: 380px;
    display: flex;
    flex-direction: row;
    gap: 10px;        /* adjust spacing as needed */
    padding: 0;
    margin: 0 auto;
    list-style: none;
}

.dog-options > li {
	width: 32%;
	height: 100%;
	margin-top: 10px;
	margin-left: 5px;
	font-family: 'Montserrat', sans-serif;
	font-size: 1.12rem;
	color: #fff;
	float: left;
	position: relative;
	display: block;
	list-style-type: none;
}

.dog-options > li a {
	color: #fff;
	margin-top: 3px;
}

.dog-options li > span {
	font-size: 1.375rem;
	line-height: 3.76;
	text-indent: 0;
	text-align: center;
	color: #000;
}


.dogname {
font-family: 'Montserrat', sans-serif;
font-size: 1.375rem;
color: #fff;
}

img {
vertical-align: middle;
}


/* ============================================
   HEADINGS
   ============================================ */
h1 {
    color: #6b5440;
    font-size: 2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-align: center;
}

h2 {
    font-size: 1.8rem;
    color: #6b5440;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-align: center;
    margin: .24em 0;
}

h3 {
    font-size: 1.3rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
}

/* ============================================
   RESPONSIVE FULL-WIDTH NAVIGATION
   ============================================ */

/* NAV BAR */
header {
    width: 100%;
    margin: 0;
    padding-top: 0;
    position: relative;
}

/* MAIN NAV: flex row, logo is a normal item */
nav.main-nav {
    width: 100%;
    background: url(../images/navbarbg.png) repeat-x center;
    display: flex;
    align-items: center;
    justify-content: center;   /* center the whole row */
    padding: 12px 40px;
}

/* LEFT/RIGHT MENU GROUPS */
.nav-left,
.nav-right {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-left li a,
.nav-right li a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #fff;
    padding: 6px 4px;
    text-decoration: none;
}

.main-nav a {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    transition: opacity .25s ease;
    line-height: 1.4;
}

.main-nav a:hover {
    opacity: 0.7;
}

/* LOGO AS FLEX ITEM (NO absolute positioning) */
.logo {
    display: block;
    background: url(../images/logo.png) no-repeat center;
    background-size: contain;
    width: 400px;
    height: 240px;
/*    transition: transform .25s ease; */

    /* REMOVE absolute positioning */
    position: static;
    left: auto;
    transform: none;
}

.g-recaptcha {
    min-width: 304px;
    margin: 20px 0;
}

/* MOBILE: hide left/right, show hamburger, don't float images */
@media (max-width: 768px) {
    /* Hide desktop menus */
    .nav-left,
    .nav-right {
        display: none;
    }
    .alpha80 img {
        float: none;
        margin: 0 auto;
        max-width: 100%;
    }

    /* Show hamburger */
    .hamburger {
        display: flex !important;
        z-index: 999999;
    }

    .hamburger span {
        background: #fff !important;
    }
    /* Mobile nav layout */
    nav.main-nav {
        justify-content: flex-start;   /* hamburger + logo */
        gap: 20px;
        padding: 12px 20px;
        min-height: 100px;             /* smaller bar */
    }

    /* Mobile logo */
    .logo {
        width: 150px;
        height: 100px;
        margin: 0;                     /* remove desktop spacing */
    }

    /* Scroll shrink still works */
    body.scrolled .logo {
        width: 100px;
        height: 70px;
    }
}

/* ============================================
   HAMBURGER MENU (MOBILE)
   ============================================ */

.hamburger {
    display: none;
    width: 32px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 2000;
}

.hamburger span {
    display: block;
    height: 4px;
    background: #fff;
    border-radius: 2px;
}

/* SLIDE-IN MENU PANEL */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -260px;
    width: 260px;
    height: 100vh;
    background: rgba(0,0,0,0.9);
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: right .35s ease;
    z-index: 1500;
}

.mobile-menu a {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
}

.mobile-menu.open {
    right: 0;
}

/* ============================================
   CONTENT WRAPPERS (MODERNIZED)
   ============================================ */
.alpha80 {
    width: 100%;
    max-width: 1098px;
    padding: 20px;
    margin: 0 auto;
	background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
}

.alpha35 {
    width: 100%;
    max-width: 1098px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.35);
}

/* Old
#contentbg {
    width: 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: 50% 0%;
}
*/

/* Center all content inside .contentbg */
.contentbg {
    text-align: center;
}

/* But keep paragraph text left‑aligned */
.contentbg p {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
    margin-top: 0.6em;
}
/* Center images AND give them a white border */
.contentbg img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 8px solid #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    margin: auto;
}

.dog-pair {
    display: flex;
    justify-content: center;
    align-items: center;   /* <-- THIS vertically aligns the centers */
    gap: 40px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.dog {
    text-align: center;
}

.dog img {
    width: 300px;
    height: auto;
    border: 8px solid #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.dog h3 {
    color: inherit;
    margin-top: 10px;
    font-weight: 600;
}

.pedigree-link {
    text-align: center;
    margin-top: 20px;
}

.pedigree-link a {
    display: inline-block;      /* shrink-wrap around icon + text */
    background: rgba(66, 44, 44, 0.6);        /* dark block */
    color: #fff;                /* white text */
    padding: 10px 14px;         /* small buffer around icon + text */
    border-radius: 6px;         /* optional: remove if you want sharp corners */
    text-decoration: none;
}

.pedigree-link img {
    width: 45px;
    height: auto;
    display: block;
    margin: 0 auto 6px auto;    /* small space between icon and text */

    border: none !important;    /* override global image border */
    box-shadow: none !important;
    background: none !important;
    padding: 0;
}


.pagewrap {
    display: flex;
    justify-content: center;
    width: 100%;
}

.contentwrap {
    width: 100%;
    max-width: 1098px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ============================================
   DOG PAGE, NEWS PAGE, PUPPY PAGE, ETC.
   (All your original styles preserved)
   ============================================ */

#dogpage {
    width: 710px;
    padding-top: 50px;
    margin: 0 auto;
}

#newspage {
    max-width: 710px;   /* keeps your design look */
    width: 100%;        /* allows shrinking on mobile */
    margin: 0 auto;
    padding: 0 10px;    /* prevents text from touching edges */
}

#puppypage {
    width: 850px;
    padding-top: 80px;
    margin: 0 auto;
}

#puppypage a {
color:#6b5440;
}


#puppypage img {
margin: 10px 18px;
border: 10px solid #fff;
-webkit-box-shadow: 4px 4px 4px rgba(0,0,0,0.5);
-moz-box-shadow: 4px 4px 4px rgba(0,0,0,0.5);
box-shadow: 4px 4px 4px rgba(0,0,0,0.5);
}

.imglg {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 10px auto;
}

/* News items */
.news-item {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-item .date {
    font-style: italic;
    color: #666;
}

/* Dog grids, pedigree boxes, thumbnails, etc. */
.grid {
    text-align: center;
    padding-top: 10px;
    width: 100%;
    height: auto;
}

.grid p {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 80%;
}

.grid h3 {
	/*font-family:'Podkova', serif;*/
	font-family: 'Montserrat', sans-serif;
	text-align: center;
	font-size: 2.25em; /*36px*/
	margin: 20px;
}

.dogimg {
    margin: 10px;
    border: 10px solid #dbd3be;
    box-shadow: 4px 4px 4px rgba(0,0,0,0.5);
}

.thumbnail {
    display: inline-block;
    margin: 10px 10px 35px;
    vertical-align: top;
}

/* Popup */
.white-popup {
    background: #F3f3f3;
    padding: 40px;
    max-width: 500px;
    margin: 20px auto;
}

/* Clearfix */
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.application-form {
    max-width: 900px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}

.form-col {
    flex: 1;
    min-width: 260px;
}

.form-col label {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.forms,
textarea.forms,
select.forms {
    width: 100%;
    padding: 10px 12px;
    font-size: 1rem;
    border: 1px solid #bbb;
    border-radius: 4px;
    background: #fff;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkbox-group label {
    font-weight: normal;
}

textarea.forms {
    resize: vertical;
}

.required {
    font-size: 0.9rem;
    color: #900;
}

.instruction {
    font-size: 0.9rem;
    line-height: 1.4;
}

.form-col.error input,
.form-col.error select,
.form-col.error textarea {
    border: 2px solid #c00;
    background: #ffecec;
}

.form-col.error label {
    color: #c00;
}

.error-message {
    color: #c00;
    font-size: 0.85rem;
    margin-top: 4px;
}

.form-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.form-buttons input[type="submit"],
.form-buttons input[type="button"] {
    width: auto;              /* override .forms */
    padding: 10px 20px;
    border-radius: 6px;
    border: 1px solid #444;
    background: #eee;
    cursor: pointer;
    font-size: 1rem;
}

.form-buttons input[type="submit"]:hover,
.form-buttons input[type="button"]:hover {
    background: #ddd;
}
