/* DaisyUI Brand Theme - Travelty Umrah Colors */
:root[data-theme="brand"] {
    /* Primary brand color - Dark Teal */
    --p: 3 48 43; /* #03302b */
    --pc: 255 255 255; /* Primary content (text on primary) */
    
    /* Secondary brand color - Darker Teal */
    --s: 2 81 70; /* #025146 */
    --sc: 255 255 255; /* Secondary content */
    
    /* Accent color - Gold */
    --a: 226 175 64; /* #e2af40 */
    --ac: 15 23 42; /* Accent content (dark text on gold) */
    
    /* Neutral colors */
    --n: 15 23 42; /* #0F172A - Dark text */
    --nc: 255 255 255; /* Neutral content */
    
    /* Base colors */
    --b1: 254 251 248; /* #FEFBF8 - Warm off-white background */
    --b2: 250 249 247; /* #FAF9F7 - Base 200 */
    --b3: 245 243 240; /* #F5F3F0 - Base 300 - Warm light beige */
    
    /* Info, Success, Warning, Error */
    --in: 6 147 227; /* #0693e3 */
    --inc: 255 255 255;
    --su: 0 208 132; /* #00d084 */
    --suc: 255 255 255;
    --wa: 252 185 0; /* #fcb900 */
    --wac: 15 23 42;
    --er: 207 46 46; /* #cf2e2e */
    --erc: 255 255 255;
}

/* Apply brand theme by default */
:root {
    color-scheme: light;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #03302b;
    background: radial-gradient( #03302b 0%, #03302b 55%, #000000 100%);
    min-height: 100vh;
}

/* Beacon Container - Mobile First Design */
.beacon-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    background-color: #fefbf8;
}

/* Hero Posters Container */
.hero-posters-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
    margin: 0 auto;
    max-width: 100%;
}

/* Hero Poster Image */
.hero-poster {
    width: auto;
    max-width: 40%;
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid #000000;
}

.poster-link {
    display: block;
    position: relative;
    text-decoration: none;
    width: auto;
    height: 100%;
}

.poster-image {
    width: auto;
    height: 400px;
    display: block;
    border-radius: 15px;
}

.date-button {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #e2af40 0%, #d4a038 100%);
    color: #000000;
    border: 1px solid #000000;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 10;
    white-space: nowrap;
    min-width: fit-content;
}

.date-button:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #d4a038 0%, #c49530 100%);
}


/* Logo Section */
.logo-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.6rem 1rem 1.2rem;
    margin: 1rem;
    background: linear-gradient(to bottom right, #03302b 0%, #025146 50%, #e2af40 100%);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(3, 48, 43, 0.15);
    position: relative;
    z-index: 2;
    gap: 1rem;
}

.main-logo {
    max-width: 180px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Social Media Section */
.social-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #03302b 0%, #025146 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(3, 48, 43, 0.15);
    border: 1px solid #000000;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(3, 48, 43, 0.25);
    background: linear-gradient(135deg, #025146 0%, #03302b 100%);
}

/* Collapsible Card Styles */
.collapsible-card {
    margin: 1rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(3, 48, 43, 0.15);
    overflow: hidden;
    transition: all 0.3s ease;
}

.collapsible-card:hover {
    box-shadow: 0 6px 20px rgba(3, 48, 43, 0.2);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    cursor: pointer;
    background: linear-gradient(135deg, #03302b 0%, #025146 100%);
    color: #ffffff;
    transition: all 0.3s ease;
    user-select: none;
}

.card-header:hover {
    background: linear-gradient(135deg, #025146 0%, #03302b 100%);
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
}

.card-chevron {
    font-size: 1rem;
    transition: transform 0.3s ease;
    color: #ffffff;
}

.collapsible-card.active .card-chevron {
    transform: rotate(180deg);
}

.card-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.5rem;
}

.collapsible-card.active .card-content {
    max-height: 10000px;
    padding: 1.2rem;
}

/* Section Styles */
section {
    padding: 2.5rem 1rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #03302b;
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

/* Packages Section - Scrollable Cards */
.packages-section {
    padding: 2rem 0 2.5rem;
    background-color: #f5f3f0;
}

.cards-scroll-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #e2af40 #f5f3f0;
}

.cards-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.cards-scroll-container::-webkit-scrollbar-track {
    background: #f5f3f0;
    border-radius: 4px;
}

.cards-scroll-container::-webkit-scrollbar-thumb {
    background: #e2af40;
    border-radius: 4px;
}

.cards-scroll {
    display: flex;
    gap: 1.25rem;
    padding: 0 1rem;
    min-width: max-content;
}

.package-card {
    flex: 0 0 224px;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(3, 48, 43, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(3, 48, 43, 0.05);
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(3, 48, 43, 0.12);
}

.package-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background-color: #f5f3f0;
}

.package-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
}

.package-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #03302b;
    margin: 0;
}

.package-content p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.package-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e2af40;
    margin-top: auto;
}

.package-button {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    background: #e2af40;
    color: #000000;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(3, 48, 43, 0.15);
    margin-top: auto;
    border: 1px solid #000000;
    cursor: pointer;
    width: 100%;
}

.package-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(3, 48, 43, 0.25);
    background: #d4a038;
}

/* Content Sections */
.content-section {
    padding: 2.5rem 1rem;
}

.content-section:nth-child(even) {
    background-color: #f5f3f0;
}

/* Card Content Styling */
.collapsible-card .story-content,
.collapsible-card .certifications-grid,
.collapsible-card .features-grid,
.collapsible-card .app-content,
.collapsible-card .directors-content,
.collapsible-card .contact-content {
    padding: 0;
}

/* Story Section */
.story-section .story-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.content-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(3, 48, 43, 0.08);
}

.story-content .content-image {
    width: 50%;
    max-width: 50%;
    margin: 0 auto;
}

.story-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.story-text p {
    font-size: 0.8rem;
    color: #5a5a5a;
    line-height: 1.7;
    text-align: center;
}

.learn-more-link {
    color: #e2af40;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.learn-more-link:hover {
    color: #d4a038;
    text-decoration: underline;
}

/* Certifications Section */
.certifications-section {
    background-color: #fefbf8;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.cert-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(3, 48, 43, 0.08);
    transition: transform 0.3s ease;
    border: 1px solid rgba(3, 48, 43, 0.05);
}

.cert-item:hover {
    transform: scale(1.05);
}

.cert-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Features Section */
.features-section {
    background-color: #f5f3f0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

.feature-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.2rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(3, 48, 43, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(3, 48, 43, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(3, 48, 43, 0.12);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #03302b 0%, #025146 100%);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.4rem;
}

.feature-card h3 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #03302b;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.72rem;
    color: #6b7280;
    line-height: 1.5;
}

/* App Section */
.app-section {
    background-color: #fefbf8;
}

.app-content {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    align-items: center;
}

.app-content .content-image {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
    min-width: 0;
}

.app-text {
    flex: 0 0 50%;
    width: 50%;
    min-width: 0;
    text-align: left;
    overflow-wrap: break-word;
}

.app-text p {
    font-size: 0.8rem;
    color: #5a5a5a;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    width: 100%;
}

.app-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, #03302b 0%, #025146 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(3, 48, 43, 0.15);
    min-width: 200px;
    justify-content: center;
}

.app-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(3, 48, 43, 0.25);
}

.app-button i {
    font-size: 1.2rem;
}

/* Directors Section */
.directors-section {
    background-color: #f5f3f0;
}

.directors-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.directors-content .content-image {
    position: relative;
    padding: 2rem;
    background: radial-gradient(circle, #FAF9F7 0%, #FAF9F7 40%, #e2af40 100%);
    border-radius: 16px;
    box-sizing: border-box;
}

.directors-content .content-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.directors-text {
    font-size: 0.8rem;
    color: #5a5a5a;
    line-height: 1.7;
    text-align: center;
}

/* Contact Section */
.contact-section {
    background-color: #fefbf8;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f5f3f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(3, 48, 43, 0.05);
}

.contact-item:hover {
    background: linear-gradient(135deg, #03302b 0%, #025146 100%);
    color: #ffffff;
    transform: translateX(5px);
}

.contact-item i {
    font-size: 1.2rem;
    color: #e2af40;
    width: 30px;
    text-align: center;
}

.contact-item:hover i {
    color: #ffffff;
}

.contact-item a {
    font-size: 0.8rem;
    font-weight: 500;
    color: inherit;
    text-decoration: none;
}

.contact-item span {
    font-size: 0.8rem;
    font-weight: 500;
}

/* Responsive Design - Tablet and Desktop */
@media (min-width: 768px) {
    .beacon-container {
        max-width: 600px;
        margin: 0 auto;
        padding: 1rem 0;
    }

    .hero-posters-container {
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .hero-poster {
        margin: 0;
        border-radius: 16px;
        overflow: visible;
        box-shadow: 0 4px 16px rgba(3, 48, 43, 0.2);
    }
    

    .main-logo {
        max-width: 220px;
        max-height: 140px;
    }

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

    .package-card {
        flex: 0 0 240px;
    }

    .package-image {
        height: 300px;
    }

    .story-content {
        flex-direction: row;
        align-items: center;
    }

    .story-content .content-image {
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
    }

    .story-text {
        flex: 1;
        text-align: left;
    }

    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .app-buttons {
        flex-direction: row;
        justify-content: flex-start;
    }

    .directors-content {
        flex-direction: row;
        align-items: center;
    }

    .directors-content .content-image {
        flex: 0 0 50%;
    }

    .directors-text {
        flex: 1;
        text-align: left;
    }

    .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .contact-item {
        flex: 1;
        min-width: 200px;
    }
}

@media (min-width: 1024px) {
    .beacon-container {
        max-width: 700px;
    }

    .certifications-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}
