/* ========================================
   Desert Sky Software - Main Stylesheet
   Full-page background with white text overlay
   ======================================== */

/* CSS Variables */
:root {
    --text-light: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.8);
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
}

/* ========================================
   Page Wrapper - Full page background
   ======================================== */
.page-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background image with opacity */
.page-wrapper::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

/* Dark overlay on top of background */
.page-wrapper::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
    pointer-events: none;
}

/* Page-specific backgrounds */
.page-home .page-wrapper::before {
    background-image: url('../images/hero-bg.webp');
}

.page-about .page-wrapper::before {
    background-image: url('../images/about-bg.webp');
}

.page-services .page-wrapper::before {
    background-image: url('../images/services-bg.webp');
}

.page-clients .page-wrapper::before {
    background-image: url('../images/hero-bg.webp');
}

.page-technology .page-wrapper::before {
    background-image: url('../images/hero-bg.webp');
}

.page-contact .page-wrapper::before {
    background-image: url('../images/contact-bg.webp');
}

.page-officers .page-wrapper::before {
    background-image: url('../images/hero-bg.webp');
}

.page-mobile .page-wrapper::before {
    background-image: url('../images/hero-bg.webp');
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4vw;
    position: relative;
    z-index: 2;
}

a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    opacity: 0.8;
}

/* ========================================
   Header & Navigation
   ======================================== */
.site-header {
    position: relative;
    z-index: 10;
    background: #ffffff;
}

.navbar {
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: none;
    margin: 0;
    padding: 0 20px;
}

.logo img {
    height: 125px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin-left: auto;
}

.nav-menu a {
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #333;
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover {
    opacity: 1;
    color: #000;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   Main Content
   ======================================== */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    position: relative;
    z-index: 2;
}

.content-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.content-wide {
    max-width: 1000px;
    margin: 0 auto;
}

h1, h2 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Services Page - Rates
   ======================================== */
.rates-section {
    margin-top: 50px;
}

.rates-section h2 {
    margin-bottom: 25px;
}

.rates-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.rate-item {
    text-align: center;
}

.rate-title {
    display: block;
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.rate-amount {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
}

/* ========================================
   Clients Page
   ======================================== */
.clients-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
    text-align: center;
}

.clients-list li {
    background: rgba(255, 255, 255, 0.85);
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 25px 20px;
    border-radius: 6px;
    text-shadow: none;
    transition: var(--transition);
}

.clients-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Testimonials */
.testimonials {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.testimonials blockquote {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    padding: 25px;
    border-left: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 6px;
}

.testimonials p {
    font-size: 1.05rem;
    font-style: italic;
    margin-bottom: 12px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.testimonials cite {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* ========================================
   Technology Page
   ======================================== */
.tech-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.tech-item {
    background: rgba(255, 255, 255, 0.85);
    color: #333;
    padding: 30px 25px;
    border-radius: 6px;
    border-left: none;
    transition: var(--transition);
}

.tech-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.tech-item h2 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #222;
}

.tech-item p {
    opacity: 0.8;
    color: #555;
    text-shadow: none;
}

/* ========================================
   Officers Page
   ======================================== */
.officers-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.officer {
    padding: 20px;
    border-left: 3px solid rgba(255, 255, 255, 0.5);
    text-align: center;
}

.officer-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid rgba(255, 255, 255, 0.5);
}

.officer h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.officer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    opacity: 0.9;
}

.officer-bio {
    margin-bottom: 15px;
    line-height: 1.7;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.officer-education {
    font-size: 0.95rem;
    opacity: 0.85;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Contact Page
   ======================================== */
.contact-form {
    margin-top: 30px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.contact-form .form-group,
.contact-form .form-row {
    margin-left: 0;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.required-note {
    font-weight: 400;
    opacity: 0.5;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: 'Raleway', sans-serif;
    font-size: 1.1rem;
    color: #333;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 6px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    display: inline-block;
    padding: 14px 40px;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    background: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.payment-info {
    margin-top: 40px;
}

.payment-info p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

/* ========================================
   Mobile App Page
   ======================================== */
.page-mobile .main-content {
    align-items: flex-start;
    padding-top: 40px;
}

.app-header-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
}

.mobile-page-content {
    text-align: left;
    margin-top: 40px;
}

.mobile-page-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.mobile-page-content h2 {
    margin-top: 35px;
    margin-bottom: 15px;
}

.device-list,
.feature-list {
    list-style: none;
    margin-bottom: 20px;
    padding-left: 10px;
}

.device-list li,
.feature-list li {
    font-size: 1.05rem;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.feature-list.two-col {
    columns: 2;
    column-gap: 40px;
}

.device-list li::before,
.feature-list li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    opacity: 0.7;
}

.steps-list {
    margin-bottom: 20px;
    padding-left: 30px;
}

.steps-list li {
    font-size: 1.05rem;
    padding: 6px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.app-screenshots {
    float: right;
    display: flex;
    gap: 15px;
    margin: 0 0 20px 30px;
}

.app-screenshots img {
    max-height: 525px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.whats-new {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
}

.whats-new h2 {
    margin-top: 0;
    font-size: 1.8rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.watch-screenshots {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.watch-screenshots img {
    max-height: 240px;
    width: auto;
    border-radius: 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.download-section {
    clear: both;
    text-align: center;
    margin: 30px 0;
}

.app-store-badge {
    display: inline-block;
    margin-bottom: 25px;
    transition: var(--transition);
}

.app-store-badge img {
    height: 54px;
    width: auto;
}

.app-store-badge:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.qr-code {
    display: block;
    max-width: 250px;
    margin: 0 auto;
    border-radius: 8px;
}

.mobile-signature {
    margin-top: 40px;
    text-align: center;
    font-weight: 600;
    opacity: 0.9;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    position: relative;
    z-index: 2;
    padding: 30px 0;
    text-align: center;
}

.site-footer p {
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.site-footer .location {
    font-size: 1rem;
}

.site-footer .email {
    font-size: 1rem;
}

.site-footer .email a {
    text-decoration: underline;
}

.site-footer .copyright {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 15px;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 6vw;
    }

    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 120px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        border-bottom: 1px solid #eee;
    }

    .nav-menu a {
        display: block;
        padding: 15px 0;
    }

    /* Mobile Menu Toggle Animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Content */
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .tagline {
        font-size: 1rem;
    }

    /* Clients */
    .clients-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* Contact Form */
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    /* Rates */
    .rates-grid {
        flex-direction: column;
        gap: 25px;
    }

    /* Tech */
    .tech-list {
        grid-template-columns: 1fr;
    }

    /* Mobile App Page */
    .feature-list.two-col {
        columns: 1;
    }

    .app-screenshots {
        float: none;
        justify-content: center;
        margin: 25px 0;
    }

    .app-screenshots img {
        max-height: 350px;
    }

    .watch-screenshots {
        flex-wrap: wrap;
        gap: 15px;
    }

    .watch-screenshots img {
        width: calc(50% - 8px);
        max-height: none;
        height: auto;
    }

    .whats-new {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    .clients-list {
        grid-template-columns: 1fr;
    }

    .logo img {
        height: 70px;
    }

    .watch-screenshots {
        gap: 10px;
    }

    .watch-screenshots img {
        width: calc(50% - 5px);
        max-height: none;
        height: auto;
    }

    .app-screenshots img {
        max-height: 280px;
    }
}
