/* ==========================================================================
   SpicyVision Landing - Modern CSS
   Clean, maintainable styles using CSS custom properties
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (Theme Variables)
   -------------------------------------------------------------------------- */
:root {
    /* Colors */
    --color-primary: #006bb7;
    --color-primary-dark: #1b6ec2;
    --color-primary-border: #1861ac;
    --color-accent: #2F5B60;
    --color-success: #26b050;
    --color-error: #e50000;
    --color-highlight: rgb(242, 242, 150);
    --color-highlight-blue: rgb(181, 231, 226);
    --color-highlight-green: rgb(216, 243, 220);

    /* Typography */
    --font-body: "Droid Sans", sans-serif;
    --font-heading: "Glober", sans-serif;

    /* Spacing */
    --content-padding: 1.1rem;
}

/* --------------------------------------------------------------------------
   Font Faces
   -------------------------------------------------------------------------- */
@font-face {
    font-family: "Droid Sans";
    font-style: normal;
    font-weight: normal;
    src: url("../fonts/DroidSans.woff2") format("woff2"),
         url("../fonts/DroidSans.woff") format("woff");
}

@font-face {
    font-family: "Glober";
    font-style: normal;
    font-weight: normal;
    src: url("../fonts/GloberRegular.woff2") format("woff2"),
         url("../fonts/GloberRegular.woff") format("woff");
}

/* --------------------------------------------------------------------------
   Base Styles
   -------------------------------------------------------------------------- */
html, body {
    font-family: var(--font-body);
}

h1, h2, h3, h4, h5 {
    font-size: 1.5rem;
    margin-top: 10px;
    font-family: var(--font-heading);
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: var(--color-primary);
    text-decoration: none;
}

label {
    font-weight: bold;
    font-size: smaller;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.content {
    padding-top: var(--content-padding);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn-primary {
    color: #fff;
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-border);
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

button.hyperlink {
    background: none;
    color: var(--color-primary);
    border: none;
    padding: 0;
    text-decoration: none;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
}

button.hyperlink:hover {
    color: darkblue;
}

.border-less-button {
    border: none;
    background: none;
}

.icon-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    transition: color 0.3s ease;
}

.icon-button:focus {
    outline: none;
}

.icon-button:hover {
    color: #007bff;
}

/* --------------------------------------------------------------------------
   Forms & Validation
   -------------------------------------------------------------------------- */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid var(--color-success);
}

.invalid {
    outline: 1px solid var(--color-error);
}

.validation-message {
    color: var(--color-error);
}

/* --------------------------------------------------------------------------
   Images
   -------------------------------------------------------------------------- */
.img-fluid {
    max-width: 100%;
    height: auto;
    max-height: 70vh;
}

.img-annotation-container {
    position: relative;
    text-align: center;
    color: white;
}

.img-annotation-container .top-left-annotation,
.img-annotation-container .top-right-annotation,
.img-annotation-container .bottom-left-annotation,
.img-annotation-container .bottom-right-annotation,
.img-annotation-container .centered-annotation {
    position: absolute;
}

.img-annotation-container .top-left-annotation {
    top: 10px;
    left: 15px;
}

.img-annotation-container .top-right-annotation {
    top: 10px;
    right: 20px;
}

.img-annotation-container .bottom-left-annotation {
    bottom: 10px;
    left: 20px;
}

.img-annotation-container .bottom-right-annotation {
    bottom: 10px;
    right: 20px;
}

.img-annotation-container .centered-annotation {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* --------------------------------------------------------------------------
   Video
   -------------------------------------------------------------------------- */
iframe {
    width: 100%;
    height: auto;
    border-radius: 15px;
    margin-bottom: 20px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    padding-top: 25px;
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

/* --------------------------------------------------------------------------
   Tables
   -------------------------------------------------------------------------- */
table {
    width: 100%;
    border-collapse: collapse;
}

table thead th {
    border-bottom: 2px solid #008080;
    padding: 10px;
    text-align: left;
}

table tbody td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

table.headless-table thead {
    display: none;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.navbar-nav .nav-item {
    margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
footer {
    padding: 20px 10px;
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.color-primary {
    color: var(--color-accent);
}

.bgHighlight {
    background-color: var(--color-highlight);
}

.blueBgHighlight {
    background-color: var(--color-highlight-blue);
}

.greenBgHighlight {
    background-color: var(--color-highlight-green);
}

.strikethrough {
    text-decoration: line-through;
}

.red-circle-background {
    width: 23px;
    height: 23px;
    background: red;
    border-radius: 50%;
}

figure {
    margin: 40px 40px !important;
    text-align: center;
}

/* --------------------------------------------------------------------------
   Responsive Typography
   -------------------------------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* --------------------------------------------------------------------------
   Cards & Pricing
   -------------------------------------------------------------------------- */
.package-card,
.card {
    transition: transform 0.3s ease;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    height: 200px;
    object-fit: cover;
}

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.card-text {
    color: #555;
}

.package-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

/* --------------------------------------------------------------------------
   Responsive - Google review images scale well
   -------------------------------------------------------------------------- */
.container .row .col-md-4 img {
    max-width: 100%;
    height: auto;
}
