/* Auracyn Pharmaceutical - Design System */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700&display=swap');

:root {
    --primary-blue: #004a99;
    --primary-blue-dark: #003366;
    --primary-blue-light: #e6f0fa;
    --accent-green: #7ECFD1;
    --accent-green-dark: #5BA3A8;
    --text-dark: #1a202c;
    --text-muted: #4a5568;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-blue-dark);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography Utilities */
.text-center { text-align: center; }
.text-blue { color: var(--primary-blue); }
.text-green { color: var(--accent-green); }
.text-muted { color: var(--text-muted); }

/* Section Styling */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-green);
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-heading);
    border: none;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

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

/* Header & Nav */
header {
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1rem 0;
    background-color: var(--white);
    position: sticky;
}

header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--primary-blue-dark);
    white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-green);
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-blue-dark);
    background: none;
    border: none;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-toggle.active {
    color: var(--accent-green);
}

.nav-links.mobile-menu-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 1.5rem 1rem;
    gap: 1rem;
    border-bottom: 2px solid var(--primary-blue-light);
}

.nav-links.mobile-menu-open a {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 74, 153, 0.7), rgba(126, 207, 209, 0.3)), url('../assets/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: var(--white);
    padding: 2rem 0;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Page Header */
.page-header {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.page-header h1 {
    color: white !important;
    font-size: 2.5rem;
}

/* Footer Responsive */
footer .footer-col ul li {
    margin-bottom: 0.8rem;
}

footer .footer-col h3 {
    margin-bottom: 1rem;
}

/* ===== TABLET & MEDIUM DEVICES (max-width: 992px) ===== */
@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 60px 0;
    }

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

    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-btns {
        gap: 1rem;
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* ===== MOBILE (max-width: 768px) ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    section {
        padding: 50px 0;
    }

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

    .section-title::after {
        width: 50px;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    h3 {
        font-size: 1.2rem;
    }

    .logo img {
        height: 50px;
    }

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        width: 100%;
    }

    .page-header {
        min-height: 200px;
        padding: 2rem 1rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 0.95rem;
    }

    /* Responsive Grid */
    [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    /* Contact Grid */
    .contact-grid {
        grid-template-columns: 1fr !important;
    }

    /* Footer Grid */
    footer .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Center first footer column (logo & social) on mobile */
    footer .footer-col:first-child {
        text-align: center;
    }

    footer .footer-col:first-child img {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    footer .footer-col:first-child .social-links {
        justify-content: center;
    }

    /* Form Inputs */
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Images */
    img {
        width: 100%;
    }
}

/* ===== SMALL MOBILE (max-width: 480px) ===== */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    section {
        padding: 40px 0;
    }

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

    .logo img {
        height: 45px;
    }

    .hero {
        min-height: 80vh;
        padding: 1rem 0;
    }

    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .hero-btns {
        gap: 0.5rem;
    }

    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
        width: 100%;
    }

    h1 {
        font-size: 1.5rem !important;
    }

    h2 {
        font-size: 1.3rem !important;
    }

    h3 {
        font-size: 1rem;
    }

    p {
        font-size: 0.9rem;
    }

    .page-header {
        min-height: 150px;
        padding: 1.5rem 0.75rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    /* Footer */
    footer {
        padding: 40px 0 15px !important;
    }

    footer .footer-col {
        text-align: center;
    }

    footer .footer-col:first-child img {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    footer .footer-col:first-child .social-links {
        justify-content: center;
    }

    footer .footer-col h3 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    footer ul {
        margin-top: 0.8rem;
    }

    footer ul li {
        margin-bottom: 0.5rem;
        font-size: 0.85rem;
    }

    /* Contact Info */
    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .info-icon {
        margin-bottom: 0.8rem;
    }

    /* Remove grid-based layouts */
    [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    /* WhatsApp Button Size */
    .wa-link {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.5rem !important;
        bottom: 20px !important;
        right: 20px !important;
    }

    /* Product Cards */
    .product-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .product-img {
        height: 250px !important;
    }

    .product-card {
        border-radius: 12px;
    }
}

/* ===== VERY SMALL DEVICES (max-width: 360px) ===== */
@media (max-width: 360px) {
    .container {
        padding: 0 0.5rem;
    }

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

    .hero h1 {
        font-size: 1.3rem;
    }

    .hero p {
        font-size: 0.85rem;
    }

    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    h2 {
        font-size: 1.2rem !important;
    }

    h3 {
        font-size: 0.95rem;
    }

    .wa-link {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.2rem !important;
        bottom: 15px !important;
        right: 15px !important;
    }
}
