/* PR Evaluation - Main Stylesheet */

:root {
    --primary-color: #384f5f;
    --secondary-color: #449fd8;
    --accent-color: #54778f;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

body {
    font-family: 'EB Garamond', Georgia, serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--white);
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo {
    font-size: 1.8rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
}

.tagline {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.main-nav > ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.main-nav > ul > li > a:not(.dropdown > a):hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.dropdown > a::after {
    content: '▾';
    display: inline-block;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    font-size: 0.9em;
}

.dropdown:hover > a::after {
    transform: rotate(180deg);
}

/* Dropdown Menus */
.dropdown {
    position: relative;
}

.dropdown > a {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.3s ease;
}

.dropdown > a:hover {
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: var(--primary-color);
    min-width: 250px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    padding: 0;
    list-style: none;
    z-index: 1000;
    border-radius: 4px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    animation: slideDown 0.3s ease forwards;
}

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

.dropdown-menu li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background 0.2s ease;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li:first-child a {
    border-radius: 4px 4px 0 0;
}

.dropdown-menu li:last-child a {
    border-radius: 0 0 4px 4px;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background: rgba(255,255,255,0.15);
    opacity: 1;
    padding-left: 2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(56,79,95,0.9), rgba(68,159,216,0.9)), url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cGF0dGVybiBpZD0iZ3JpZCIgd2lkdGg9IjIwIiBoZWlnaHQ9IjIwIiBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIj48cGF0aCBkPSJNIDIwIDAgTCAwIDAgMCAyMCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZ2JhKDI1NSwyNTUsMjU1LDAuMSkiIHN0cm9rZS13aWR0aD0iMSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNncmlkKSIgLz48L3N2Zz4=');
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Services Grid */
.services {
    padding: 4rem 0;
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

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

/* Features Section */
.features {
    padding: 4rem 0;
}

.features h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 3rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
}

.feature-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.contact h2 {
    margin-bottom: 1rem;
}

.contact a {
    color: var(--white);
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: #2a3a45;
    color: rgba(255,255,255,0.8);
    padding: 2rem 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

/* Additional dropdown improvements */
.dropdown::before {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 0.5rem;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    transform: rotate(45deg);
    z-index: -1;
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        margin-top: 0.5rem;
        box-shadow: none;
        background: rgba(255,255,255,0.1);
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
        opacity: 1;
        transform: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}