:root {
    --background: #ffffff;
    --foreground: #171717;
    --brand-gradient: linear-gradient(to right, #e75e1e, #e8511d, #e84b1d, #e9471d, #e9401d, #e93b1d, #ea311d, #ea2b1d);
}

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

body {
    font-family: 'Mukta', sans-serif;
    color: var(--foreground);
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 108px;
    background: var(--brand-gradient);
    z-index: 50;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 0 2rem;
}

.nav {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

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

.logo-container {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo-img:hover {
    opacity: 0.9;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 100%;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    opacity: 0.8;
}

.nav-divider {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    user-select: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.mobile-menu-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--brand-gradient);
    padding: 1rem 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-link {
    display: block;
    color: white;
    text-decoration: none;
    padding: 0.75rem 0;
    font-weight: 500;
    font-size: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: opacity 0.3s ease;
}

.mobile-menu-link:hover {
    opacity: 0.8;
}

.mobile-menu-link:last-child {
    border-bottom: none;
}

.site-header {
    background: white;
}

/* Footer Styles */
.footer {
    text-align: center;
    padding: 10px 0;
    background-color: #fff;
    font-family: Arial, sans-serif;
}

.footer-links {
    color: #000;
    font-size: 16px;
    font-weight: 500;
}

.footer-links a {
    text-decoration: none;
    color: inherit;
    margin: 0 8px;
    cursor: pointer;
}

.footer-links a:hover {
    text-decoration: underline;
    color: inherit;
}

.footer-links span {
    margin: 0 4px;
    color: #000;
}

.social-icons {
    margin-top: 10px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-icons a {
    display: inline-block;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.social-icons img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.social-icons a:hover img {
    opacity: 0.7;
}

/* Banner Section */
.banner-container {
    width: 100%;
    max-width: 1920px;
    padding-top: 12px;
}

.banner-wrapper {
    position: relative;
}

.banner-section {
    width: 100%;
}

.banner-image {
    width: 100%;
    padding-bottom: 50%;
    background-image: url('assets/images/URAC_Banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Screenshots Section */
.screenshots-section {
    width: 100%;
    padding: 0.5rem 0;
}

.desktop-screenshot {
    display: none;
    position: absolute;
    top: 3rem;
    right: 0;
    height: 100%;
    width: 650px;
    align-items: center;
}

.desktop-screenshot img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.mobile-screenshot {
    display: flex;
    justify-content: center;
    margin-top: -5rem;
}

.mobile-screenshot-wrapper {
    position: relative;
    width: 300px;
    aspect-ratio: 3/4;
}

.mobile-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Get App Section */
.get-app-section {
    width: 100%;
    background-color: white;
}

.get-app-container {
    max-width: 1280px;
    margin: 0 auto;
}

.get-app-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.get-app-text {
    text-align: center;
}

.get-app-title {
    font-size: 2rem;
    font-weight: bold;
    color: black;
}

.get-app-subtitle {
    color: #666;
}

.store-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.store-buttons span {
    font-size: 1.2rem;
    color: black;
}

.store-button {
    display: block;
    transition: opacity 0.3s ease;
}

.store-button:hover {
    opacity: 0.9;
}

.store-button img {
    height: 64px;
    width: auto;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .logo {
        width: 100px;
    }

    .nav-links.desktop {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-nav-links {
        display: flex;
        align-items: center;
        gap: 1rem;
        color: white;
        font-size: 0.875rem;
    }

    .banner-section {
        margin-top: 5rem;
    }

    .desktop-screenshot {
        display: none !important;
    }

    .mobile-screenshot {
        display: flex;
    }

    .get-app-content {
        flex-direction: column;
    }

    .get-app-title {
        font-size: 1.75rem;
    }

    .store-button img {
        height: 48px;
    }

    .store-button span {
        text-align: center;
    }

    .logo-img {
        height: 40px;
    }
}

/* Document Pages Styles (Terms, Privacy, etc.) */
.doc-main {
    padding-top: 128px;
    min-height: 100vh;
    background: #f8f9fa;
}

.doc-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.doc-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e75e1e;
    margin-bottom: 0.5rem;
    text-align: center;
}

.doc-updated {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin-bottom: 3rem;
    font-style: italic;
}

.doc-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e75e1e;
    padding-bottom: 0.5rem;
}

.doc-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.doc-content a {
    color: #e75e1e;
    text-decoration: none;
    font-weight: 500;
}

.doc-content a:hover {
    text-decoration: underline;
}

.doc-content strong {
    font-weight: 600;
    color: #333;
}

@media (max-width: 768px) {
    .doc-container {
        margin: 1rem;
        padding: 1.5rem;
        border-radius: 6px;
    }

    .doc-title {
        font-size: 2rem;
    }

    .doc-content h2 {
        font-size: 1.25rem;
        margin-top: 2rem;
    }

    .doc-content p {
        font-size: 0.95rem;
        text-align: left;
    }
}

/* Events Page Styles */
.events-main {
    min-height: calc(100vh - 108px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding-top: 120px;
    padding-bottom: 1rem;
}

.events-main + #footer-placeholder {
    margin-top: 20px;
}

.events-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    text-align: center;
    background: var(--brand-gradient);
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.events-title {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1.5rem;
}

.events-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.events-content p {
    color: white;
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.events-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
@media (max-width: 768px) {
    .events-main {
        padding-top: 110px;
        padding-bottom: 0.5rem;
        min-height: calc(100vh - 108px);
    }

    .events-main + #footer-placeholder {
        margin-top: 20px;
    }

    .events-container {
        padding: 1rem;
        margin: 0 1rem;
    }

    .events-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .events-content {
        padding: 1.5rem;
    }

    .events-content p {
        font-size: 1.125rem;
        margin-bottom: 0.8rem;
    }
}
}

/* Inspiration Page Styles */
.inspiration-main {
    padding-top: 128px;
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.inspiration-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.inspiration-header {
    text-align: center;
    margin-bottom: 3rem;
}

.inspiration-title {
    font-size: 3rem;
    font-weight: 700;
    color: #e75e1e;
    margin-bottom: 1rem;
}

.inspiration-subtitle {
    font-size: 1.25rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.video-categories {
    margin-bottom: 2rem;
}

.category-section {
    margin-bottom: 3rem;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-icon {
    font-size: 1.25rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 320px));
    gap: 1.5rem;
    justify-content: flex-start;
}

.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    width: 320px;
    max-width: 320px;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.875rem;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(231, 94, 30, 0.9);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.video-play-btn:hover {
    background: rgba(231, 94, 30, 1);
}

.video-play-btn svg {
    width: 24px;
    height: 24px;
    fill: white;
    margin-left: 2px;
}

.video-info {
    padding: 1.5rem;
}

.video-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.video-description {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.5;
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    aspect-ratio: 16/9;
    background: black;
    border-radius: 8px;
    overflow: hidden;
}

.video-modal video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1;
}

@media (max-width: 768px) {
    .inspiration-title {
        font-size: 2rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .video-modal-content {
        width: 95%;
        aspect-ratio: 16/9;
    }
}

/* Video Overlay Styles (for Quick Tour page) */
.video-overlay {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 9 / 16;
    background: black;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.close-video {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1;
}

.close-video svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

/* Desktop Styles */
@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
    
    .mobile-menu {
        display: none !important;
    }

    .nav-links {
        display: flex;
    }

    .logo-img {
        height: 60px;
    }

    .desktop-screenshot {
        display: flex;
    }

    .mobile-screenshot {
        display: none;
    }

    .get-app-content {
        flex-direction: row;
        justify-content: space-between;
        margin-bottom: 20px;
    }

    .get-app-text {
        text-align: left;
        margin-bottom: 0;
    }

    .get-app-title {
        font-size: 2rem;
    }
}