/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Montserrat:wght@200;300;400;500;600;700&display=swap');

/* Global Styles */
:root {
    --primary-color: #333;
    --secondary-color: #111;
    --accent-color: #D4A76A;
    --text-color: #333;
    --faded-text-color: #999;
    --light-bg: #F9F5F0;
    --white: #FFFFFF;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    transition: 0.1s;
}

.btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 3rem;
    position: relative;
    color: var(--secondary-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: var(--accent-color);
    margin: 1rem auto;
}

/* Customization CTA Section */
.customization-cta {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "image content";
    gap: 3rem;
    align-items: center;
}

.cta-video {
    grid-area: image;
}

.cta-content {
    grid-area: content;
}

.cta-video {
    border-radius: 8px;
    overflow: hidden;
}

.cta-video video {
    width: 100%;
    display: block;
    border-radius: 8px;
}

.cta-content {
    padding: 2rem;
}

/* Reverse grid layout for alternate CTA sections */
.cta-grid.reverse {
    grid-template-areas: "content image";
}

.cta-grid.reverse .cta-content {
    grid-area: content;
}

.cta-grid.reverse .cta-image {
    grid-area: image;
}

/* Custom Order CTA Section */
.custom-order-cta {
    padding: 5rem 0;
    background-color: var(--secondary-color);
    color: var(--white);
}

.custom-order-cta .cta-content h2,
.custom-order-cta .cta-content p {
    color: var(--white);
}

.custom-order-cta .cta-button.primary {
    background-color: var(--accent-color);
    color: var(--secondary-color);
}

.custom-order-cta .cta-button.primary:hover {
    background-color: var(--primary-color);
}

.cta-image {
    border-radius: 8px;
    overflow: hidden;
}

.cta-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.cta-content h2 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    border-radius: 4px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-align: center;
}

.cta-button.primary {
    background-color: var(--primary-color);
    color: white;
}

.cta-button.primary:hover {
    background-color: var(--secondary-color);
    color: white;
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--primary-color);
}

.cta-button.secondary:hover {
    background-color: rgba(139, 90, 43, 0.1);
}

@media (max-width: 768px) {
    .cta-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .cta-content {
        padding: 1rem 0;
    }
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1.5rem 0;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

header .logo {
    position: absolute;
    left: 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 2px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 36px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links li a {
    color: var(--primary-color);
    font-weight: 400;
    transition: var(--transition);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.nav-links li a.active {
    color: var(--primary-color);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    margin-top: 70px;
    height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 200;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hewn Definition Section */
.hewn-definition {
    padding: 6rem 0;
    background-color: white;
    text-align: center;
}

.hewn-content {
    max-width: 800px;
    margin: 0 auto;
}

.hewn-title {
    font-size: 5rem;
    font-weight: 200;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    text-transform: none;
    letter-spacing: 3px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
}

.hewn-definition-text {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hewn-description {
    font-size: 1.1rem;
    color: var(--faded-text-color);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}


/* About Section */
.about {
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;/* 1fr;*/
    gap: 4rem;
    padding: 0 10%;
    align-items: center;
}

.about-img {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Contact Section */
.contact {
    background-color: var(--light-bg);
    padding: 6rem 0;
}

.contact-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 0 auto 1rem auto;
    width: min(100%, 900px);
}

.contact-item {
    text-align: center;
    min-width: 204px;
    flex-grow: 1;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: min(900px, 100%);
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(139, 90, 43, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.get-in-touch {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 3rem 0 1.5rem;
    text-align: center;
}

.footer-content {
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 0.5rem;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}


/* Home Page Product Grid */
.home-products-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.home-product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: grid;
    align-items: stretch;
    position: relative;
    min-height: 0;
    min-width: 0;
    height: 450px;
}

.artifact-dark-card .home-product-info {
    background: var(--secondary-color);
    color: white;
}

.artifact-dark-card .home-product-info h3 {
    font-weight: 100;
    letter-spacing: 0.25rem;
    color: white;
}

.artifact-dark-card .home-product-info h3 b {
    font-weight: 550;
}

.artifact-dark-card .home-product-info .btn {
    background-color: transparent;
    border: 1px solid var(--accent-color);
}

/* Product image container */
.home-product-img-container {
    position: relative;
    overflow: hidden;
    min-height: 0;
    min-width: 0;
    height: 100%;
}

.home-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: relative;
}

/* Alternating layout */
.home-product-card:nth-child(odd) {
    grid-template-columns: 60% 40%;
    grid-template-areas: "image info";
    overflow: hidden;
}

.home-product-card:nth-child(even) {
    grid-template-columns: 40% 60%;
    grid-template-areas: "info image";
    overflow: hidden;
}

.home-product-img-container {
    grid-area: image;
}

.home-product-info {
    grid-area: info;
    padding: 2.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
    min-width: 0;
    box-sizing: border-box;
    overflow: auto;
    position: relative;
    z-index: 1;
    background: white;
}

.home-product-info > *:not(.product-actions) {
    margin-bottom: 1.5rem;
}

.product-actions {
    margin-top: auto;
    padding-top: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    width: 100%;
}

.product-actions .btn {
    font-family: 'Montserrat', sans-serif;
    flex: 1;
    padding: 0.8rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.1rem;
    text-decoration: none;
    text-align: center;
    min-width: 100px;
    text-transform: uppercase;
}

.product-actions .btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.home-product-card h3 {
    font-size: 1.5rem;
    margin: 1rem 0 0.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}

/* Utility Classes */
.full-width {
    width: 100%;
}

.about-white {
    background-color: #fff;
}

.footer-logo {
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-logo .logo-img {
    height: 60px;
    width: auto;
}

.footer-description {
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.footer-links {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--accent-color);
    text-decoration: none;
    margin: 0 1rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .footer-links a {
        display: block;
        margin: 0.5rem 0;
    }
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active .line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.price-value {
    color: #c8a97e;
    line-height: 1;
}

/* Artifact Page Styles */
.artifact-page-header {
    padding-top: 10rem;
    text-align: center;
    color: var(--white);
}

.artifact-page-header h1 {
    font-size: 3rem;
    font-weight: 100;
    margin-bottom: 1rem;
    color: var(--white);
    letter-spacing: 0.25rem;
}
.artifact-page-header h1 b {
    font-weight: 550;
}

.artifact-page-header p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
}

.artifacts-section {
    padding: 4rem 0;
}

.artifacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.artifact-card {
    background: var(--primary-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.artifact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.artifact-img-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.artifact-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

/*.artifact-card:hover .artifact-img {
    transform: scale(1.05);
}*/

.artifact-info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.artifact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.artifact-description {
    color: #ccc;
    margin-bottom: 1.5rem;
    flex: 1;
    line-height: 1.6;
}

.artifact-price {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
}

.artifact-actions {
    margin-top: auto;
}

.artifact-actions .btn {
    width: 100%;
    text-align: center;
    border: 1px solid var(--accent-color);
}

.artifact-actions .btn:hover {
    background-color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        padding: 0;
    }
    
    .about-img {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0.5rem 0;
        text-align: center;
    }
    
    .nav-links li a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hewn-title {
        font-size: 3.5rem;
    }
    
    .hewn-definition-text {
        font-size: 1.1rem;
    }
    
    .hewn-description {
        font-size: 1rem;
    }
    
    /* Mobile product card layout - stack image above content */
    .home-product-card {
        height: auto;
        grid-template-columns: 1fr !important;
        grid-template-areas: "image" "info" !important;
    }
    
    .home-product-img-container {
        height: 250px;
    }
    
    .home-product-info {
        padding: 2rem 1.5rem;
    }
    
    /* Artifact page mobile responsive */
    .artifacts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .artifact-img-container {
        height: 250px;
    }
    
    .artifact-info {
        padding: 1.5rem;
    }
    
    .artifact-price {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
    }
    
    .hewn-title {
        font-size: 2.8rem;
    }
    
    .hewn-definition-text {
        font-size: 1rem;
    }
    
    .hewn-description {
        font-size: 0.95rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}
