/* 
    Your Dissertation North Carolina - Premium Academic Editorial Style
    Palette: Deep Slate (#2c3e50), Academic Gold (#d4af37), Off-White (#fdfdfd)
*/

:root {
    --primary: #2c3e50;
    --accent: #d4af37;
    --bg-light: #fdfdfd;
    --bg-alt: #f8f9fa;
    --text: #34495e;
    --text-dark: #2c3e50;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Crimson Pro', serif;
    color: var(--text-dark);
    line-height: 1.2;
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 30px;
}

.section-padding {
    padding: 120px 0;
}

.bg-alt {
    background-color: var(--bg-alt);
}

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

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--accent);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

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

.btn-sm {
    padding: 10px 20px;
    font-size: 0.75rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow);
}

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

.brand {
    font-family: 'Crimson Pro', serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--white);
}

.navbar.scrolled .brand {
    color: var(--primary);
}

.brand-accent {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.navbar.scrolled .nav-menu a {
    color: var(--primary);
}

.nav-menu a:hover {
    color: var(--accent);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 2px;
    background-color: var(--white);
    margin: 6px;
    transition: var(--transition);
}

.navbar.scrolled .burger div {
    background-color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

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

.hero-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    color: var(--white);
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-list {
    margin-top: 2.5rem;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.2rem;
    font-weight: 600;
    color: var(--primary);
}

.list-item i {
    color: var(--accent);
}

.visual-wrapper {
    position: relative;
}

.visual-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent);
    z-index: -1;
}

.visual-wrapper img {
    width: 100%;
    display: block;
    box-shadow: var(--shadow);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--white);
    padding: 50px;
    border-radius: 4px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 2rem;
}

.service-card h3 {
    margin-bottom: 1.2rem;
    font-size: 1.6rem;
}

/* How It Works */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.step {
    position: relative;
    padding-top: 50px;
}

.step-num {
    font-family: 'Crimson Pro', serif;
    font-size: 4rem;
    color: var(--bg-alt);
    font-weight: 700;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    line-height: 1;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.review-item {
    background: var(--white);
    padding: 40px;
    border-radius: 4px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent);
}

.review-content p {
    font-style: italic;
    color: var(--text-dark);
}

.review-meta {
    margin-top: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--accent);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.info-blocks {
    margin: 2.5rem 0;
}

.info-block {
    margin-bottom: 1.5rem;
}

.info-block strong {
    display: block;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 5px;
}

.info-block a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.map-container {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 60px;
    box-shadow: var(--shadow);
    border-radius: 4px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 0.85rem;
    text-transform: uppercase;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.success-message {
    text-align: center;
    padding: 50px 0;
}

.success-message i {
    font-size: 4rem;
    color: #27ae60;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 100px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 100px;
    margin-bottom: 80px;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    opacity: 0.7;
    max-width: 450px;
}

.footer-nav {
    display: flex;
    gap: 60px;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav ul li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info a {
    color: var(--white);
    text-decoration: none;
}

.copyright {
    opacity: 0.5;
    font-size: 0.85rem;
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease-out;
}

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

/* Responsive */
@media (max-width: 992px) {
    .navbar {
        padding: 20px 0;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--primary);
        padding-top: 100px;
        transition: var(--transition);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
    }
    
    .burger {
        display: block;
        z-index: 1001;
    }
    
    .about-grid, .contact-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero {
        text-align: center;
    }
    
    .hero-btns {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-nav {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
