/* 
   Veislumeistarinn - Landing Page Styles
   Color Palette: Rose Gold and Pink
*/

:root {
    /* Primary Colors */
    --rose-gold: #bd8c7d;
    --rose-gold-light: #d1a193;
    --rose-gold-dark: #a57868;
    --pink: #f8c8dc;
    --pink-light: #fde2eb;
    --pink-dark: #e4a3c0;
    
    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f9f9f9;
    --light-gray: #f0f0f0;
    --medium-gray: #d0d0d0;
    --dark-gray: #555555;
    --black: #333333;
    
    /* Font Families */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    text-decoration: none;
    color: var(--rose-gold);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--rose-gold-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--rose-gold);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--rose-gold-dark);
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--rose-gold);
    border: 2px solid var(--rose-gold);
}

.btn-secondary:hover {
    background-color: var(--rose-gold-light);
    color: var(--white);
    border-color: var(--rose-gold-light);
}

.btn-light {
    background-color: var(--white);
    color: var(--rose-gold);
}

.btn-light:hover {
    background-color: var(--off-white);
    color: var(--rose-gold-dark);
}

.btn-contact {
    background-color: var(--rose-gold);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--border-radius-md);
}

.btn-contact:hover {
    background-color: var(--rose-gold-dark);
    color: var(--white);
}

/* Section Styles */
section {
    padding: var(--spacing-lg) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: var(--spacing-sm);
}

.section-header h2 span {
    color: var(--rose-gold);
}

.section-header p {
    color: var(--dark-gray);
    font-size: 1.1rem;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--rose-gold);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: var(--spacing-md);
}

.nav-links a {
    color: var(--black);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--rose-gold);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--black);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(248, 200, 220, 0.8));
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    margin-bottom: var(--spacing-md);
}

.hero-content h1 span {
    color: var(--rose-gold);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    color: var(--dark-gray);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
}

/* About Section */
.about {
    background-color: var(--off-white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    position: relative;
}

.image-frame {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-frame:hover img {
    transform: scale(1.05);
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--rose-gold);
    border-radius: var(--border-radius-md);
    z-index: -1;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature i {
    color: var(--rose-gold);
    font-size: 1.2rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--pink-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--rose-gold);
}

.service-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--black);
}

.service-card p {
    color: var(--dark-gray);
}

/* CTA Section */
.cta {
    background: linear-gradient(to right, var(--rose-gold), var(--pink-dark));
    color: var(--white);
    text-align: center;
    padding: var(--spacing-lg) 0;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-sm);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    height: 250px;
}

.gallery-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.gallery-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-item:nth-child(1) .gallery-image::after,
.gallery-item:nth-child(2) .gallery-image::after,
.gallery-item:nth-child(3) .gallery-image::after,
.gallery-item:nth-child(4) .gallery-image::after,
.gallery-item:nth-child(5) .gallery-image::after,
.gallery-item:nth-child(6) .gallery-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    pointer-events: none;
}

.gallery-item:nth-child(1) .gallery-image::after {
    background: linear-gradient(45deg, var(--rose-gold), var(--pink-light));
}

.gallery-item:nth-child(2) .gallery-image::after {
    background: linear-gradient(135deg, var(--rose-gold-light), var(--pink));
}

.gallery-item:nth-child(3) .gallery-image::after {
    background: linear-gradient(225deg, var(--pink-dark), var(--rose-gold-dark));
}

.gallery-item:nth-child(4) .gallery-image::after {
    background: linear-gradient(315deg, var(--pink), var(--rose-gold-light));
}

.gallery-item:nth-child(5) .gallery-image::after {
    background: linear-gradient(90deg, var(--rose-gold-dark), var(--pink-dark));
}

.gallery-item:nth-child(6) .gallery-image::after {
    background: linear-gradient(180deg, var(--pink-light), var(--rose-gold));
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--off-white);
}

.testimonials-slider {
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto;
    padding-bottom: var(--spacing-md);
    scrollbar-width: thin;
    scrollbar-color: var(--rose-gold) var(--light-gray);
}

.testimonials-slider::-webkit-scrollbar {
    height: 8px;
}

.testimonials-slider::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 10px;
}

.testimonials-slider::-webkit-scrollbar-thumb {
    background-color: var(--rose-gold);
    border-radius: 10px;
}

.testimonial {
    flex: 0 0 350px;
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-md);
    position: relative;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: var(--spacing-md);
    color: var(--dark-gray);
}

.testimonial-author h4 {
    color: var(--black);
    margin-bottom: 5px;
}

.testimonial-author p {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--rose-gold);
}

.contact-item h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--dark-gray);
    margin: 0;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--rose-gold-light);
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--rose-gold);
    transform: translateY(-3px);
}

.contact-form {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: var(--spacing-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--rose-gold);
    box-shadow: 0 0 0 2px rgba(189, 140, 125, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--black);
    color: var(--white);
    padding: var(--spacing-lg) 0 var(--spacing-sm);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-logo h3 {
    color: var(--rose-gold);
    margin-bottom: var(--spacing-xs);
}

.footer-logo p {
    color: var(--medium-gray);
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.footer-column ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-column ul li a {
    color: var(--medium-gray);
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--rose-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.service-card, .gallery-item, .testimonial {
    opacity: 0;
    transition: all 0.5s ease;
}

.service-card.animate, .gallery-item.animate, .testimonial.animate {
    animation: fadeIn 0.6s ease forwards;
}

.service-card:nth-child(1), .gallery-item:nth-child(1), .testimonial:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2), .gallery-item:nth-child(2), .testimonial:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3), .gallery-item:nth-child(3), .testimonial:nth-child(3) {
    animation-delay: 0.3s;
}

.service-card:nth-child(4), .gallery-item:nth-child(4) {
    animation-delay: 0.4s;
}

.service-card:nth-child(5), .gallery-item:nth-child(5) {
    animation-delay: 0.5s;
}

.service-card:nth-child(6), .gallery-item:nth-child(6) {
    animation-delay: 0.6s;
}

.hero-content {
    animation: scaleIn 1s ease forwards;
}

.about-text {
    animation: slideInLeft 1s ease forwards;
}

.about-image {
    animation: fadeIn 1s ease 0.3s forwards;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-top: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--spacing-md);
        transition: all 0.5s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 576px) {
    section {
        padding: var(--spacing-md) 0;
    }
    
    .section-header {
        margin-bottom: var(--spacing-md);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial {
        flex: 0 0 280px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--spacing-md);
    }
}
