/* CSS Document */

/*

Theme Name: Christiansen Oral Surgery

Theme URI: christiansenoralsurgery.com

Description: A WordPress theme.

Author: Kellie Hatch

Author URI: https://christiansenoralsurgery.com

Version: 1.0

*/

* {margin: 0; padding: 0;  box-sizing: border-box;
    font-family: "Montserrat", sans-serif; font-weight: 400; background-repeat: no-repeat; }
div,
section { background-repeat:no-repeat;}
body { background-color:#f4f4f4; font-family: "Montserrat", sans-serif; max-width: 100%; color: #333333; min-width: 320px; display: block; margin: 0; padding: 0; -webkit-text-size-adjust:100%; -webkit-font-smoothing: antialiased;  -moz-osx-font-smoothing: grayscale; line-height: 1.6; font-size: 16px; background-repeat:no-repeat; }
header { position: fixed; top: 0; left: 0; width:100%; z-index: 1000; padding: 25px 0; transition:all 0.4s ease-in-out;  background: transparent; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd {
    margin-block-end: 0;
}
h1, h2, h3, h4 { text-wrap:balance; line-height: 1.2; }
html { scroll-behavior: smooth; }
p { margin-bottom:10px; }
ul.bulleted {  margin-left: 45px; margin-bottom: 20px; }
hr.shortBlueLine { margin:20px 0; color: #003360; border:2px solid;  max-width:80px; }
a,
p a {color:#003360;}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
img { max-width:100%; }
/* Scrolled State */
header.scrolled,
header.menu-open {  background:#003360; padding:15px 0; box-shadow:0 4px 10px rgba(0, 0, 0, 0.1); }
.header-container {  max-width:1200px; margin:0 auto; padding:0 30px; display:flex;  justify-content: space-between;  align-items: center; }
header.blueHeader { background:#003360; }
/* Logo Styles */
.logo { text-decoration:none; transition:color 0.4s ease; z-index: 1001; position: relative;}
.logo img { width:300px;  }
/* --- Hamburger Menu Button --- */
.menu-toggle {  background: none; border:none; cursor:pointer; display:flex; flex-direction: column; gap:6px; z-index: 1001; position:relative; }
.menu-toggle .bar { display:block; width:30px; height:2px; background-color: #ffffff; transition: all 0.3s ease; }
header.scrolled .menu-toggle .bar { background-color: #fff; }
header.scrolled .headerRightCon .btn {  border-color: #fff; }
.menu-toggle.active .bar:nth-child(1) { transform:translateY(8px) rotate(45deg);   background-color: #fff; }
.menu-toggle.active .bar:nth-child(2) { opacity: 0;}
.menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg);   background-color:#fff; }

/* --- Fullscreen Menu Overlay --- */
.fullscreen-menu { position:fixed; top:0; left:0; width:100%; height:100vh;
    background-color:#ffffff; display:flex; justify-content:center; visibility: hidden; opacity:0; transition:all 0.4s ease-in-out; padding:100px; z-index:999; }

.fullscreen-menu.active { visibility:visible; opacity:1; }
.headerRightCon { display:flex; flex-wrap: wrap; justify-content: space-around;align-items:center; gap:20px; }
.menu-links {  list-style: none; text-align:center; }
.menu-links li {  margin:10px 0; overflow:hidden; }

.menu-links a { text-decoration: none; font-size:24px; color:#333333;
    font-weight:400; display:inline-block; transition: color 0.3s ease; transform: translateY(100%); opacity:0; }
.menu-links a:hover { color:#17365F; }

/* Link Reveal Animation - triggered when parent has .active */
.fullscreen-menu.active .menu-links a {
    transform: translateY(0); opacity:1; transition:transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

/* Stagger the delay for each link so they don't load at the same time */
.fullscreen-menu.active .menu-links li:nth-child(1) a { transition-delay: 0.1s; }
.fullscreen-menu.active .menu-links li:nth-child(2) a { transition-delay: 0.2s; }
.fullscreen-menu.active .menu-links li:nth-child(3) a { transition-delay: 0.3s; }
.fullscreen-menu.active .menu-links li:nth-child(4) a { transition-delay: 0.4s; }
.fullscreen-menu.active .menu-links li:nth-child(5) a { transition-delay: 0.5s; }
.fullscreen-menu.active .menu-links li:nth-child(6) a { transition-delay: 0.6s; }


.btn { display:inline-block; background-color:#17365F; color: #ffffff; padding:12px 30px;font-size:14px;font-weight:500;text-decoration: none; text-transform: uppercase; letter-spacing:1px; border-radius:50px; border:2px solid #17365F; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); margin: 0 5px; text-align: center;}
/* The Hover Animation */
.btn:hover { background-color:#17365f80; transform:translateY(-4px); box-shadow: 0 10px 20px rgba(23, 54, 95, 0.25);  }
.btn:active { transform:translateY(-1px); box-shadow:0 5px 10px rgba(23, 54, 95, 0.2); }
.btn.whiteBtn { background-color:#fff; color: #17365F; border:2px solid #fff;  }
.btn.whiteBtn:hover { background-color:#ffffffde; border:2px solid #17365F; }
.btn.whtieOutlineBtn { background-color:transparent; color: #fff; border:2px solid #fff; }
.btn.whtieOutlineBtn:hover { background-color:#fff; color:#17365F; border:2px solid #17365F; }
.btn.blueOutlineBtn { background-color:transparent; color: #17365F; border:2px solid #17365F; }
.btn.blueOutlineBtn:hover { background-color:#17365F; color:#fff; border:2px solid #17365F; }
.btnSmall {  padding:6px 10px;font-size:13px; }
.pageWidth { max-width:1200px; margin:0 auto; }
.textalt { font-family: "Cormorant Garamond", serif; font-weight: 600; }
a { text-decoration:none; }
p a:hover:not(.btn) { text-decoration:underline; }
.white,
a.white { color:#fff; }
.blue { color:#17365F; }
.black { color:#333333; }
.bgBlue { background-color:#17365F; }
.bgDarkBlue { background-color:#102642;  }
.bgWhite { background-color:#fff;  }
.topSpacing { margin-top:20px; }
.textsml,
small { font-size:13px; }
.textxlrg { font-size:18px; }
.text2xlrg { font-size:22px; }
.text3xlrg { font-size:26px; }
.text4xlrg { font-size:30px; }
.text5xlrg { font-size:34px; }
.text6xlrg { font-size:48px; line-height:1.2; }
.textCenter { text-align:center; }
.bold,
strong { font-weight:700; }
.grid{ box-sizing:border-box; }
.grid:after{clear:both; content:''; display:table; }
.column{ box-sizing:border-box;float:left;min-height:1px; }
.w15{width:15%}
.w20{width:20%}
.w25{width:25%}
.w30{width:30%}
.w33{width:33.3%}
.w40{width:40%}
.w50{width:50%}
.w60{width:60%}
.w66{width:66.6%}
.w70{width:70%}
.w75{width:75%}
.w80{width:80%}
.w85{width:85%}
.w100{width:100%}
.colRight {float:right; }
.newColRow { clear:both; }
.show768 { display:none; }
.show480 { display:none;}
footer .topFooter { display:flex; justify-content:space-around; align-items:flex-start; padding:20px; }
footer .footerLogo { width:320px; max-width:90%; margin: 0 auto;  display: block; }
footer .bottomFooter  .InstaIcon { width:30px; }
footer .bottomFooter { padding:20px; }




/* --- Accordion Items --- */
.accordion-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

/* Headings default to block, we want to reset margin */
.accordion-item h3 {
    margin: 0;
    padding: 0;
}

/* --- The Trigger Button --- */
.accordion-trigger {  display: flex; justify-content: space-between; align-items: center;
    width: 100%; background: none;   border: none;    padding: 20px 24px;
    font-size: 1.1rem; font-weight: 600;   color: #17365F;   text-align: left; cursor: pointer; transition: background-color 0.2s ease;}
.accordion-trigger:focus-visible {   outline: 3px solid var(#17365F); outline-offset: -3px; border-radius: 6px; }
.accordion-trigger:hover { background-color: #fcfbf9; }
.accordion-icon {  position: relative; width: 20px;  height:20px; flex-shrink:0; margin-left:15px; }
.accordion-icon::before,
.accordion-icon::after {  content:""; position: absolute; background-color: #17365F;   transition: transform 0.3s ease; }
.accordion-icon::before { top: 0; left: 9px; width:2px; height: 100%; }
.accordion-icon::after {  top: 9px; left: 0; width: 100%; height:2px; }
.accordion-trigger[aria-expanded="true"] .accordion-icon::before {   transform: rotate(90deg);}
.accordion-trigger[aria-expanded="true"] .accordion-icon::after { transform: rotate(180deg); }
.accordion-trigger .accordion-title {font-weight: 700; }
.accordion-content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); }
.accordion-content[aria-hidden="false"] {   grid-template-rows: 1fr; }
.accordion-content-inner {  overflow: hidden;  }
.accordion-content-inner p { padding: 0 20px 20px 20px; margin: 0; }


/* reveal styles   */
.reveal-target {
  opacity: 0;
  transform: translateY(20px); /* Optional: adds a subtle slide-up effect */
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform; /* Optimizes rendering performance */
}

/* The visible state triggered by JS */
.reveal-target.visible {
  opacity: 1;
  transform: translateY(0);
}
/* This triggers only when the 'is-visible' class is added */
.reveal-target.visible.delay-1 {
  transition-delay: 0.3s; 
}

.reveal-target.visible.delay-2 {
  transition-delay: 1.2s; 
}


/* --- Modal Overlay (The Dark Backdrop) --- */
.modal-overlay { position: fixed;  top: 0; left: 0; width: 100vw;  height: 100vh;  background-color:#2c303578;   backdrop-filter: blur(5px); 
   display: flex; justify-content: center; align-items: center;  z-index: 9999;  opacity: 0; visibility: hidden;  transition: opacity 0.3s ease, visibility 0.3s ease; }
.modal-overlay.is-open {  opacity: 1;  visibility: visible; }

/* --- Modal Dialog Box --- */
.modal-dialog { background-color: #ffffff;   width: 90%;   max-width: 500px;   padding:40px 20px;  border-radius: 8px;   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
   text-align: center;  transform: scale(0.95);   transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1); }

.modal-overlay.is-open .modal-dialog { transform: scale(1);  }
.modal-close-btn { position: absolute;  top: 15px; right: 20px;  background: none;  border: none; font-size: 32px;   color: #888888;  cursor: pointer;  transition: color 0.2s ease;   line-height: 1;  padding: 5px; }
.modal-close-btn:hover {  color: #000; }
.modal-close-btn:focus-visible {  outline: 2px solid var(--brand-accent, #C4A977); border-radius:4px; }
.modal-overlay .modalOrLine { display:flex; justify-content: center; align-items:center; gap:20px; margin:10px 0; }
.modal-overlay .modalOrLine .line { height:1px; background-color: #b8b8b759; flex:1;  }



@media screen and (max-width:1004px) {
   .hide768 {display: none; }
   footer .topFooter { flex-wrap:wrap; justify-content:flex-start; }
   footer .footerLogoWrapper { width:100%; }
  .full768 { width: 100%;}
}


@media screen and (max-width: 767px) {

.hide480 {display: none; }
.show480 { display:block;}
.full480 { width: 100%;}
.logo img { width:200px; }
.header-container { padding:0 20px;  }


}

@media screen and (max-width:480px) {
.hide320 {display: none; }
.full320 { width: 100%;}
.text6xlrg { font-size:40px;  }

}
