@font-face {
    font-family: 'Cinzel';
    src: url('../assets/fonts/Cinzel/Cinzel-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

body {
    font-family: "Helvetica Neue", "Helvetica", sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: antiquewhite;
}

header {
    background-color: #fafafa;
    color: #fafafa;
    padding: 5px 30px;
    display: flex;
    /*justify-content: space-between;*/
    align-items: center;
}

.header-content {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.logo-name {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between logo and text */
    margin-left: 0px;*/
}

.logo {
    max-height: 50px; /* Adjust to fit the header */
    width: auto; /* Maintain aspect ratio */
}

.company-name {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: bold;
    color: #392b1b;
    min-width: 190px;
}

.menu {
    display: flex;
    align-items: center;
    /*margin-right: 30px;*/
}

.menu-items {
    display: flex;
    list-style: none;
    gap: 20px;
}

.menu-items li a, .back-to-top, .link  {
    text-decoration: none;
    color: #392b1b;
    font-size: 14px;
    font-weight: bold;
    transition: color 0.3s, transform 0.3s;
}

.menu-items li a:hover, .back-to-top:hover, .link:hover {
    text-decoration: underline;
    color: #8c7256;
    /* transform: scale(1.1); */
}

.menu-items .separator {
    padding: 0 0px;
    color: #392b1b;
    pointer-events: none; /* prevents clicking */
    font-weight: 600;
    user-select: none;
}

/* Hamburger Button */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 0px;
    /*margin-right: 30px;*/
    font-size: 20px; /* Adjust icon size */
    color: #392b1b;
    transition: color 0.3s, transform 0.3s;
}

.hamburger:hover {
    color: #8c7256;
    /* transform: rotate(10deg); */ /* Add a slight rotation effect */
}

.hamburger img {
    max-height: 30px;
    width: auto;
}

.side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    width: 250px;
    background-color: #544d44f6; /* This is a muted brownish-gray tone that blends the warm brown of #392b1b with the cool gray of #706e6d and 95% opacity. */
    color: #faf4f0;
    transition: 0.3s;
    padding-left: 20px;
    padding-top: 16px;
    padding-bottom: 20px;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-menu ul {
    list-style: none;
    padding: 0;
}

.side-menu ul li a {
    text-decoration: none;
    color: #faf4f0;
    font-size: 18px;
    display: block;
    padding: 10px 0;
}

.side-menu ul .side-menu-separator {
    margin: 10px 0;
    border-bottom: 1px solid #ccc;
    list-style: none;       /* remove bullet */
    height: 0;              /* makes it a line, not a box */
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px; /* Adjust icon size */
    color: #faf4f0;
    align-self: flex-end;
    margin-right: 0px;
    cursor: pointer;
}

.quick-links-menu {
    position: relative;
    display: inline-block;
}

.quick-links-menu ul {
    display: none;
    position: absolute;
    left: 0px;
    background-color: #e3d6bff2; /* Background color of the dropdown with 95% 
    opacity */
    list-style: none;
    padding: 0px 0px;
    margin: 0px;
    border: 1px solid #c0c0c0;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    width: 400px; /* Ensure sufficient width */
}

.quick-links-menu ul li {
    margin: 2px 2px;
    padding: 0px 0px;
}

.quick-links-menu ul li a {
/*    display: flex;*/
    display: block;
    align-items: center;
    justify-content: flex-start;
    /*white-space: nowrap;*/ /* Prevent text wrapping */
    color: #392b1b;
    background-color: inherit;
    text-decoration: none;
    padding: 4px 8px; /* Padding around section names */
    transition: background-color 0.3s, color 0.3s;
}

.quick-links-menu ul li a:hover {
    color: #8c7256;
    background-color: wheat;
    text-decoration: underline;
}

.quick-links-menu ul li a:focus {
    outline: 2px solid #8c7256;
}

.quick-links-menu ul li:nth-child(odd) a {
    background-color: #cdbda5e6;
}

.quick-links-menu ul li:nth-child(even) a {
    background-color: #daccb4e6;
}

.quick-links-menu ul li:nth-child(odd) a:hover {
    background-color: wheat;
}

.quick-links-menu ul li:nth-child(even) a:hover {
    background-color: wheat;
}

.quick-links-menu:hover ul {
    display: block;
}

.quick-links-button, .back-to-top-button, .toggle-screen-shots-button {
    text-decoration: none;
    color: #392b1b;
    font-size: 14px;
    font-weight: bold;
    display: block;
    transition: color 0.3s;
    padding-top: 8px;
    border: none;
    outline: none;
    background-color: inherit;
    font-family: "Helvetica Neue", "Helvetica", sans-serif;
}

.quick-links-button:hover, .back-to-top-button:hover, .toggle-screen-shots-button:hover {
    color: #8c7256;
    text-decoration: underline;
}

.caret {
    margin-left: 4px;
}

/* Main Content */
main {
    background-color: antiquewhite;
    color: #392b1b;
    flex: 1;
    text-align: left;
    font-size: 14px;
    padding-left: 30px;
    padding-top: 20px;
    padding-right: 30px;
    padding-bottom: 20px;
    margin-bottom: 0px;
}

.content h2 {
    margin-top: 20px;
    margin-bottom: 0px;
}

.content p {
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Remove extra space below the last paragraph */
.content p:last-child {
    margin-bottom: 10px;
}

.content ul {
    margin-left: 20px;
    margin-top: 0px;
    margin-bottom: 10px;
}

.product-row {
    display: table;
    width: 100%;
}

.product-column {
    display: table-cell;
    padding: 0px 0px;
    vertical-align: middle;
    text-align: center;
}

.product-column.product-column-left {
    
}

.product-column.product-column-right {
    padding-left: 20px;
}

.snippet {
    box-shadow: 0px 4px 8px 0 rgba(0, 0, 0, 0.2);
    padding: 16px 16px;
    margin: 8px 0px;
    text-align: left;
    border: none;
    border-radius: 8px;
    background-color: #e3d6bf;
}

.snippet pre {
    white-space: pre-wrap; /* Allows wrapping of long lines */
    word-wrap: break-word; /* Breaks long words if necessary */
    overflow-wrap: break-word; /* Ensures wrapping in modern browsers */
    margin: 0;
}

.snippet-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0px; /* Space between rows */
}

.snippet-label {
    padding-left: 8px;
}

.snippet-value {
    flex: 1; /* Takes up remaining space */
    padding-left: 8px;
    word-break: break-all; /* Allows long text to wrap if necessary */
}

pre {
    font-family: "Helvetica Neue", "Helvetica", sans-serif;
    overflow-x: auto;
}

#result {
    margin-top: 8px;
    margin-bottom: 16px;
    padding: 8px;
    background-color: #ddd;
    border: 1px solid #c0c0c0;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
    font-size: 12px;
    font-family: "Helvetica Neue", "Helvetica", sans-serif;
}

.button-container {
    display: flex;
    align-items: center;
    gap: 8px; /* Space between buttons */
}

.group-button {
    margin-right: 8px;
}

.group-button:last-of-type {
    margin-right: 0;
}

.product-card {
    box-shadow: 0px 4px 8px 0 rgba(0, 0, 0, 0.2);
    padding: 8px 16px;
    text-align: center;
    border: none;
    border-radius: 8px;
}

.product-card.left-card {
    background-color: #e3d6bf;
}

.product-card.right-card {
    background-color: wheat;
    margin: auto; /* Horizontally center the card within the column */
    display: inline-block;
    vertical-align: middle;
}

.app-store-container {
    background-color: #392b1b;
    padding: 8px; /* Add padding around the image */
    border-radius: 8px;
    display: inline-block; /* Adjust the container to the content size */
    box-shadow: 0 8px 16px rgba(140, 114, 86, 0.5); /* footer's background-color #8c7256 */
}

.app-store-container img {
    display: block; /* Remove inline spacing caused by img */
    width: 220px; /* Adjust size as needed */
}

.section-line {
    border: 0;
    height: 3px;
    background-color: #8c7256;
    margin: 20px 0;
}

.pill-navigation {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
}

.pill-primary {
    background-color: #cdbda5e6; /* a little darker beige */
    color: #392b1b; /* dark brown text */
}

.pill-primary:hover {
    background-color: wheat; /* slightly lighter on hover */
    color: #8c7256;
}

.pill-secondary {
    background-color: #daccb4e6;
    color: #392b1b;
}

.pill-secondary:hover {
    background-color: wheat;
    color: #8c7256;
}

#screenShots {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 4px;
    text-align: center;
    background-color: #e3d6bf;
    box-shadow: 0px 4px 8px 0 rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 8px;
    margin-top: 20px;
}

div.screen-shots {
    background-color: wheat;
    overflow: auto;
    white-space: nowrap;
    padding: 8px;
}

div.screen-shots img {
    padding: 0px 4px;
    margin: 0px;
}

.screen-shots .shot {
    display: inline-block;   /* keeps shots in one horizontal row */
    text-align: center;
    margin: 0 4px;           /* same spacing you had before */
}

.screen-shots .caption {
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 8px;      /* small spacing before image */
}

.pricing-columns {
    float: left;
    width: 25%;
    padding: 10px;
}

.price {
    list-style-type: none;
    border: 1px solid #544d44;
    box-shadow: 0px 4px 8px 0 rgba(0, 0, 0, 0.2);
    margin: 0px;
    padding: 0px;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.price .header {
    background-color: #544d44; /* This is a muted brownish-gray tone that blends the warm brown of #392b1b with the cool gray. */
    color: #faf4f0;
    font-size: 18px;
}

.price li {
    border-bottom: 1px solid #544d44;
    padding: 8px;
    text-align: center;
}

.price .tier-free {
    background-color: #add13f;
    font-size: 18px;
}

.price .tier-paid {
    background-color: #e2e2e0;
    font-size: 18px;
}

.price .desc-free {
    background-color: wheat;
}

.price .desc-paid {
    background-color: #e3d6bf;
}

/* Custom Dropdown Container */
.custom-select {
    position: relative;
    width: 100%;
    font-family: "Helvetica Neue", "Helvetica", sans-serif;
    font-size: 12px;
    border: 1px solid #c0c0c0;
    border-radius: 4px;
    cursor: pointer;
}

/* Selected item with arrow */
.select-selected {
    background-color: #fafafa;
    padding: 8px;
    color: #392b1b;
    position: relative; /* To position the arrow */
}

/* Arrow for the dropdown using a pseudo-element */
.select-selected::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg); /* Default: down arrow */
    border: solid #392b1b; /* Arrow color */
    border-width: 0 4px 4px 0; /* Top-right arrow */
    display: inline-block;
    padding: 4px; /* Arrow size */
    transition: transform 0.3s;
}

/* Rotate the arrow when dropdown is open */
.select-selected.open::after {
    transform: translateY(-50%) rotate(-135deg); /* Rotate to point up */
}

/* Dropdown items */
.select-items {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #c0c0c0;
    border-radius: 4px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 99;
    width: 100%;
}

.select-items div {
    padding: 8px;
    color: #392b1b;
    transition: background-color 0.3s;
}

.select-items div:hover {
    background-color: #e3d6bf;
}

input[type=text], input[type=email], input[type=file], select, textarea {
    width: 100%;
    padding: 8px;
    color: #392b1b;
    background-color: #fafafa;
    border: 1px solid #c0c0c0;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 8px;
    margin-bottom: 16px;
    resize: vertical;
    font-size: 12px;
    font-family: "Helvetica Neue", "Helvetica", sans-serif;
}

input[type=text]:focus, input[type=email]:focus, textarea:focus {
    border-color: #8c7256;
    outline: none;
}

/* Active state for touch interactions */
input[type=submit].active-touch, .action-button.active-touch {
    background-color: #a0d1a0;
    color: #39841b;
    border: 2px solid #adff3f;
    box-shadow: 0 0 10px #c0ffc0;
    transition: none;
}

/* Style the label as a button */
input[type=submit], .action-button, .custom-file-input label {
    color: #392b1b;
    background-color: #c0c0c0;
    border-radius: 4px;
    border: 2px solid #909090;
    cursor: pointer;
    padding: 4px 16px;            
    font-size: 12px;
    text-align: center;
    align-items: center;
    transition: 0.0s;
}

input[type=submit]:active, .action-button:active, .custom-file-input label:active {
    background-color: #a0d1a0;
    color: #39841b;
    border: 2px solid #adff3f;
    box-shadow: 0 0 10px #c0ffc0;
}

input[type=file] {
    display: none;
}

.custom-file-input {
    margin: 8px 0px;
}

.contact-container {
    border-radius: 8px;
    background-color: #e2e2e0;
    background-color: #e3d6bf;
    padding: 20px;
    color: #392b1b;
}

.email-error {
    color: orangered;
    font-weight: bold;
    margin-bottom: 16px;
}

.email-success {
    color: seagreen;
    font-weight: bold;
    margin-bottom: 16px;
}

.image-text-overlay-container {
    position: relative;
}

.image-container {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.image-container img {
    vertical-align: middle;
}

.content-section img,
.content-section video {
  max-width: 100%; /* Ensures the image doesn't exceed the container's width */
  height: auto;    /* Maintains the image's aspect ratio */
  display: block;  /* Helps with alignment issues and spacing */
}

.text-overlay {
    position: absolute;
    bottom: 0;
    background: rgba(100, 82, 62, 0.75);
    color: #faf4f0;
    width: 100%;
    padding: 20px;
}

footer {
    margin-top: 0px;
    background-color: #8c7256;
    color: #faf4f0;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.footer-text {
    flex: 1;
    text-align: left;
    font-size: 14px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-right {
    flex: 1;
}

.footer-links a {
    text-decoration: none;
    color: #faf4f0;
    font-weight: normal;
    font-size: 14px;
    transition: color 0.3s, transform 0.3s;
}

.footer-links a:hover {
    text-decoration: underline;
    color: #fafafa;
    /* transform: scale(1.01); */
}

.ampersand {
    margin: 0;
    font-size: 14px;
    color: #faf4f0;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    header {
        padding: 5px 20px;
    }
    
    .menu-items {
        display: none;
    }

    .hamburger {
        display: block;
    }
    
    .side-menu {
        display: flex;
        flex-direction: column;
        width: 200px;
    }
    
    .quick-links-menu ul {
        width: 260px;
    }
    
    main {
        padding: 20px 20px;
    }
    
    .product-column { 
        display: block;
        width: 100%;
    }
    
    .product-column.product-column-right {
        padding-left: 0px;
        padding-top: 20px;
    }
    
    .snippet-row {
        flex-direction: column;
    }

    .snippet-label {
        padding-left: 0px;
        margin-bottom: 0px;
    }

    .snippet-value {
        padding-left: 0px;
        margin-bottom: 4px;
    }
    
    .button-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .pricing-columns {
        display: block;
        width: 100%;
    }
    
    footer {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-text {
        text-align: center;
        margin-bottom: 10px;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-right {
        display: none;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media screen and (min-width: 601px) and (max-width: 767px) {
    header {
        padding: 5px 20px;
    }
    
    .menu-items {
        display: none;
    }

    .hamburger {
        display: block;
    }
    
    .side-menu {
        display: flex;
        flex-direction: column;
        width: 250px;
    }
    
    .quick-links-menu ul {
        width: 310px;
    }
    
    main {
        padding: 20px 20px;
    }
    
    .product-column { 
        display: block;
        width: 100%;
    }
    
    .product-column.product-column-right {
        padding-left: 0px;
        padding-top: 20px;
    }
    
    .snippet-row {
        flex-direction: column;
    }

    .snippet-label {
        padding-left: 0px;
        margin-bottom: 0px;
    }

    .snippet-value {
        padding-left: 0px;
        margin-bottom: 4px;
    }
    
    .button-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .pricing-columns {
        display: block;
        width: 100%;
    }
    
    footer {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-text {
        text-align: center;
        margin-bottom: 10px;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-right {
        display: none;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media (min-width: 768px) {
    header {
        padding: 5px 30px;
    }
    
    .menu-items {
        display: flex;
    }

    .hamburger {
        display: none;
    }
    
    .side-menu {
        display: none;
    }
    
    .quick-links-menu ul {
        width: 400px;
    }
    
    main {
        padding: 20px 30px;
    }
    
    .product-column {
        display: table-cell;
        padding: 0px 0px;
    }
    
    .product-column.product-column-right {
        padding-left: 20px;
        padding-top: 0px;
    }
    
    .snippet-row {
        flex-direction: row;
    }

    .snippet-label {
        padding-left: 8px;
        margin-bottom: 0;
    }

    .snippet-value {
        padding-left: 8px;
    }
    
    .pricing-columns {
        display: table-cell;
        width: 25%;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media (min-width: 992px) {
    header {
        padding: 5px 120px;
    }
    
    .menu-items {
        display: flex;
    }

    .hamburger {
        display: none;
    }
    
    .side-menu {
        display: none;
    }
    
    .quick-links-menu ul {
        width: 400px;
    }
    
    main {
        padding: 20px 120px;
    }
    
    .product-column {
        display: table-cell;
        padding: 0px 0px;
    }
    
    .product-column.product-column-right {
        padding-left: 20px;
        padding-top: 0px;
    }
    
    .pricing-columns {
        display: table-cell;
        width: 25%;
    }
}

@media (min-width: 1200px) {
    header {
        padding: 5px 220px;
    }
    
    .menu-items {
        display: flex;
    }

    .hamburger {
        display: none;
    }
    
    .side-menu {
        display: none;
    }
    
    .quick-links-menu ul {
        width: 400px;
    }
    
    main {
        padding: 20px 220px;
    }
    
    .product-column {
        display: table-cell;
        padding: 0px 0px;
    }

    .product-column.product-column-right {
        padding-left: 20px;
        padding-top: 0px;
    }
    
    .pricing-columns {
        display: table-cell;
        width: 25%;
    }
}

/* Enable hover and focus for devices with a precise pointer (e.g., mouse) */
@media (hover: hover) and (pointer: fine) {
    input[type=submit]:hover, .action-button:hover, .custom-file-input label:hover {
        background-color: #a0c0a0;
        color: #39641b;
        border: 2px solid #adff3f;
        box-shadow: 0 0 10px #add13f;
    }

    input[type=submit]:active, .action-button:active, .custom-file-input label:active {
        background-color: #a0d1a0;
        color: #39841b;
        border: 2px solid #adff3f;
        box-shadow: 0 0 10px #c0ffc0;
    }
}

/* Disable hover and focus styles for devices with touch capabilities */
@media (hover: none) and (pointer: coarse) {
    input[type=submit]:hover, .action-button:hover, .custom-file-input label:hover {
        background-color: #c0c0c0;
        color: #392b1b;
        border: 2px solid #909090;
        box-shadow: none;
    }

    input[type=submit]:active, .action-button:active, .custom-file-input label:active {
        background-color: #a0d1a0;
        color: #39841b;
        border: 2px solid #adff3f;
        box-shadow: 0 0 10px #c0ffc0;
    }
}
