/* Brand Colors */
:root {
    --red: #C62828;
    --black: #000000;
    --white: #FFFFFF;
    --gold: #F4C542;
    --light-gray: #f5f5f5;
}

/* Brand Fonts */
:root {
    --heading-font: 'Outfit', sans-serif;
    --body-font: 'Inter', sans-serif;
}

/* Global Styles */
body {
    margin: 0;
    background: var(--light-gray);
    color: var(--black);
    font-family: var(--body-font);
}

/* Header */
header {
    background: var(--black);
    color: var(--white);
    padding: 17px 34px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

/*Logo Image*/
.logo {
    height: 300px;
    width: auto;
    display: block;
    object-fit: contain;
    margin: 0 auto;
    
}

/* Logo Text (H2) */
.logo-text {
    font-family: var(--heading-font);
    font-size: 3.5rem;
    letter-spacing: 3px;
    margin: 0;
    line-height: 1;
    text-transform: uppercase;
    color: var(--white);
    text-align: left;
}

/* Logo Container */
.logo-area {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-right: 0;
}

/* RMG Logo in header */
.header-rmg-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    margin-left: auto;
}

/* Navigation */
nav a {
    color: var(--white);
    margin-left: 25px;
    text-decoration: none;
    font-weight: bold;
    font-family: var(--body-font);
}

nav a:hover {
    color: var(--red);
}

/* Hero Section */
.hero {
    background: var(--red);
    color: var(--white);
    padding: 40px 20px;
    text-align: left;
    min-height: auto;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
    position: relative;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: flex-start;
}

.hero-left p {
    font-size: 1.8rem;
    line-height: 1.4;
    margin: 0;
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    justify-content: flex-start;
}

.hero-right-card {
    background: rgba(0, 0, 0, 0.2);
    padding: 40px 40px;
    border-radius: 10px;
    border-left: 4px solid var(--gold);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 100%;
    max-width: 100%;
}

.hero-right-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    line-height: 1.2;
    text-transform: uppercase;
    margin: 0 0 15px 0;
    letter-spacing: 1.5px;
    color: var(--white);
    font-weight: 700;
}

.hero-right-copy {
    font-family: var(--heading-font);
    font-size: 8rem;
    letter-spacing: 2px;
    line-height: 1.2;
    color: var(--white);
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}

.hero-right-copy:last-child {
    margin-bottom: 0;
}

.button-container {
    display: flex;
    flex-direction: row;
    gap:40px;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.hero-right .calendar-btn {
    font-family: var(--heading-font);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Buttons */
.btn {
    background: var(--gold);
    color: var(--black);
    padding: 12px 25px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: bold;
    font-family: var(--body-font);
    transition: 0.3s;
}

.btn:hover {
    background: var(--white);
    color: var(--black);
}

.calendar-btn {
    background: var(--gold);
    color: var(--black);
    padding: 5px 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-family: var(--body-font);
    font-size: 0.95rem;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    min-height: 160px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
}

.calendar-btn:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.calendar-logo {
    height: 110px;
    width: 110px;
    object-fit: contain;
}

.rmg-logo-large {
    height: 110px;
    width: 110px;
    object-fit: contain;
}

/* Services Section */
.services-preview {
    padding: 100px 40px 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-preview::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/rlogo.png') center/contain no-repeat;
    opacity: 0.28;
    filter: none;
    pointer-events: none;
}

.services-preview > * {
    position: relative;
    z-index: 1;
}

.services-preview h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    margin-bottom: 20px;
}

.services-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 5px 0 15px;
}

.services-tab {
    background: transparent;
    color: var(--red);
    border: 1px solid rgba(198, 40, 40, 0.6);
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
}

.services-tab.active,
.services-tab:hover {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.services-panels {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 0;
}

.custom-service-btn {
    background: var(--gold);
    color: var(--black);
    padding: 8px 18px;
    border: 2px solid var(--gold);
    border-radius: 8px;
    font-weight: 700;
    font-family: var(--heading-font);
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.3s;
}

.custom-service-btn:hover {
    background: var(--white);
    color: var(--black);
}

.modal-additional-btn {
    margin: 4px 0 16px;
}

.services-panel {
    display: none;
}

.services-panel.active {
    display: block;
}

.service-list {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-auto-columns: minmax(280px, 1fr);
    grid-auto-flow: column;
    gap: 14px;
    text-align: left;
}

.services-scroll-container {
    position: relative;
    margin: 0 20px;
}

.services-scroll-wrapper {
    overflow-x: auto;
    scroll-behavior: smooth;
    min-height: 330px;
    cursor: grab;
}

.services-scroll-wrapper::-webkit-scrollbar {
    height: 6px;
}

.services-scroll-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.services-scroll-wrapper::-webkit-scrollbar-thumb {
    background: rgba(198, 40, 40, 0.3);
    border-radius: 3px;
}

.services-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(198, 40, 40, 0.5);
}

.service-row {
    background: transparent;
    border-radius: 0;
    border: none;
    border-bottom: 3px solid var(--gold);
    padding: 10px 0;
    box-shadow: none;
}

.service-row:last-child {
    border-bottom: none;
}

.service-row h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    margin: 0 0 8px 0;
    color: var(--black);
}

.service-row p {
    font-size: 1.05rem;
    font-family: 'Inter', sans-serif;
    margin: 0;
    color: #222;
    line-height: 1.5;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
    align-items: start;
}

.service-card {
    background: var(--white);
    border: 2px solid var(--red);
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.service-card h3 {
    font-family: var(--heading-font);
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.95rem;
    font-family: var(--body-font);
}

/* Add Service Section */
.add-service-section {
    margin: 0 auto;
    padding: 30px;
    background: var(--white);
    border-radius: 12px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--gold);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-right {
        text-align: center;
    }

    .videos-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .fix-feed-header {
        grid-column: 1;
        font-size: 1.8rem;
    }

    .fix-feed-carousel-container {
        grid-column: 1;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

    .featured-video-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .featured-video-content h2 {
        font-size: 1.5rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    header {
        flex-direction: column;
        gap: 20px;
    }

    .header-center-logo {
        margin: 0;
    }

    nav {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    nav a {
        margin-left: 0;
    }
}

.add-service-section h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    margin: 0 0 8px 0;
    color: var(--black);
    text-align: center;
}

.add-service-section p {
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.add-service-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.add-service-form input,
.add-service-form textarea {
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.add-service-form input:focus,
.add-service-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(244, 197, 66, 0.1);
}

.btn-secondary {
    background: var(--red);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    width: 100%;
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(244, 197, 66, 0.3);
}

/* Service Videos Section - Fix Feed Carousel */
.videos-section {
    padding: 40px 20px;
    background: var(--red);
    color: var(--white);
    text-align: left;
    min-height: auto;
    border: 3px solid var(--gold);
}

.videos-container {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: stretch;
    position: relative;
}

.fix-feed-header {
    font-family: var(--heading-font);
    font-size: 2.4rem;
    font-weight: 400;
    margin: 0;
    color: var(--black);
    letter-spacing: 2px;
    text-transform: uppercase;
    grid-column: 1;
    align-self: center;
    width: 200px;
    line-height: 1.5;
    word-spacing: 9999px;
}

.fix-feed-carousel-container {
    position: relative;
    grid-column: 2;
    width: 100%;
    overflow: hidden;
    margin: 0;
}

.fix-feed-carousel {
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    cursor: grab;
    user-select: none;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x;
}

.fix-feed-carousel::-webkit-scrollbar {
    height: 0;
}

.fix-feed-carousel:active {
    cursor: grabbing;
}

.fix-feed-track {
    display: flex;
    gap: 16px;
    padding-bottom: 4px;
    animation: autoScroll 30s linear infinite;
}

@keyframes autoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% - 16px));
    }
}

.fix-feed-card {
    flex: 0 0 calc((100% - 48px) / 4);
    min-width: calc((100% - 48px) / 4);
    height: 280px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 3px solid var(--gold);
}

.fix-feed-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(244, 197, 66, 0.3);
    border-color: var(--gold);
}

.fix-feed-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}

.fix-feed-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--gold);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--gold);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
    backdrop-filter: blur(6px);
}

.fix-feed-carousel-container:hover .fix-feed-nav {
    opacity: 1;
}

.fix-feed-nav:hover {
    background: rgba(244, 197, 66, 0.2);
    border-color: var(--gold);
    transform: translateY(-50%) scale(1.1);
}

.fix-feed-nav.left {
    left: 10px;
}

.fix-feed-nav.right {
    right: 10px;
}

@media (max-width: 768px) {
    .fix-feed-card {
        flex: 0 0 220px;
        height: 260px;
    }
    
    .fix-feed-header {
        font-size: 1.8rem;
    }
    
    .fix-feed-nav {
        opacity: 0.7;
    }
}

/* Featured Video Section */
.featured-video-section {
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--red) 0%, #a01f1f 100%);
    color: var(--white);
}

.featured-video-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.featured-video-content h2 {
    font-family: var(--heading-font);
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-video-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.featured-video {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    height: auto;
}
.live-feed-section {
    padding: 60px 40px;
    background: var(--light-gray);
    text-align: center;
}

.live-feed-section h2 {
    font-family: var(--heading-font);
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.live-feed-container {
    max-width: 900px;
    margin: 0 auto;
}

.btn-live {
    background: var(--red);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    transition: 0.3s;
    font-family: var(--body-font);
}

.btn-live:hover {
    background: #a01f1f;
    transform: scale(1.05);
}

.live-feed-player {
    margin-top: 25px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Social Media Section */
.social-media-section {
    padding: 60px 40px;
    background: var(--white);
    text-align: center;
}

.social-media-section h2 {
    font-family: var(--heading-font);
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.social-feed {
    background: var(--light-gray);
    border: 2px solid var(--red);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.social-feed h3 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--red);
}

.feed-placeholder {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.feed-placeholder p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

.btn-social {
    background: var(--gold);
    color: var(--black);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    display: inline-block;
}

.btn-social:hover {
    background: var(--white);
    border: 1px solid var(--gold);
}

/* Footer */
footer {
    background: var(--black);
    color: var(--white);
    padding: 12px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

footer p {
    font-family: var(--heading-font);
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0;
    color: var(--white);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: rgba(0, 0, 0, 0.2);
    padding: 28px;
    border-radius: 12px;
    max-width: 360px;
    width: 90%;
    max-height: 72vh;
    overflow-y: auto;
    position: relative;
    border-left: 4px solid var(--gold);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.85);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--white);
}

.modal-title {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    margin: 0 0 8px 0;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: var(--gold);
    margin: 0 0 25px 0;
    font-weight: 400;
}

.modal-task-list {
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.modal-task-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 6px;
    transition: background 0.2s;
    color: var(--gold);
    font-size: 0.82rem;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.85);
}

.modal-task-item:hover {
    background: rgba(0, 0, 0, 0.5);
}

.modal-task-item input[type="checkbox"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--red);
}

.modal-task-item label {
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--gold);
    margin: 0;
    flex: 1;
}

.modal-note {
    margin: 12px 0 0 0;
    font-size: 0.95rem;
    color: var(--gold);
    text-align: center;
}

.modal-calendar-btn {
    display: block;
    background: var(--gold);
    color: var(--black);
    text-align: center;
    padding: 14px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 25px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.modal-calendar-btn:hover {
    background: var(--white);
    color: var(--black);
    box-shadow: 0 6px 12px rgba(244, 197, 66, 0.3);
    transform: translateY(-2px);
}

.modal-back-btn {
    display: block;
    width: 100%;
    margin-top: 12px;
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-back-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
}

