/* 1. GLOBAL STYLES & TYPOGRAPHY */
body {
    /* MODERN BACKGROUND: Soft Off-White/Light Gray */
    background-color: #F5F5F5;
    background-image: none; /* Removing the linear gradient background for simplicity */
    
    font-family: 'Poppins', sans-serif;
    font-size: 16px; 
    color: #333;
    line-height: 1.65;
    margin: 0;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0.8em;
    margin-bottom: 0.4em;
    color: #1a1a1a;
}

a:link,
a:visited {
    color: #0D47A1; /* Dark Blue */
    text-decoration: none;
}

a:hover {
    color: #FF9800; /* Orange Hover */
    text-decoration: underline;
}

/* 2. LAYOUT & CONTAINER */
header {
    padding: 10px 20px;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.content-container {
    padding-top: 80px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 120px; /* Space for the floating buttons */
    max-width: 1000px;
    margin: 0 auto;
}

/* 3. BUTTON STYLES */
.button {
    padding: 10px 15px;
    margin: 0;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    cursor: pointer;
    border: none;
    text-align: center;
    font-weight: 600; 
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover, .audio-toggle-container:hover {
    transform: translateY(-2px); 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
}

/* AR Button (Orange) */
.ar-button {
    background-color: #E67E22;
    color: white;
}
.ar-button:hover {
    background-color: #D35400;
}

/* Primary Buttons (Blue) */
.primary-button {
    background-color: #007bff;
    color: white;
}
.primary-button:hover {
    background-color: #0056b3;
}

/* 4. FLOATING BUTTONS & AUDIO TOGGLE */
.interactive-links {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 15px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    max-width: 90%;
}

.audio-toggle-container {
    /* Style consistency with .button and primary-button */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; 
    height: 44px; 
    padding: 0; 
    border-radius: 5px; /* Keeps the square look */
}

/* 5. AR SHOWCASE SECTION (Clean Card) */
.ar-container {
    text-align: center;
    margin: 40px auto;
    padding: 30px; 
    background-color: #FFFFFF; /* Pure white card */
    border-radius: 12px; 
    max-width: 900px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); /* Lighter, modern shadow */
}

/* 7. SECTION SPACING & CONTENT STYLES */
.intro-section,
.ghalib-work-section,
.map-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

main img {
    margin-top: 30px; 
    margin-bottom: 30px;
}

.ghalib-work-section ul {
    list-style: disc;
    margin-left: 20px;
    padding-left: 0;
    margin-top: 15px;
    margin-bottom: 15px;
}

.ghalib-work-section li {
    margin-bottom: 8px;
}

.reminder-signup-form {
    margin: 50px auto 100px auto; 
    padding: 30px; 
    border: 1px solid #ccc;
    border-radius: 8px;
    max-width: 700px;
    text-align: center;
}

/* 8. QUIZ SPECIFIC STYLES (For buttons inside the modal) */
#quizChoices button {
    /* Inherit basic button look */
    padding: 12px 15px;
    font-size: 1em;
    font-weight: 500;
    text-align: left;
    background-color: #f0f0f0 !important; 
    color: #333 !important;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#quizChoices button:hover:not(:disabled) {
    background-color: #e0e0e0 !important;
    transform: translateY(-1px);
}

#quizChoices button.selected {
    background-color: #007bff !important;
    color: white !important;
    border-color: #0056b3 !important;
    box-shadow: 0 2px 5px rgba(0, 123, 255, 0.3);
}

#quizChoices button:disabled {
    cursor: default; 
}


/* 9. RESPONSIVE */
@media (max-width: 768px) {
    .interactive-links {
        flex-wrap: wrap;
        justify-content: center;
        right: 0;
        left: 0;
        bottom: 10px;
        max-width: 100%;
        padding: 0 10px;
        gap: 10px;
    }
}
/* 5. AR SHOWCASE SECTION (Clean Card) */
.ar-container {
    text-align: center;
    margin: 40px auto;
    padding: 30px; 
    background-color: #FFFFFF; /* Pure white card */
    border-radius: 12px; 
    max-width: 900px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); /* Lighter, modern shadow */
}

/* AR Enhanced Styles */
.ar-view-button {
    background: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ar-view-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

.ar-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}

.control-btn {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.control-btn:hover {
    background: white;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.control-btn svg {
    width: 20px;
    height: 20px;
    color: #333;
}

.model-info {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.info-badge {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.85em;
}

.info-label {
    font-weight: 600;
}

.info-tip {
    font-size: 0.75em;
    opacity: 0.8;
}

.ar-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2em;
}

.feature-text {
    font-size: 0.9em;
    font-weight: 600;
    color: #333;
    text-align: center;
}

/* Snapshot notification */
.snapshot-notification {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    z-index: 9999;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translate(-50%, -20px);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}