/* ================================
   CSS Variables & Base Styles
   ================================ */
:root {
    --color-primary: #1E5542;
    --color-primary-dark: #163D32;
    --color-primary-light: #2D7359;
    --color-gold: #C9A04A;
    --color-gold-dark: #A88639;
    --color-gold-light: #DDB86A;
    --color-bg-light: #F8F6F3;
    --color-bg-white: #FFFFFF;
    --color-text-dark: #2C2C2C;
    --color-text-medium: #5A5A5A;
    --color-text-light: #888888;
    --color-border: #E5E2DD;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-bg-white);
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================
   Typography
   ================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-medium);
    text-align: center;
    margin-bottom: 3rem;
}

/* ================================
   Buttons
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-text-dark);
    border-color: var(--color-gold);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--color-bg-white);
    border-color: var(--color-bg-white);
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ================================
   Header
   ================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--color-bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--color-text-dark);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border: 2px solid var(--color-primary);
    border-radius: 4px;
    transition: var(--transition);
}

.header-phone:hover {
    background-color: var(--color-primary);
    color: var(--color-bg-white);
}

.phone-icon {
    width: 20px;
    height: 20px;
}

.mobile-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    width: 44px;
    height: 44px;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2.5px;
    background-color: var(--color-text-dark);
    position: relative;
    transition: var(--transition);
    border-radius: 1px;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2.5px;
    background-color: var(--color-text-dark);
    transition: var(--transition);
    border-radius: 1px;
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    top: 6px;
}

.mobile-nav-toggle.active .hamburger {
    background-color: transparent;
}

.mobile-nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ================================
   Hero Section
   ================================ */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: 160px 0 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

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

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

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ================================
   Services Section
   ================================ */
.services {
    padding: 100px 0;
    background-color: var(--color-bg-light);
}

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

.service-card {
    background-color: var(--color-bg-white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--color-primary);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

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

.service-description {
    color: var(--color-text-medium);
    line-height: 1.7;
}

/* ================================
   About Section
   ================================ */
.about {
    padding: 100px 0;
    background-color: var(--color-bg-white);
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about .section-title {
    text-align: left;
}

.about-text {
    margin-bottom: 2.5rem;
}

.about-text p {
    color: var(--color-text-medium);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    gap: 2rem;
}

.feature {
    text-align: center;
}

.feature-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
}

.feature-label {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-medium);
    margin-top: 0.5rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.celtic-decoration {
    width: 300px;
    height: 300px;
    color: var(--color-primary);
    opacity: 0.15;
}

.celtic-decoration svg {
    width: 100%;
    height: 100%;
}

/* ================================
   Gallery Section
   ================================ */
.gallery {
    padding: 100px 0;
    background-color: var(--color-bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-border) 0%, #d5d2cd 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    gap: 0.5rem;
}

.gallery-placeholder span {
    font-weight: 600;
}

.gallery-placeholder small {
    font-size: 0.75rem;
}

/* ================================
   Contact Section
   ================================ */
.contact {
    padding: 100px 0;
    background-color: var(--color-primary);
}

.contact .section-title {
    color: var(--color-bg-white);
}

.contact .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

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

.contact-phone {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-gold);
    transition: var(--transition);
}

.contact-phone:hover {
    color: var(--color-gold-light);
}

.phone-icon-large {
    width: 48px;
    height: 48px;
}

.contact-cta {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-detail h3 {
    font-size: 1.25rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.contact-detail p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

/* ================================
   Footer
   ================================ */
.footer {
    background-color: var(--color-primary-dark);
    padding: 60px 0 30px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-bg-white);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

.footer-contact {
    text-align: right;
}

.footer-phone {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-gold);
    transition: var(--transition);
}

.footer-phone:hover {
    color: var(--color-gold-light);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.25rem;
}

.footer-bottom {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ================================
   Responsive Design
   ================================ */
@media (max-width: 992px) {
    .about-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about .section-title {
        text-align: center;
    }

    .about-image {
        order: -1;
    }

    .celtic-decoration {
        width: 200px;
        height: 200px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .contact-info {
        align-items: center;
    }

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

@media (max-width: 768px) {
    .header-inner {
        height: 70px;
    }

    .logo-img {
        height: 40px;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--color-bg-white);
        padding: 2rem;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .header-phone {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 0 80px;
        min-height: auto;
    }

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

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
        justify-content: center;
    }

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

    .services,
    .about,
    .gallery,
    .contact {
        padding: 60px 0;
    }

    .about-features {
        justify-content: center;
    }

    .feature-number {
        font-size: 2rem;
    }

    .contact-phone {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .phone-icon-large {
        width: 36px;
        height: 36px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

    .about-features {
        flex-direction: column;
        gap: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 2rem;
    }
}
