/* Global Variables extracted from PDF-11 */
:root {
    --primary-color: #7b7b7b;
    /* Grey from PDF-11 */
    --primary-dark: #5c5c5c;
    --bg-color: #e6e0d9;
    /* Background from PDF-11 */
    --text-color: #2e2b28;
    --text-light: #4f4b46;
    --white: #ffffff;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/watermark.png');
    background-repeat: repeat;
    background-size: 500px;
    background-position: center;
    opacity: 0.15;
    /* adjust visibility */
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
}

h1 span {
    font-weight: 400;
    font-style: italic;
    color: var(--text-color);
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0 60px;
}

.alt-bg {
    background-color: var(--white);
}

.divider {
    width: 80px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 20px auto;
}

.divider.left {
    margin-left: 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--white) !important;
    border: 1px solid var(--primary-color);
    border-radius: 0;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color) !important;
}

.btn-primary.lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-outline {
    display: inline-block;
    padding: 12px 24px;
    background-color: transparent;
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white) !important;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(230, 224, 217, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(123, 123, 123, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 100px;
}

.hero-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
    margin: 0 auto 25px auto;
    display: block;
    filter: contrast(1.5) brightness(0.3);
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav a {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    font-weight: 500;
}

.nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 90px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

.hero-text-box {
    width: 50%;
    padding-right: 60px;
    background: transparent;
    text-align: center;
}

.hero-text-box p {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.card {
    background-color: var(--white);
    border: 1px solid rgba(123, 123, 123, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(123, 123, 123, 0.1);
}

.service-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid rgba(123, 123, 123, 0.1);
}

.placeholder-img {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(123, 123, 123, 0.1);
}

.service-info {
    padding: 40px;
}

.service-info ul {
    list-style: none;
    margin-top: 20px;
}

.service-info ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: var(--text-light);
}

.service-info ul li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* About */
.about-grid {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-text,
.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    box-shadow: 20px 20px 0 var(--primary-color);
    border: 1px solid var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: var(--bg-color);
    padding: 80px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 130px;
    filter: brightness(0) invert(1);
    margin-bottom: 30px;
}

.footer-col h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p,
.footer-col a {
    color: rgba(230, 224, 217, 0.7);
}

.footer-col a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(230, 224, 217, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    color: rgba(230, 224, 217, 0.5);
}

/* Responsive */
@media (max-width: 992px) {

    .hero-text-box,
    .hero-image {
        width: 100%;
    }

    .hero-image {
        position: relative;
        height: 50vh;
    }

    .hero {
        flex-direction: column-reverse;
        min-height: auto;
    }

    .hero-text-box {
        padding-right: 0;
    }

    .about-grid {
        flex-direction: column;
    }

    h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        justify-content: center;
        gap: 15px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .nav a.btn-primary {
        padding: 8px 16px;
    }

    .hero-logo {
        margin-top: 50px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}