/* Perwez Associate - Static Site Styles */

:root {
    --ink: #111111;
    --slate: #2b2f33;
    --muted: #6c757d;
    --accent: #f4b740;
    --accent-dark: #f0a51a;
    --surface: #f8f6f1;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

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

body {
    font-family: 'Source Sans 3', sans-serif;
    color: var(--ink);
    background: radial-gradient(circle at top left, #f4f0e8 0%, #ffffff 45%, #fafafa 100%);
    transition: opacity 0.3s ease;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-logo {
    height: 40px;
    width: auto;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.navbar-nav .nav-link {
    margin: 0 10px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    background-size: cover;
    background-position: center;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1rem;
}

.hero-section h1 {
    font-weight: 800;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    animation: slideInDown 0.8s ease-out;
}

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

/* About Highlights */
.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.highlight-card {
    background: white;
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.highlight-card h3 {
    color: var(--accent-dark);
    margin-bottom: 0.4rem;
}

/* Service Cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 16px;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15) !important;
}

.service-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.08);
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #1d5fbf;
    border-color: #1d5fbf;
}

.btn-primary:hover {
    background-color: #144489;
    border-color: #144489;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(29,95,191,.3);
}

.btn-warning {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #000;
}

.btn-warning:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
}

/* Footer */
footer {
    margin-top: auto;
}

.footer-logo {
    height: 30px;
    width: auto;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent);
    color: #000 !important;
    transform: translateY(-3px);
}

/* Sections */
section {
    padding: 5rem 0;
}

section h1,
section h2,
section h3 {
    color: var(--slate);
    margin-bottom: 2rem;
    font-weight: 700;
}

/* Quote Form */
.quote-form-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    backdrop-filter: blur(6px);
}

.quote-form-card .form-label {
    font-weight: 600;
    color: #fff;
}

.quote-form-card .form-control,
.quote-form-card .form-select {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.85rem 1rem;
}

.quote-form-card .form-control:focus,
.quote-form-card .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(244, 183, 64, 0.25);
}

.quote-note,
.form-status {
    color: rgba(255, 255, 255, 0.85);
}

/* Video Section */
video {
    box-shadow: var(--shadow);
}

.gallery-hero {
    background:
        linear-gradient(135deg, rgba(17, 17, 17, 0.82), rgba(29, 95, 191, 0.78)),
        radial-gradient(circle at top right, rgba(244, 183, 64, 0.25), transparent 35%);
    color: #fff;
}

.gallery-hero h1,
.gallery-hero p {
    color: #fff;
}

.gallery-masonry {
    column-count: 3;
    column-gap: 1.5rem;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    animation: fadeIn 0.6s ease-out;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    display: block;
}

.gallery-item video {
    box-shadow: none;
}

.gallery-caption {
    padding: 1rem 1.1rem;
}

.gallery-caption h3 {
    font-size: 1.15rem;
    margin-bottom: 0.45rem;
}

.gallery-caption p {
    margin-bottom: 0;
    color: var(--muted);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.2rem;
    }

    .navbar-logo {
        height: 30px;
    }

    section {
        padding: 3rem 0;
    }

    .gallery-masonry {
        column-count: 1;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .gallery-masonry {
        column-count: 2;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.card {
    animation: fadeIn 0.5s ease-out;
}

/* Utilities */
.text-warning {
    color: var(--accent) !important;
}

.bg-primary {
    background-color: #1d5fbf !important;
}

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