/* Macrakido Main Stylesheet */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f7f3eb;
    color: #534c40;
    line-height: 1.6;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    color: #534c40;
    font-weight: 500;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #534c40;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #8a7e6b;
}

/* Header styles */
.site-header {
    padding: 1.5rem 0;
    background-color: #f7f3eb;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 100;
}

.site-header.transparent {
    background-color: transparent;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    box-shadow: none;
}

.site-header.scrolled {
    background-color: rgba(247, 243, 235, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 600;
    color: #534c40;
    text-decoration: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: #534c40;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s;
}

.main-nav a:hover, .main-nav a.active {
    color: #8a7e6b;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #8a7e6b;
    left: 0;
    bottom: 0;
    transition: width 0.3s;
}

.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    color: #534c40;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Page banner */
.page-banner {
    background-color: #efe9dd;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 4rem;
}

.page-banner h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-banner p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: #706656;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
    cursor: pointer;
    border: none;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background-color: #534c40;
    color: white;
}

.btn-primary:hover {
    background-color: #3a342d;
    transform: translateY(-3px);
    color: white;
}

.btn-secondary {
    background-color: #f7f3eb;
    color: #534c40;
    border: 1px solid #534c40;
}

.btn-secondary:hover {
    background-color: #efe9dd;
    transform: translateY(-3px);
}

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

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #534c40;
}

input, textarea, select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e0d9cc;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    color: #534c40;
    background-color: #f9f7f3;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #8a7e6b;
    box-shadow: 0 0 0 3px rgba(138, 126, 107, 0.1);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

/* Cards */
.card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(138, 126, 107, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(138, 126, 107, 0.15);
}

.card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-text {
    color: #706656;
    margin-bottom: 1.5rem;
}

/* Grid layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-auto {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Section styling */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #8a7e6b;
}

.section-alt {
    background-color: #efe9dd;
}

/* Product cards */
.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(138, 126, 107, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(138, 126, 107, 0.2);
}

.product-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.product-image .category-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: #8a7e6b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-details {
    padding: 1.5rem;
}

.product-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #534c40;
}

.product-description {
    color: #706656;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-features {
    margin-bottom: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.feature i {
    color: #8a7e6b;
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

.amazon-button {
    display: inline-block;
    background-color: #534c40;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-weight: 500;
    text-align: center;
    width: 100%;
}

.amazon-button:hover {
    background-color: #3a3530;
    color: white;
}

.amazon-button i {
    margin-right: 0.5rem;
}

/* Decorative elements */
.decorative-divider {
    height: 50px;
    margin: 2rem 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 50"><path d="M0,25 C100,0 300,50 600,25 C900,0 1100,50 1200,25" stroke="%238a7e6b" fill="none" stroke-width="1" /></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Footer styles */
.site-footer {
    background-color: #534c40;
    color: #f7f3eb;
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: #e0d9cc;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(247, 243, 235, 0.2);
    color: #f7f3eb;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}

.social-link:hover {
    background-color: rgba(247, 243, 235, 0.3);
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 1rem;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 991px) {
    .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .page-banner h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    .main-nav {
        width: 100%;
        display: none;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 2rem;
        top: 1.5rem;
    }
    
    .grid-3, .grid-4, .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}
