
/* =========================================
   PublicSuper.News - Main Stylesheet
   Built by WebOnline Technologies Karnataka
========================================= */

:root {
    --primary: #e85d04;
    --secondary: #ffb703;
    --dark: #101828;
    --light: #ffffff;
    --muted: #667085;
    --background: #fffaf3;
    --border: #f1e5d5;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--background);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Deepavali effects */

.diwali-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.diwali-greeting {
    position: fixed;
    top: 85px;
    right: 18px;
    z-index: 10;
    padding: 10px 18px;
    border-radius: 30px;
    color: #7c2d12;
    background: linear-gradient(135deg, #fff1a8, #ffbd42);
    box-shadow: 0 0 20px rgba(255, 166, 0, .45);
    font-weight: 800;
    animation: diyaGlow 2s infinite alternate;
}

@keyframes diyaGlow {
    from {
        box-shadow: 0 0 8px #ffb703;
    }
    to {
        box-shadow: 0 0 25px #ff6b00;
    }
}

/* Header */

.site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 20;
}

.header-container {
    max-width: 1200px;
    margin: auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 210px;
    max-height: 75px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color .3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.header-button {
    padding: 11px 20px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 7px;
    font-size: 14px;
    font-weight: bold;
}

/* Hero section */

.hero {
    min-height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 90px 20px;
    background:
        radial-gradient(circle at top right,
        rgba(255, 183, 3, .20), transparent 35%),
        linear-gradient(135deg, #fffaf3, #fff1df);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 850px;
    position: relative;
    z-index: 2;
}

.coming-soon {
    display: inline-block;
    padding: 8px 18px;
    margin-bottom: 22px;
    border-radius: 30px;
    color: #c2410c;
    background: #ffedd5;
    border: 1px solid #fed7aa;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 66px);
    line-height: 1.12;
    margin-bottom: 22px;
    font-weight: 900;
    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    max-width: 680px;
    margin: auto;
    color: var(--muted);
    font-size: 18px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.btn {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: .3s;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: #c2410c;
    transform: translateY(-3px);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: white;
}

.btn-outline:hover {
    background: #fff1e6;
}

/* Features */

.features {
    padding: 85px 20px;
    background: #ffffff;
}

.section-container {
    max-width: 1150px;
    margin: auto;
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 45px;
}

.section-heading h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.section-heading p {
    color: var(--muted);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.feature-card {
    padding: 30px 22px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fffdf9;
    text-align: center;
    transition: .3s;
}

.feature-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .07);
    border-color: #ffc078;
}

.feature-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 18px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff0df;
    font-size: 30px;
}

.feature-card h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--muted);
    font-size: 14px;
}

/* Community banner */

.community {
    padding: 75px 20px;
    background: linear-gradient(120deg, #b9380a, #ef7900);
    color: white;
    text-align: center;
}

.community h2 {
    font-size: 34px;
    margin-bottom: 15px;
}

.community p {
    max-width: 650px;
    margin: auto;
    color: #fff1df;
}

/* Notification section */

.notify {
    padding: 85px 20px;
    text-align: center;
    background: #fffaf3;
}

.notify h2 {
    font-size: 34px;
    margin-bottom: 12px;
}

.notify p {
    color: var(--muted);
    margin-bottom: 25px;
}

.notify-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 520px;
    margin: auto;
}

.notify-form input {
    flex: 1;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid #e5d5c5;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
}

.notify-form input:focus {
    border-color: var(--primary);
}

.notify-form button {
    padding: 14px 22px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.notify-form button:hover {
    background: #c2410c;
}

/* Footer */

.site-footer {
    background: #101828;
    color: #ffffff;
    padding: 35px 20px;
    text-align: center;
}

.site-footer p {
    font-size: 14px;
    color: #d0d5dd;
    margin: 5px 0;
}

.site-footer a {
    color: #ffb703;
    text-decoration: none;
    font-weight: bold;
}

/* Responsive design */

@media (max-width: 900px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links {
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .header-container {
        flex-direction: column;
        padding: 15px;
    }

    .logo img {
        width: 180px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .header-button {
        display: none;
    }

    .hero {
        min-height: 500px;
        padding: 75px 18px;
    }

    .hero h1 {
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 16px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .section-heading h2,
    .community h2,
    .notify h2 {
        font-size: 28px;
    }

    .notify-form {
        flex-direction: column;
    }

    .notify-form button {
        width: 100%;
    }

    .diwali-greeting {
        top: 10px;
        right: 10px;
        font-size: 12px;
        padding: 7px 12px;
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }

    .diwali-canvas {
        display: none;
    }
}
