/* --- 1. FONTS IMPORT --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Gujarati:wght@300;400;600;700&family=Rasa:wght@400;500;600;700&family=Great+Vibes&family=Yatra+One&family=Playfair+Display&display=swap');

/* --- 2. ROOT VARIABLES (MAROON & GOLD) --- */
:root {
    --maroon: #7b1c1c;       
    --gold: #daa520;         
    --ivory: #fff8ec;        
    --text-dark: #4a1c0a;    
    --white: #ffffff;
    
    /* Compatibility Mapping */
    --primary: var(--maroon);
    --accent: var(--gold);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1); /* Glass Shadow */
    --border-radius: 15px;
}

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

/* --- 3. BODY & GLASS BACKGROUND --- */
body { 
    font-family: 'Noto Sans Gujarati', sans-serif;
    color: var(--text-dark); 
    line-height: 1.7; 
    overflow-x: hidden;

    /* --- ROYAL GLASS GRADIENT (આખી વેબસાઇટ પર લાગશે) --- */
    background: linear-gradient(135deg, #fff8ec 0%, #fdf5e6 50%, #ffe4b5 100%);
    background-attachment: fixed; /* સ્ક્રોલ કરતી વખતે બેકગ્રાઉન્ડ સ્થિર રહેશે */
}

/* --- 4. COPY PROTECTION --- */
body, * {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}
input, textarea, .selectable {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

/* --- 5. NAVIGATION BAR (Glass Style) --- */
nav { 
    position: sticky; top: 0; width: 100%; 
    padding: 10px 20px; 
    z-index: 1000; 
    border-bottom: 3px solid var(--gold);
    
    /* Nav Glass Effect */
    background: rgba(255, 248, 236, 0.9);
    backdrop-filter: blur(10px);
}

nav ul { display: flex; justify-content: center; list-style: none; padding: 0; flex-wrap: wrap; gap: 20px; }

nav ul li a { 
    color: var(--maroon);
    text-decoration: none; 
    font-weight: 600; 
    font-size: 1rem; 
    letter-spacing: 0.5px;
    transition: 0.3s;
    font-family: 'Playfair Display', serif;
}

nav ul li a:hover { color: var(--gold); text-shadow: 0 0 5px rgba(218, 165, 32, 0.5); }

/* --- 6. GLOBAL GLASS CARDS (બધા પેજ માટે) --- */
/* આ ક્લાસ બધા કાર્ડ્સ (Resume, Blog, About) ને કાચ જેવા બનાવશે */
.resume-container, .blog-card, .h-card, .shloka-box, .tech-stack, section marquee, .card {
    background: rgba(255, 255, 255, 0.45) !important; /* પારદર્શક સફેદ */
    backdrop-filter: blur(12px) !important; /* બ્લર ઈફેક્ટ */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: var(--shadow) !important;
    border-radius: var(--border-radius) !important;
    transition: transform 0.3s, background 0.3s;
}

/* Hover Effect for Cards */
.resume-container:hover, .blog-card:hover, .h-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.7) !important;
    border-color: var(--gold) !important;
    box-shadow: 0 15px 30px rgba(218, 165, 32, 0.15) !important;
}

/* --- 7. SPECIFIC PAGE STYLES --- */

/* Home Page Specifics */
.shloka-box {
    color: var(--maroon);
    padding: 15px;
    text-align: center;
    margin: 20px 0;
    font-family: 'Yatra One', cursive;
    border: 1px dashed var(--gold) !important;
}

.highlights-grid {
    display: flex; flex-wrap: wrap; gap: 20px; justify-content: center;
    margin-top: 30px; margin-bottom: 30px;
}

.h-card {
    flex: 1 1 280px; padding: 20px; text-align: center;
    border-bottom: 5px solid var(--gold) !important;
}

.h-icon { font-size: 2rem; margin-bottom: 10px; display: block; }

.tech-stack {
    text-align: center; margin-top: 40px; padding: 20px;
}
.tech-badge {
    display: inline-block; padding: 5px 15px; margin: 5px;
    border: 1px solid var(--maroon); border-radius: 20px;
    font-size: 0.9rem; background: #fff; color: #333; font-weight: bold;
}

/* --- 8. TYPOGRAPHY & ELEMENTS --- */
section { min-height: 80vh; padding: 40px 10%; }

h1, h2, h3 { font-family: 'Rasa', serif; text-align: center; color: var(--maroon); font-weight: 700; }
h1 { font-size: 2.5rem; margin-bottom: 15px; }
h2 { font-size: 2rem; margin-bottom: 30px; border-bottom: 2px dashed var(--gold); display: inline-block; padding-bottom: 10px; }

/* Profile Image Effect */
img[src*="bhargavsinh.webp"] {
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    transition: transform 0.5s;
}
img[src*="bhargavsinh.webp"]:hover {
    transform: scale(1.05) rotate(2deg);
}

/* Buttons */
.social-btn, .view-btn, button {
    display: inline-block; 
    background: var(--white); 
    color: var(--maroon); 
    border: 2px solid var(--gold); 
    padding: 12px 25px; 
    text-align: center; 
    font-weight: 700; 
    border-radius: 50px; /* Modern Pill Shape */
    cursor: pointer;
    font-family: 'Noto Sans Gujarati', sans-serif;
    transition: all 0.3s ease;
    text-decoration: none;
}
.social-btn:hover, .view-btn:hover, button:hover { 
    background: var(--maroon); 
    color: var(--gold); 
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(123, 28, 28, 0.3);
}

/* --- 9. RESUME & TABLES (Overrides for Glass) --- */
.resume-container {
    max-width: 800px; margin: 40px auto; padding: 40px;
    border-top: 5px solid var(--maroon) !important;
}
table { 
    width: 100%; border-collapse: collapse; margin-top: 20px; 
    background: rgba(255,255,255,0.5); /* Semi-transparent table */
}
th, td { padding: 12px; border: 1px solid rgba(123, 28, 28, 0.2); text-align: left; }
th { background: rgba(123, 28, 28, 0.1); color: var(--maroon); font-family: 'Rasa', serif; }

/* --- 10. FOOTER & PRELOADER --- */
footer { 
    background: var(--maroon); color: var(--gold); 
    text-align: center; padding: 20px; margin-top: 50px; 
    font-family: 'Rasa', serif; border-top: 4px double var(--gold);
}

#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, #7b1c1c, #2e0808);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    z-index: 10000; transition: opacity 1s ease-out;
}
.signature {
    font-family: 'Great Vibes', cursive; font-size: 4.5rem; color: var(--gold);
    text-shadow: 0 0 15px rgba(218, 165, 32, 0.5); animation: signAnim 2s ease-in-out;
}
.greeting {
    font-family: 'Rasa', serif; font-size: 1.5rem; color: var(--ivory);
    margin-top: 15px; opacity: 0; animation: fadeInText 1s ease-in-out 1s forwards;
}

@keyframes signAnim { 0% { opacity: 0; transform: scale(0.8); } 100% { opacity: 1; transform: scale(1); } }
@keyframes fadeInText { to { opacity: 1; transform: translateY(-5px); } }

/* Extras */
.goog-te-banner-frame.skiptranslate { display: none !important; } 
body { top: 0px !important; }
.iframe-shield { position: relative; }
.iframe-shield::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: transparent; z-index: 9999; }

/* --- CONTACT PAGE CARDS CSS --- */

.contact-grid {
    display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; margin-top: 30px;
}

/* ડાબી બાજુનું કાર્ડ */
.contact-info-card {
    flex: 1 1 300px; padding: 30px; text-align: left; height: fit-content;
    
    /* Glass Effect */
    background: rgba(255, 255, 255, 0.45); 
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8); 
    box-shadow: var(--shadow);
    border-radius: var(--border-radius); 
    border-top: 5px solid var(--maroon);
}

/* જમણી બાજુનું કાર્ડ (Appointment) */
.appointment-card {
    flex: 1 1 400px; padding: 25px; text-align: center;

    /* Glass Effect */
    background: rgba(255, 255, 255, 0.45); 
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8); 
    box-shadow: var(--shadow);
    border-radius: var(--border-radius); 
    border-top: 5px solid var(--gold);
}

/* Google Form Styling */
.google-form-wrapper { width: 100%; overflow: hidden; border-radius: 10px; }

/* MOBILE RESPONSIVE FIX */
@media (max-width: 600px) {
    .resume-name {
        font-size: 1.5rem; /* મોબાઈલમાં ફોન્ટ નાના થશે */
        word-break: break-word; /* શબ્દ તૂટશે નહીં પણ બીજી લાઈનમાં આવશે */
    }
    .resume-paper {
        padding: 20px; /* સાઈડમાં જગ્યા થોડી ઘટાડી જેથી લખાણને જગ્યા મળે */
        margin: 15px;
    }
    .profile-img {
        width: 120px; height: 120px; /* ફોટો પણ થોડો નાનો */
    }
}
/* આ કોડથી વેબસાઇટ પરનું લખાણ સિલેક્ટ કરી શકાશે નહીં */
body {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10+ */
    user-select: none; /* Standard syntax */
}

/* Notification Container */
.notification-container {
    position: relative;
    margin-left: 15px;
    display: flex;
    align-items: center;
}

/* Bell Button */
.notif-btn {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s;
}

.notif-btn:hover {
    transform: scale(1.1);
}

/* Red Dot Badge */
.badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    display: none; /* JS will show this if new items exist */
    border: 1px solid white;
}

/* Dropdown Styling */
.notif-dropdown {
    display: none; /* Hidden by default */
    position: absolute;
    top: 50px;
    right: -10px;
    width: 300px;
    background: rgba(255, 248, 236, 0.98); /* Matching your nav-bg */
    border: 2px solid var(--gold);
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 2000;
    overflow: hidden;
    animation: slideDown 0.3s ease;
}

.notif-header {
    background: var(--maroon);
    color: white;
    padding: 10px 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}

.notif-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 300px;
    overflow-y: auto;
}

.notif-dropdown li {
    padding: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    font-size: 0.9rem;
}

.notif-dropdown li:hover {
    background: rgba(218, 165, 32, 0.1); /* Light Gold hover */
}

.notif-date {
    font-size: 0.75rem;
    color: #666;
    display: block;
    margin-bottom: 5px;
}

.notif-link {
    text-decoration: none;
    color: var(--maroon);
    font-weight: 600;
}

.notif-link:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .notif-dropdown {
        position: fixed;
        top: 60px;
        left: 5%;
        width: 90%;
    }
}


