/* can import fonts here */ /* author Dale Freese */

/* color scheme can be changed in one place with variables, easier to update
:root {
    --base-color: #eeeeee;
    --text-color: #000000;
    --primary-color: #E94D40;
    --secondary-color: #0c243c;
    --color-1: ;
    --color-2: ;
    --cta-color: ;
} */ 

* { /* base - reset to remove inconsistencies between browsers */
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
    scroll-behavior: smooth;
}

/* Utility: responsive images and consistent layout behavior */
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Base document styles (background, font stack) */
body {
    background-color: #fffbfb;
    font-family: Arial, Helvetica, sans-serif;
}

/* Utility: visually hidden but accessible to screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Utility: clearfix for float-based layouts */
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}



/* ***************************
   Global Components
   *************************** */

/* Horizontal menu (used in header and footer) */
ul.horizontal-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.horizontal-menu li {
    display: inline-block;
}

ul.horizontal-menu li a {
    display: block;
    padding: 10px 15px 10px 15px;
}





/* Header */
#PageHeader {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    background-color: #ffffff;
    color: #0C243C;
    padding: 10px 0 10px 0;
    margin-bottom: 15px;
    padding-right: 15px;
    padding-left: 10px;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #E94D40;
    border-image: linear-gradient(to right, #E94D40, #0C243C) 1 1 1 1;
    border-width: 4px;
}

#PageHeader a {
    color: #0C243C;
    font-weight: bold;
    text-decoration: none;
}
/*#PageHeader a:visited {
    color: #5c5fff;
    font-weight: bold;
    text-decoration: none;
}*/

#PageHeader a:hover,
#PageHeader a:active {
    color: #00c3ff;
}

#Home #HomeMenuItem a,
#CakesForSale #CakesForSaleMenuItem a,
#About #AboutMenuItem a,
#ContactUs #ContactUsMenuItem a {
    /*border-bottom: 3px solid #E94D40;*/
    text-decoration: underline;
    text-decoration-color: #E94D40;
    text-decoration-thickness: 4px;
    text-underline-offset: 6px;
}

/* Page Banner */
#PageBanner {
    max-width: 1200px;
    height: 360px;
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.5) 10%, black 30%, black 70%, rgba(0, 0, 0, 0.5) 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
    display: flex;
    background-image: url('../images/cheesecake1200.jpeg'); /* re-edit this and smooth out the texture if there's time */
    background-size: cover;
    margin: 0 auto;
    border-radius: 10px;
}



/* Footer */
#PageFooter {
    background-color: #0C243C;
    color: #ffffff;
    padding: 20px;
    text-align: center;
}

#PageFooter p {
    margin-bottom: 0;

}

#PageFooter a,
#PageFooter a:visited {
    color: #FFF;
    text-decoration: underline;
}

#PageFooter a:hover,
#PageFooter a:active {
    color: #FFFF00;
}

/* Page Structure */
#PageContainer {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

#PageMain {
    background-color: #ffffff;
    flex-basis: auto;
    flex-grow: 1;
    flex-shrink: 1;
    padding: 20px;
    margin-right: 0px;
    border-radius: 5px;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
}

#PageSidebar {
    border: 2px solid red;
    flex-basis: 350px;
    flex-grow: 0;
    flex-shrink: 0;
    padding: 20px;
    border-radius: 5px;
}





/* ***************************
   Print Styles
   *************************** */
@media print {
    #PageContainer {
        display: block;
        padding: 0;
        margin: 0;
        max-width: none;
    }

    /* Main content: remove decorative borders/backgrounds/margins */
    #PageMain {
        background: transparent !important;
        border: 0 !important;
        margin: 0;
        padding: 0;
    }

    #PageHeader,
    #PageBanner,
    #PageFooter {
        display: none;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 90%;
        word-break: break-all;
    }
}





/* ***************************
   Typography
   *************************** */
.typography {
    color: #222;
}

.typography h1,
.typography h2,
.typography h3,
.typography h4,
.typography h5,
.typography h6 {
    color: #E94D40;
    line-height: 1.2;
    margin-top: 15px;
    margin-bottom: 10px;
    margin-left: 0;
}

.typography h1,
.typography h2,
.typography h3 {
    margin-top: 30px;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
}

.typography h4,
.typography h5,
.typography h6 {
    font-size: 20px;
    font-weight: normal;
}

.typography h1 {
    font-size: 30px;
    text-align: center;
}

.typography p {
    margin-bottom: 20px;
    margin-left: 0px;
    line-height: 1.6;
}

.typography a,
.typography a:visited {
    color: #c12525;
}

.typography a:hover,
.typography a:active {
    color: #8b1c1c;
}

.typography hr {
    margin-bottom: 20px;
    margin-top: 20px;
    border: 0;
    border-top: 2px solid #ddd;
}

.typography ol,
.typography ul {
    margin-left: 0px;
    margin-bottom: 30px;
    margin-top: 10px;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0;
    list-style: none;
}

.typography li {
    line-height: 1.6;
}

.typography table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.1);
}

.typography th,
.typography td {
    border: 1px solid #e6e6e6;
    padding: 10px;
    text-align: left;
}

.typography th {
    background-color: #0C243C;
    color: white;
    border-color: #333;
}

.typography tbody tr:nth-child(even) td {    
    background: #fafafa;
}

.typography img.float-left {
    float: left;
    max-width: 100%;
    margin-bottom: 10px;
    height: auto;
}

.typography img.float-right {
    float: right;
    max-width: 975px;
    margin-bottom: 15px;
    height: auto;
}


.cakecards { 
    flex: 1 1 33.33%;
    max-width: 30.33%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);  
    text-align: center;
    padding: 1.5rem;
    margin: 0.5rem;
    border-radius: 8px;
    background-color: #fff;
    transition: box-shadow 0.3s ease;
}

.cakecards:hover {
     box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

form {
    /*accent-color: #e94d40;*/
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    font-family: Arial, Helvetica, sans-serif;
}

label {
  display: block;
  margin-bottom: 0.0rem;
  font-weight: 600;
  color: #333;
}

input,
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    /*margin-bottom: 1.5rem;*/
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    /*border-image: linear-gradient(to right, #E94D40, #2a7cce) 1;*/
    /*border-width: 5px;*/
    /*border: 5px solid transparent;*/
    border-color: #E94D40;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    box-shadow: 0 0 6px #E94D40;
    outline: none;
    transition: background-color 0.3s ease;
}

#PageHeader .cta-btn,
.cta-btn {
  background-color: #c94337;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3)
}

#PageHeader .cta-btn:hover,
.cta-btn:hover {
  background-color: #8b1c1c;
  color: #fff;
  scale: 1.05;
}

