/* assets/css/theme.css - ISLAMISK FORUM TAASTRUP */
/* ===========================================
   ISLAMISK FORUM TAASTRUP 
=========================================== */

/* ========== CSS VARIABLES ========== */
:root {
    /* Farvepalette - Islamisk tema */
    --primary: #0b332c;           /* Islamisk grøn (hovedfarve) */
    --primary-light: #0b332c88;     /* Lys islamisk grøn */
    --primary-dark: #0b332c;      /* Mørk islamisk grøn */
    --primary-rgb: 46, 125, 50;
    
    --secondary: #d0a963;         /* Islamisk guld (akcent) */
    --accent: #d0a963;            /* Guld til highlights */
    --accent-light: #FFF8E1;      /* Lys beige/creme */
    
    /* Tekst farver */
    --text-dark: #333333;         /* Mørk tekst til dansk/engelsk */
    --text-arabic: #1a1a1a;       /* Mørkere til arabisk tekst */
    --text-urdu: #2c3e50;         /* Blålig tone til urdu */
    --text-light: #ffffff;
    --text-on-dark: #f8f9fa;
    
    /* Baggrund farver */
    --bg-light: #ffffff;
    --bg-cream: #a19882;          /* Creme baggrund (islamisk) */
    --bg-gray: #f5f5f5;
    --bg-dark-green: #0b332c;     /* Mørk grøn baggrund */
    
    /* Effekter */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 4px 20px rgba(var(--primary-rgb), 0.2);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.2);
    
    /* Overgange */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Border radius - Blødere kanter for familievenligt design */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-xxl: 6rem;
    
    /* Typografi - Tilpasset til flersproget publikum */
    --font-heading: 'Amiri', 'Cormorant', serif;  /* Arabisk-friendly */
    --font-body: 'Inter', 'Montserrat', sans-serif; /* Moderne, læselig */
    --font-arabic: 'Amiri', serif;                /* Ren arabisk font */
    --font-urdu: 'Noto Nastaliq Urdu', 'Amiri', serif;
    --font-quran: 'Me Quran', 'Traditional Arabic', 'Amiri', serif;
    

    
    /* Layout */
    --header-height: 80px;
    --header-height-mobile: 70px;
    --prayer-bar-height: 40px;
}

/* ========== TYPOGRAPHY FOR MULTILINGUAL AUDIENCE ========== */
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    direction: ltr; /* Standard venstre-til-højre */
}


/* Arabic text styling */
.arabic-text,
.quran-text {
    font-family: var(--font-quran);
    direction: rtl;
    font-size: 2.1rem;
    line-height: 1.8;
    color: var(--text-arabic);
}

.urdu-text {
    font-family: var(--font-urdu);
    direction: rtl;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-urdu);
}

/* Headings with Arabic support */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--primary-dark);
}

.arabic-heading {
    font-family: var(--font-arabic);
    font-weight: 700;
}

/* Bismillah styling */
.bismillah {
    font-family: var(--font-quran);
    font-size: 2.5rem;
    color: var(--primary);
    text-align: center;
    margin: var(--space-lg) 0;
    direction: rtl;
}

/* ========== LAYOUT COMPONENTS ========== */

/* Header - Transparent design */
.floating-header {
    background: var(--secondary);
    transition: var(--transition-normal);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    height: var(--header-height-mobile);
    box-shadow: var(--shadow-md);
}

@media (min-width: 992px) {
    .floating-header {
        background: transparent;
        position: absolute;
        box-shadow: none;
        height: var(--header-height);
    }
    
    .floating-header.scrolled {
        background: var(--bg-light);
        position: fixed;
        box-shadow: var(--shadow-md);
        animation: slideDown 0.4s ease-out;
    }
        .floating-header.scrolled.text-light {
color: black;
    }
}

@keyframes slideDown {
    from { 
        transform: translateY(-100%);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

/* Logo with Islamic elements */
.logo-text {
    font-family: var(--font-arabic);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary);
    letter-spacing: 0.5px;
    transition: var(--transition-normal);
}





@media (min-width: 992px) {
    .logo-text {
        color: var(--text-light);
        font-size: 1.6rem;
    }
    
    .logo-icon {
        color: var(--text-light) !important;
    }
    
    .floating-header.scrolled .logo-text {
        color: var(--primary);
    }
    
    .floating-header.scrolled .logo-icon {
        color: var(--primary) !important;
    }
}



@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--bg-light);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        box-shadow: var(--shadow-lg);
        max-height: none;
        display: none;  /* Start skjult */
    }
    
    .navbar-collapse.show {
        display: block;  /* Vis med det samme */
    }
}



/* Navigation med hover-effekter */
.nav-link-custom {
    color: var(--primary) !important;
    font-family: var(--font-body);
    font-weight: 500;
    padding: 1rem 1.5rem;
    margin: 0;
    transition: var(--transition-normal);
    position: relative;
    border-bottom: 1px solid rgba(11, 51, 44, 0.1); /* OPDATERET */
    text-decoration: none !important;
    display: block;
}

.nav-link-custom:last-child {
    border-bottom: none;
}

@media (min-width: 992px) {
    .nav-link-custom {
        color: var(--text-light) !important;
        padding: 0.5rem 1rem;
        margin: 0 var(--space-sm);
        border-bottom: none;
        text-align: left;
    }
    
    .floating-header.scrolled .nav-link-custom {
        color: var(--primary) !important;
    }
    
    .nav-link-custom::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 3px;
        background: var(--secondary); /* Gylden understregning */
        transition: var(--transition-normal);
    }
    
    .nav-link-custom:hover::after,
    .nav-link-custom.active::after {
        width: 80%;
    }
    
    .nav-link-custom:hover {
        color: var(--secondary) !important; /* Guld farve ved hover */
    }
    
    .nav-link-custom.active {
        color: var(--text-light) !important;
    }
    
    .floating-header.scrolled .nav-link-custom.active {
        color: var(--primary) !important;
    }
    
    .floating-header.scrolled .nav-link-custom:hover {
        color: var(--secondary) !important; /* Guld også ved hover i scrolled state */
    }
}

@media (min-width: 992px) {
    .nav-link-custom {
        color: var(--text-light) !important;
        padding: 0.5rem 1rem;
        margin: 0 var(--space-sm);
        border-bottom: none;
        text-align: left;
    }
    
    .floating-header.scrolled .nav-link-custom {
        color: var(--primary) !important;
    }
    
    .nav-link-custom::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 3px;
        background: var(--secondary);
        transition: var(--transition-normal);
    }
    
    .nav-link-custom:hover::after,
    .nav-link-custom.active::after {
        width: 80%;
    }
    
    .nav-link-custom.active {
        color: var(--text-light) !important;
    }
    
    .floating-header.scrolled .nav-link-custom.active {
        color: var(--primary) !important;
    }
}

/* Navigation Toggler with Islamic icon */
.navbar-toggler {
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    transition: var(--transition-normal);
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.25);
}

@media (min-width: 992px) {
    .navbar-toggler {
        border-color: var(--text-light);
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .floating-header.scrolled .navbar-toggler {
        border-color: var(--primary);
        background-color: rgba(255, 255, 255, 0.9);
    }
}

/* ========== ISLAMIC BUTTONS ========== */
.btn-theme-primary,
.btn-custom-primary,
.btn-islamic {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-light) !important;
    border: none;
    padding: 0.875rem 2.5rem;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--shadow-primary);
    display: inline-block;
    text-decoration: none !important;
    text-align: center;
    cursor: pointer;
}

.btn-theme-primary:hover,
.btn-custom-primary:hover,
.btn-islamic:hover {
    color: var(--text-light) !important;
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(11, 51, 44, 0.3);
}



/* Donation button special */
.btn-donation {
    background: linear-gradient(135deg, var(--secondary) 0%, #b8941f 100%);
    color: var(--text-dark) !important;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-gold);
    display: inline-block;
    text-decoration: none !important;
    text-align: center;
    cursor: pointer;
}

.btn-donation:hover {
    background: linear-gradient(135deg, #b8941f 0%, var(--secondary) 100%);
    color: var(--text-dark) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(208, 169, 99, 0.3);
}

/* ===== BASE STYLES ===== */
.btn-theme-outline,
.btn-custom-outline,
.btn-outline-islamic {
    background: transparent;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition-normal);
    display: inline-block;
    text-decoration: none !important;
    text-align: center;
    cursor: pointer;
}

.btn-theme-outline:hover,
.btn-custom-outline:hover,
.btn-outline-islamic:hover {
    background: var(--primary);
    color: var(--text-light) !important;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(11, 51, 44, 0.3);
}

/* ===== SPECIFIK FOR btn-custom-outline I HERO-SEKTIONEN ===== */
/* Mobile først - hvid knap i hero */
.hero-section .btn-custom-outline {
    color: white !important;
    border-color: white;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.hero-section .btn-custom-outline:hover {
    background: white;
    color: var(--primary) !important;
    border-color: white;
}

/* Desktop - stadig hvid knap i hero */
@media (min-width: 992px) {
    .hero-section .btn-custom-outline {
        color: white !important;
        border-color: white;
        background: rgba(255, 255, 255, 0.1);
    }
    
    .hero-section .btn-custom-outline:hover {
        background: white;
        color: var(--primary) !important;
        border-color: white;
    }
    
    /* Hvis headeren er scrollet og knappen er synlig i header */
    .floating-header.scrolled .btn-custom-outline {
        color: var(--primary) !important;
        border-color: var(--primary);
        background: transparent;
    }
    
    .floating-header.scrolled .btn-custom-outline:hover {
        background: var(--primary);
        color: var(--text-light) !important;
        border-color: var(--primary);
    }
}

/* ===== btn-custom-outline ANDRE STEDER END HERO ===== */
/* Mobile */
.btn-custom-outline:not(.hero-section .btn-custom-outline) {
    color: var(--primary) !important;
    border-color: var(--primary);
}

.btn-custom-outline:not(.hero-section .btn-custom-outline):hover {
    background: var(--primary);
    color: var(--text-light) !important;
    border-color: var(--primary);
}

/* Desktop */
@media (min-width: 992px) {
    .btn-custom-outline:not(.hero-section .btn-custom-outline) {
        color: var(--primary) !important;
        border-color: var(--primary);
    }
    
    .btn-custom-outline:not(.hero-section .btn-custom-outline):hover {
        background: var(--primary);
        color: var(--text-light) !important;
        border-color: var(--primary);
    }
}

/* Knap størrelser */
.btn-lg {
    padding: 1rem 3rem !important;
    font-size: 1.1rem !important;
}

.btn-sm {
    padding: 0.5rem 1.5rem !important;
    font-size: 0.9rem !important;
}

/* Sørg for at knapper ikke får blå farve fra Bootstrap */
.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--text-light) !important;
}

.btn-primary:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    color: var(--text-light) !important;
}

.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary) !important;
    color: var(--text-light) !important;
    border-color: var(--primary) !important;
}
/* ========== HERO SECTION ========== */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    color: var(--text-light);
    display: flex;
    align-items: center;
        background-size: cover;
     background-repeat: no-repeat;
    margin-top: var(--header-height-mobile);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scale(1.1);
    transition: transform 0.3s ease-out;
    will-change: transform;
    z-index: -1;
}

.hero-homepage {
    min-height: calc(100vh - var(--header-height-mobile));
}

@media (min-width: 992px) {
    .hero-section {
        margin-top: 0;
        min-height: 60vh;
    }
    
    .hero-homepage {
        min-height: 100vh;
    }
}

/* Islamic pattern overlay */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%230b332c' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: -1;
}

/* ========== ISLAMIC CARDS ========== */
.card-islamic {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
    background: var(--bg-light);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary);
}

.card-islamic:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-islamic-gold {
    border-top: 4px solid var(--secondary);
}

/* Activity cards */
.activity-card {
    background: var(--bg-cream);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.activity-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.activity-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

/* ========== PRAYER TIMES DISPLAY ========== */
.prayer-times-container {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
}

.prayer-time-item {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.prayer-time-item:last-child {
    border-bottom: none;
}

.prayer-name {
    font-weight: 600;
}

.prayer-time {
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.current-prayer {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
}

/* ========== TIMETABLE FOR ACTIVITIES ========== */
.timetable {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.timetable-header {
    background: var(--primary);
    color: white;
    padding: var(--space-md);
    font-weight: 600;
}

.timetable-day {
    padding: var(--space-md);
    border-bottom: 1px solid var(--bg-gray);
}

.timetable-day:last-child {
    border-bottom: none;
}

.day-header {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

/* ========== MULTILINGUAL CONTENT SECTIONS ========== */
.content-section {
    padding: var(--space-xl) 0;
}

.content-section:nth-child(even) {
    background: var(--bg-cream);
}

.bilingual-text {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .bilingual-text {
        grid-template-columns: 1fr 1fr;
    }
}

.text-danish {
    direction: ltr;
    text-align: left;
}

.text-arabic {
    direction: rtl;
    text-align: right;
    font-family: var(--font-arabic);
}

/* ========== FORMS FOR MUSLIM AUDIENCE ========== */
.form-islamic {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
}

.form-label-arabic {
    font-family: var(--font-arabic);
    direction: rtl;
    text-align: right;
}

.form-control-islamic {
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    transition: var(--transition-fast);
    font-family: var(--font-body);
}

.form-control-islamic:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
    outline: none;
}

/* Nikah form special */
.nikah-form {
    background: linear-gradient(to bottom, #fff8e1, #ffffff);
    border: 2px solid var(--secondary);
}

/* ========== GALLERY FOR COMMUNITY ========== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-md);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-normal);
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: var(--space-sm);
    transform: translateY(100%);
    transition: var(--transition-normal);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* ========== ANIMATIONS WITH ISLAMIC TOUCH ========== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes crescent {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animation classes */
.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse-gold {
    animation: pulse-gold 2s infinite;
}

.fade-in {
    animation: fadeInUp 0.6s ease-out both;
}

.fade-in.delay-1 { animation-delay: 0.2s; }
.fade-in.delay-2 { animation-delay: 0.4s; }

.crescent-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: crescent 1s ease-in-out infinite;
}

/* ========== UTILITY CLASSES ========== */
.text-primary-islamic {
    color: var(--primary) !important;
}

.text-secondary-gold {
    color: var(--secondary) !important;
}

.bg-primary-islamic {
    background-color: var(--primary) !important;
}

.bg-cream {
    background-color: var(--bg-cream) !important;
}

.border-primary-islamic {
    border-color: var(--primary) !important;
}

.border-secondary-gold {
    border-color: var(--secondary) !important;
}

.shadow-islamic {
    box-shadow: var(--shadow-primary) !important;
}

/* Direction utilities */
.text-rtl {
    direction: rtl;
    text-align: right;
}

.text-ltr {
    direction: ltr;
    text-align: left;
}

/* Arabic calligraphy */
.calligraphy {
    font-family: var(--font-quran);
    font-size: 3rem;
    text-align: center;
    color: var(--primary);
    margin: var(--space-xl) 0;
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 768px) {
    :root {
        --space-xl: 2rem;
        --space-lg: 1.5rem;
    }
    
    .hero-section h1 {
        font-size: 2.2rem !important;
        line-height: 1.2;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-section .lead {
        font-size: 1.1rem !important;
        line-height: 1.6;
    }
    
    .bilingual-text {
        grid-template-columns: 1fr;
    }
    
    .text-arabic {
        text-align: right;
        direction: rtl;
    }
    
    .navbar-collapse {
        padding: 2rem 1rem;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-radius: var(--radius-lg);
        margin-top: 1rem;
    }
    
    .nav-link-custom {
        font-size: 1.1rem !important;
        padding: 0.8rem 1rem !important;
        font-weight: 500;
    }
}

/* Tablet optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .navbar-brand .logo-text {
        font-size: 1.1rem;
    }
    
    .nav-link-custom {
        font-size: 0.9rem !important;
        padding: 0.6rem 0.8rem !important;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    .floating-header {
        position: static !important;
        background: white !important;
        box-shadow: none !important;
    }
    
    .btn-islamic,
    .btn-donation {
        border: 1px solid #000 !important;
        background: none !important;
        color: #000 !important;
    }
    
    .hero-section {
        break-inside: avoid;
    }
}

/* Breadcrumb styling for Islamic theme */
.hero-breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
    content: " / " !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 400 !important;
    font-size: 18px !important;
}

/* Quran verse styling */
.quran-verse {
    background: var(--bg-cream);
    border-right: 5px solid var(--primary);
    padding: var(--space-md);
    margin: var(--space-lg) 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-family: var(--font-quran);
    direction: rtl;
    font-size: 1.3rem;
    line-height: 2;
}

.quran-translation {
    font-family: var(--font-body);
    direction: ltr;
    font-style: italic;
    color: var(--text-medium);
    margin-top: var(--space-sm);
}


/* Ensure buttons don't have Bootstrap default blue */
a.btn, button.btn {
    text-decoration: none !important;
}

/* Ensure primary text color is your green */
.text-primary {
    color: var(--primary) !important;
}

/* Ensure background primary is your green */
.bg-primary {
    background-color: var(--primary) !important;
}

/* Card hover effects with your colors */
.card-islamic:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--secondary); /* Change to gold on hover */
}

/* Activity card hover */
.activity-card:hover {
    border-color: var(--primary);
    background-color: rgba(11, 51, 44, 0.05); /* Light green tint */
    transform: translateY(-5px);
}

/* Form focus states */
.form-control-islamic:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(11, 51, 44, 0.1);
}

/* Table hover in activities */
.table-hover tbody tr:hover {
    background-color: rgba(11, 51, 44, 0.05);
}

/* Alert styling */
.alert-info {
    background-color: rgba(11, 51, 44, 0.1);
    border-color: var(--primary);
    color: var(--primary-dark);
}

/* Badge styling */
.badge.bg-primary {
    background-color: var(--primary) !important;
}

/* Progress bars etc. */
.progress {
    background-color: rgba(11, 51, 44, 0.1);
}

.progress-bar {
    background-color: var(--primary);
}


/* assets/css/theme.css - Tilføj disse regler i bunden af filen */

/* Fix for navbar-toggler på meget små skærme */
@media (max-width: 374px) {
    .navbar-brand {
        max-width: 70%;
    }
    
    .navbar-toggler {
        padding: 0.4rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .logo-text {
        font-size: 1rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 200px;
    }
    
    .floating-header {
        padding: 0.5rem 0;
        height: var(--header-height-mobile);
    }
}

/* Ekstra sikkerhed for at holde navbar på én linje */
.navbar > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    flex-shrink: 0;
}

.navbar-toggler {
    flex-shrink: 0;
}

/* Sørg for at header ikke vokser */
.floating-header {
    max-height: var(--header-height-mobile);
}

/* assets/css/theme.css - Tilføj disse regler i Typography sektionen */

/* Fix for arabisk tekst der klipper af */
.arabic-text,
.quran-text {
    font-family: var(--font-quran);
    direction: rtl;
    font-size: 2.1rem;
    line-height: 1.8;
    color: var(--text-arabic);
    text-align: center; /* Tilføj denne */
    margin: 0 auto; /* Tilføj denne */
    display: block;
    width: fit-content; /* Tilpas bredden til indholdet */
    max-width: 100%; /* Sørg for den ikke overskrider containeren */
    overflow-wrap: break-word; /* Tillad linjeskift */
}

/* For meget små skærme */
@media (max-width: 375px) {
    .arabic-text {
        font-size: 1.8rem !important;
        padding: 0 1rem;
        box-sizing: border-box;
    }
    
    .hero-section h1.arabic-text {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}

/* Sørg for at hero-content ikke har overflow problemer */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden; /* Forhindrer horisontal scroll */
}

/* Container til arabisk tekst */
.arabic-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    direction: rtl;
}


/* Om os side styling */

/* Mission sektion */
.mission-section .card-islamic {
    transition: transform 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.mission-section .card-islamic:hover {
    transform: translateY(-5px);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Info card styling */
.info-card {
    background: white;
    border-left: 4px solid var(--primary-color);
}

.info-card h5 {
    color: var(--primary-color);
}

.info-card i {
    color: var(--primary-color);
}

/* Værdi kort */
.value-card {
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(46, 125, 50, 0.1);
    border-color: var(--primary-color);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Invitation sektion */
.invitation-card {
    background: var(--primary-gradient);
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.2);
}

/* Tekst farver */
.text-primary {
    color: var(--primary-color) !important;
}

/* Baggrundsfarver */
.bg-light-green {
    background-color: var(--light-green) !important;
}

/* Responsiv styling */
@media (max-width: 768px) {
    .icon-wrapper, .value-icon {
        width: 60px;
        height: 60px;
    }
    
    .icon-wrapper i, .value-icon i {
        font-size: 1.5rem;
    }
}



/* Ramadan side styling */

/* Ramadan features */
.ramadan-feature {
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
    text-align: center;
}

.ramadan-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(46, 125, 50, 0.1);
    border-color: var(--primary-color);
}

/* Table styling */
.table-primary {
    background: var(--primary-gradient);
    color: white;
}

.table-hover tbody tr:hover {
    background-color: rgba(46, 125, 50, 0.1);
}

/* Iftar card */
.iftar-card {
    background: white;
    border-top: 4px solid var(--primary-color);
}

/* Dua cards */
.dua-card {
    background: white;
    border-radius: 10px;
    border: 1px solid #eaeaea;
    transition: all 0.3s ease;
}

.dua-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.arabic-text {
    font-family: 'Amiri', serif;
    font-size: 1.5rem;
    text-align: right;
    direction: rtl;
    line-height: 1.6;
}

.transliteration {
    font-style: italic;
    color: #666;
    margin-bottom: 1rem;
}

.translation {
    color: #333;
}

/* Spiritual message */
.spiritual-message {
    background: white;
    border-left: 4px solid var(--primary-color);
}

.final-message {
    background: white;
    border: 1px solid #eaeaea;
}

/* Donation CTA */
.donation-cta {
    background: var(--primary-gradient);
}


/* ===== NIKAH SIDE STYLING ===== */

/* Nikah Hero */
.nikah-hero {
    background: linear-gradient(135deg, #fff9f9 0%, #ffffff 100%);
    position: relative;
}

.arabic-text-large {
    font-family: 'Amiri', serif;
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--primary);
    display: block;
}

/* Nikah CTA med HJERTE-MØNSTER (erstatning for bobler) */
.nikah-cta {
    background: linear-gradient(135deg, #d0a963 0%, #0b332c 70%);
    position: relative;
    overflow: hidden;
}

.nikah-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 20 L46 34 L62 36 L50 48 L54 64 L40 56 L26 64 L30 48 L18 36 L34 34 Z' fill='%23ffffff' fill-opacity='0.08'/%3E%3Cpath d='M20 10 L24 18 L34 20 L28 28 L30 38 L20 32 L10 38 L12 28 L6 20 L16 18 Z' fill='%23ffffff' fill-opacity='0.05'/%3E%3Cpath d='M60 50 L64 58 L74 60 L68 68 L70 78 L60 72 L50 78 L52 68 L46 60 L56 58 Z' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

/* Step cirkler */
.step-circle {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

/* Ceremoni cards */
.ceremony-card {
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid #f0e8e8;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.ceremony-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(46, 125, 50, 0.1);
    border-color: var(--primary);
}

.ceremony-icon {
    color: var(--primary);
}

/* Requirements box */
.requirements-box {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #e8f5e9;
}

/* Price tag */
.price-tag {
    border-top: 4px solid var(--secondary);
}

/* Option cards */
.option-card {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.option-card:hover {
    border-left-color: var(--primary);
    background: #f8fff8 !important;
}

/* Testimonial */
.testimonial-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f0e8e8;
}

/* Contact cards */
.contact-info-card,
.contact-form-card {
    background: white;
    border-radius: 15px;
    border: 1px solid #e8f5e9;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

/* Nikah knapper */





.btn-nikah-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .nikah-hero h1 {
        font-size: 2rem;
    }
    
    .arabic-text-large {
        font-size: 1.1rem;
    }
    
    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

.nikah-image-frame {
    width: 100%;
    height: 500px; /* Fast højde */
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(46, 125, 50, 0.15);
    border: 8px solid white;
}

.nikah-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.nikah-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Beskærer billedet */
    object-position: center 30%; /* Fokuserer på ansigter */
    display: block;
}

.nikah-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46,125,50,0.1) 0%, rgba(11,51,44,0.2) 100%);
    pointer-events: none;
}

.nikah-heart-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2E7D32;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 2px solid rgba(46,125,50,0.2);
    z-index: 3;
}

.nikah-heart-decoration-2 {
    position: absolute;
    bottom: -15px;
    left: -15px;
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b332c;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 2px solid white;
    z-index: 3;
}


.modern-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}


